aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-03-10 16:46:04 -0800
committerSean Christopherson <seanjc@google.com>2023-04-06 14:58:43 -0700
commit3a6de51a437fb4d2433f8a99fb59f43866cdbb98 (patch)
tree1371bd9dfa246de0d6a82829b7c535e6a6eb61c4 /tools/perf/scripts/python/export-to-postgresql.py
parentKVM: x86: Disallow writes to immutable feature MSRs after KVM_RUN (diff)
downloadlinux-rng-3a6de51a437fb4d2433f8a99fb59f43866cdbb98.tar.xz
linux-rng-3a6de51a437fb4d2433f8a99fb59f43866cdbb98.zip
KVM: x86/pmu: WARN and bug the VM if PMU is refreshed after vCPU has run
Now that KVM disallows changing feature MSRs, i.e. PERF_CAPABILITIES, after running a vCPU, WARN and bug the VM if the PMU is refreshed after the vCPU has run. Note, KVM has disallowed CPUID updates after running a vCPU since commit feb627e8d6f6 ("KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN"), i.e. PERF_CAPABILITIES was the only remaining way to trigger a PMU refresh after KVM_RUN. Cc: Like Xu <like.xu.linux@gmail.com> Link: https://lore.kernel.org/r/20230311004618.920745-8-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions