lkml.org 
[lkml]   [2021]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-10-06 21:42    [W:0.946 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site