Re: [PATCH] x86/coco, x86/sev: Use cpu_feature_enabled() to detect SEV guest flavor
From: Borislav Petkov
Date: Tue Dec 05 2023 - 10:07:10 EST
On Tue, Dec 05, 2023 at 06:00:12PM +0300, Kirill A. Shutemov wrote:
> I don't think cc_platform_has() is the right check. On TDX side we use
> X86_FEATURE_TDX_GUEST for this and it works better than stretching
> CC_ATTRs beyond their meaning.
You don't think it is the right check because you do something else on
Intel?
I can't follow that argument.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette