aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/vmx.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-04-12 16:21:36 +1200
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-20 04:18:54 -0400
commit01de8682b32d3ed4f0136f7379e1e3ae2e563308 (patch)
treecdc0e3ea7624771619e055e6fb8751d6960ff875 /arch/x86/include/asm/vmx.h
parentKVM: x86: Add support for reverse CPUID lookup of scattered features (diff)
downloadlinux-dev-01de8682b32d3ed4f0136f7379e1e3ae2e563308.tar.xz
linux-dev-01de8682b32d3ed4f0136f7379e1e3ae2e563308.zip
KVM: x86: Add reverse-CPUID lookup support for scattered SGX features
Define a new KVM-only feature word for advertising and querying SGX sub-features in CPUID.0x12.0x0.EAX. Because SGX1 and SGX2 are scattered in the kernel's feature word, they need to be translated so that the bit numbers match those of hardware. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Kai Huang <kai.huang@intel.com> Message-Id: <e797c533f4c71ae89265bbb15a02aef86b67cbec.1618196135.git.kai.huang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/vmx.h')
0 files changed, 0 insertions, 0 deletions