diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-02 21:55:05 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-11-01 19:22:31 +0300 |
commit | dcb988cdac85bad177de86fbf409524eda4f9467 (patch) | |
tree | 568a19ac2ef88c59979327c44f8e0d5390313bd4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bc2ca3680b30869ee9a764ab72c143070f1afec8 (diff) | |
download | linux-dcb988cdac85bad177de86fbf409524eda4f9467.tar.xz |
KVM: x86: Quirk initialization of feature MSRs to KVM's max configuration
Add a quirk to control KVM's misguided initialization of select feature
MSRs to KVM's max configuration, as enabling features by default violates
KVM's approach of letting userspace own the vCPU model, and is actively
problematic for MSRs that are conditionally supported, as the vCPU will
end up with an MSR value that userspace can't restore. E.g. if the vCPU
is configured with PDCM=0, userspace will save and attempt to restore a
non-zero PERF_CAPABILITIES, thanks to KVM's meddling.
Link: https://lore.kernel.org/r/20240802185511.305849-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions