Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3634255imm; Wed, 5 Sep 2018 03:32:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbEECKiC3AEHJrHhZALvciYAOQ9eXhTiA7COjBWet052DVn7VsfnEuiqT/Kb86mzNPr/160 X-Received: by 2002:a63:d401:: with SMTP id a1-v6mr33600838pgh.414.1536143534829; Wed, 05 Sep 2018 03:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536143534; cv=none; d=google.com; s=arc-20160816; b=UvVrhYVPGyIYwxr5C5VuxxVjfmOOlZiTeaw0FcegFlG5PsRn5W7b8xXieYiP3T7spN Aa7Kl4ZEcE6Lkg5TgsaVfPKH9swj/tK5cZh/k+hrRKuKu0BYDkueLy2loUVYHsPrtsNV iHiqECqiXgg5vaNcPt+bqlChzmcuvog/gqMgxeiL3qSNGYUaHfy/GQtdmNfDvbdSgCLT jy6+PoZo85p/DRty+O/B6mAF/YtKZ+gkjexMoVw3BzseZjf/Zib9P0HSW6X32mtlyx0T Yga4tNnHylefqjUplcwxWjqdpE0HZk7kXr8y/3V/9MGDX9tkplbQ7R6kII3Vnebt3Wf3 SyXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GWlq5Jse4GxffhIfGn8dztPHq/sAV5H5B3ai9hNsWrQ=; b=v1kpYSTftycxa1LTNYVXBJFssX6GWs4pNrRJ46TuOtbrcvmJ+g3HQb1SLwQHKvfPJm TRbtZB1vHoQbexa0d5FdMYsD29PdTeIQrCsq/T/uP8NF03WJ7WYLdBjtFHU7VwSCpYpe VTpU8AdM6bnNyX/MTG9c8DlgxZGxcWIsOECScWD6+XEIgp+wBsZDKxIJXLVzDHr6+ygV T77rJVB9dS+1tcJuu0tahrmkrMM+S23O0ezZGOKsSjd4Xi77gGK8LaqcGh7n108i77Nk o9giF1fJKgaP9wcjvUf+j3uJAAFE0Uq+DeqamytkPKPPw7DYhXM4GTyXe6NBAO3mjdZW hD9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4-v6si1549964pgp.306.2018.09.05.03.31.59; Wed, 05 Sep 2018 03:32:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727824AbeIEPAD (ORCPT + 99 others); Wed, 5 Sep 2018 11:00:03 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57128 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbeIEPAD (ORCPT ); Wed, 5 Sep 2018 11:00:03 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VrylD6egNp9y; Wed, 5 Sep 2018 12:30:09 +0200 (CEST) Received: from zn.tnic (p200300EC2BCBB900329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bcb:b900:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8B36A1EC02AE; Wed, 5 Sep 2018 12:30:09 +0200 (CEST) Date: Wed, 5 Sep 2018 12:30:09 +0200 From: Borislav Petkov To: Pu Wen Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, thomas.lendacky@amd.com, pbonzini@redhat.com, rkrcmar@redhat.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v5 11/16] x86/kvm: enable Hygon support to KVM infrastructure Message-ID: <20180905103009.GF2237@zn.tnic> References: <37fd42bcf50eccfc3aad18051492144056e2f0fb.1535459013.git.puwen@hygon.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <37fd42bcf50eccfc3aad18051492144056e2f0fb.1535459013.git.puwen@hygon.cn> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 29, 2018 at 08:45:05PM +0800, Pu Wen wrote: > Hygon Dhyana CPU has the SVM feature as AMD family 17h does. > Add Hygon support in the KVM infrastructure. > > Signed-off-by: Pu Wen > --- > arch/x86/include/asm/kvm_emulate.h | 4 ++++ > arch/x86/include/asm/virtext.h | 5 +++-- > arch/x86/kvm/emulate.c | 11 ++++++++++- > 3 files changed, 17 insertions(+), 3 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.