Messages in this thread | | | Date | Wed, 6 Oct 2021 21:40:39 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v8 08/11] x86/tdx: Wire up KVM hypercalls |
| |
On Wed, Oct 06, 2021 at 12:34:40PM -0700, Josh Poimboeuf wrote: > Hm, I'm still thinking that figuring out a way to convert all the > cc_platform_has() stuff to normal cpu features -- or at least inline > wrappers around them -- would be really nice here. Then this could just > be a nice fast static_cpu_has().
cpu_feature_enabled(X86_FEATURE_TDX_GUEST)
provided those don't happen too early...
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |