Messages in this thread | | | Date | Tue, 1 Jun 2021 16:39:53 +0200 | From | Borislav Petkov <> | 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
| |