diff options
author | Xin Li <[email protected]> | 2024-06-05 16:19:17 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-08-22 11:25:54 -0700 |
commit | 8f56b14e9fa0f91daf4d3be05988abf336255dc6 (patch) | |
tree | 962f8eedb2ccf374f64e545fca673678d212a95b /drivers/fpga/fpga-bridge.c | |
parent | dc1e67f70f6d4e336da06cb61bf6669d6fa39869 (diff) |
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 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions