diff options
author | Like Xu <[email protected]> | 2023-06-02 18:10:49 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-06-06 17:31:44 -0700 |
commit | 30dab5c0b65ea580878f36d6ae7ff85f06813387 (patch) | |
tree | 08f89e4e067e77a1aaae302d7f8bbdb14b2e4475 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 8de18543dfe34a6aac9deefb0256db2609cfa351 (diff) |
KVM: x86/pmu: Reject userspace attempts to set reserved GLOBAL_STATUS bits
Reject userspace writes to MSR_CORE_PERF_GLOBAL_STATUS that attempt to set
reserved bits. Allowing userspace to stuff reserved bits doesn't harm KVM
itself, but it's architecturally wrong and the guest can't clear the
unsupported bits, e.g. makes the guest's PMI handler very confused.
Signed-off-by: Like Xu <[email protected]>
[sean: rewrite changelog to avoid use of #GP, rebase on name change]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions