aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-06-06 17:43:10 -0700
committerSean Christopherson <[email protected]>2023-08-02 16:37:30 -0700
commit550ba57faa04042956079b8d09ec0f83bef8817f (patch)
tree654e9bcb1e3101bc055bfa0d638bebe260981100 /net/lapb/lapb_out.c
parenta2fd5d02bad6d63daaaf4a8bb19c2400387aca61 (diff)
KVM: VMX: Drop unnecessary vmx_fb_clear_ctrl_available "cache"
Now that KVM snapshots the host's MSR_IA32_ARCH_CAPABILITIES, drop the similar snapshot/cache of whether or not KVM is allowed to manipulate MSR_IA32_MCU_OPT_CTRL.FB_CLEAR_DIS. The motivation for the cache was presumably to avoid the RDMSR, e.g. boot_cpu_has_bug() is quite cheap, and modifying the vCPU's MSR_IA32_ARCH_CAPABILITIES is an infrequent option and a relatively slow path. Cc: Pawan Gupta <[email protected]> Reviewed-by: Pawan Gupta <[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 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions