summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorShivansh Dhiman <shivansh.dhiman@amd.com>2026-09-30 12:36:30 -0700
committerSean Christopherson <seanjc@google.com>2026-09-30 14:22:24 -0700
commit5cb0577b74971d578ab105f3b6a8f43fce1f3968 (patch)
treeaf4e312b898a5dba3120754ee9ecdfebbf1bceda /scripts/basic/split-include.c
parent7faa73133e40c59d15abd7201145b75834b067c6 (diff)
downloadlinux-5cb0577b74971d578ab105f3b6a8f43fce1f3968.tar.gz
linux-5cb0577b74971d578ab105f3b6a8f43fce1f3968.zip
KVM: nSVM: Disable LBRV in nested control cache when unsupported
Clear SVM_MISC2_ENABLE_V_LBR in __nested_copy_vmcb_control_to_cache() when the vCPU does not support LBR Virtualization. This lets the cached value be consumed directly instead of re-checking X86_FEATURE_LBRV on every access. Suggested-by: Yosry Ahmed <yosry@kernel.org> Signed-off-by: Shivansh Dhiman <shivansh.dhiman@amd.com> Link: https://patch.msgid.link/20260930193634.3415089-9-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions