diff options
| author | Xin Li <[email protected]> | 2024-06-05 23:19:17 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-08-22 18:25:54 +0000 |
| commit | 8f56b14e9fa0f91daf4d3be05988abf336255dc6 (patch) | |
| tree | 962f8eedb2ccf374f64e545fca673678d212a95b /lib/crypto/mpi/mpi-mul.c | |
| parent | KVM VMX: Move MSR_IA32_VMX_MISC bit defines to asm/vmx.h (diff) | |
| download | kernel-8f56b14e9fa0f91daf4d3be05988abf336255dc6.tar.gz kernel-8f56b14e9fa0f91daf4d3be05988abf336255dc6.zip | |
KVM: VMX: Open code VMX preemption timer rate mask in its accessor
Use vmx_misc_preemption_timer_rate() to get the rate in hardware_setup(),
and open code the rate's bitmask in vmx_misc_preemption_timer_rate() so
that the function looks like all the helpers that grab values from
VMX_BASIC and VMX_MISC MSR values.
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: 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]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
