diff options
author | Sean Christopherson <seanjc@google.com> | 2024-06-05 16:19:16 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-08-22 11:25:53 -0700 |
commit | dc1e67f70f6d4e336da06cb61bf6669d6fa39869 (patch) | |
tree | aa2fbbfbf9cc0f37993de76e1078d9c05540eb06 /rust/helpers/uaccess.c | |
parent | 92e648042c237c3bba223ab7f7e1a76f41ab3ef7 (diff) |
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 <shan.kang@intel.com>
Cc: Kai Huang <kai.huang@intel.com>
Signed-off-by: Xin Li <xin3.li@intel.com>
[sean: split to separate patch, write changelog]
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20240605231918.2915961-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/uaccess.c')
0 files changed, 0 insertions, 0 deletions