[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YLZGuTYXDin2K9wx@zn.tnic>
Date: Tue, 1 Jun 2021 16:39:53 +0200
From: Borislav Petkov <bp@...en8.de>
To: Pu Wen <puwen@...on.cn>
Cc: Joerg Roedel <jroedel@...e.de>,
Sean Christopherson <seanjc@...gle.com>, x86@...nel.org,
joro@...tes.org, thomas.lendacky@....com,
dave.hansen@...ux.intel.com, peterz@...radead.org,
tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
sashal@...nel.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] x86/sev: Check whether SEV or SME is supported first
On Mon, May 31, 2021 at 10:56:50PM +0800, Pu Wen wrote:
> Thanks for your suggestion, I'll try to set up early #GP handler to fix
> the problem.
Why? AFAICT, you only need to return early in sme_enable() if CPUID is
not "AuthenticAMD". Just do that please.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists