aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-07-08 15:48:10 -0700
committerSean Christopherson <[email protected]>2022-07-08 15:58:16 -0700
commitf83894b24c2a96fcecdff4858755aa79eb756465 (patch)
tree32da1e5dc0c630afb77a239d695eb52966c67f3a /tools/perf/scripts/python/bin/stackcollapse-record
parent03d84f96890662681feee129cf92491f49247d28 (diff)
KVM: x86: Fix handling of APIC LVT updates when userspace changes MCG_CAP
Add a helper to update KVM's in-kernel local APIC in response to MCG_CAP being changed by userspace to fix multiple bugs. First and foremost, KVM needs to check that there's an in-kernel APIC prior to dereferencing vcpu->arch.apic. Beyond that, any "new" LVT entries need to be masked, and the APIC version register needs to be updated as it reports out the number of LVT entries. Fixes: 4b903561ec49 ("KVM: x86: Add Corrected Machine Check Interrupt (CMCI) emulation to lapic.") Reported-by: [email protected] Cc: Siddh Raman Pant <[email protected]> Cc: Jue Wang <[email protected]> Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions