]> Git Repo - linux.git/commit
KVM VMX: Move MSR_IA32_VMX_MISC bit defines to asm/vmx.h
authorSean Christopherson <[email protected]>
Wed, 5 Jun 2024 23:19:16 +0000 (16:19 -0700)
committerSean Christopherson <[email protected]>
Thu, 22 Aug 2024 18:25:53 +0000 (11:25 -0700)
commitdc1e67f70f6d4e336da06cb61bf6669d6fa39869
treeaa2fbbfbf9cc0f37993de76e1078d9c05540eb06
parent92e648042c237c3bba223ab7f7e1a76f41ab3ef7
KVM VMX: Move MSR_IA32_VMX_MISC bit defines to asm/vmx.h

Move the handful of MSR_IA32_VMX_MISC bit defines that are currently in
msr-indx.h to vmx.h so that all of the VMX_MISC defines and wrappers can
be found in a single location.

Opportunistically use BIT_ULL() instead of open coding hex values, add
defines for feature bits that are architecturally defined, and move the
defines down in the file so that they are colocated with the helpers for
getting fields from VMX_MISC.

No functional change intended.

Cc: Shan Kang <[email protected]>
Cc: Kai Huang <[email protected]>
Signed-off-by: Xin Li <[email protected]>
[sean: split to separate patch, write changelog]
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Reviewed-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx/capabilities.h
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/nested.h
This page took 0.045812 seconds and 4 git commands to generate.