aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-01-28 00:14:27 +0000
committerSean Christopherson <[email protected]>2023-04-05 17:00:17 -0700
commit098f4c061ea10b777033b71c10bd9fd706820ee9 (patch)
treed26bcef602bd8206720e28504d2ec7521f864a4b /tools/perf/scripts/python/exported-sql-viewer.py
parent7e768ce8278bafe43e2a4771a82b61856190a3fc (diff)
KVM: x86/pmu: Disallow legacy LBRs if architectural LBRs are available
Disallow enabling LBR support if the CPU supports architectural LBRs. Traditional LBR support is absent on CPU models that have architectural LBRs, and KVM doesn't yet support arch LBRs, i.e. KVM will pass through non-existent MSRs if userspace enables LBRs for the guest. Cc: [email protected] Cc: Yang Weijiang <[email protected]> Cc: Like Xu <[email protected]> Reported-by: Paolo Bonzini <[email protected]> Fixes: be635e34c284 ("KVM: vmx/pmu: Expose LBR_FMT in the MSR_IA32_PERF_CAPABILITIES") Tested-by: Like Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions