aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2023-09-25 17:34:47 +0000
committerSean Christopherson <seanjc@google.com>2023-09-25 14:40:29 -0700
commita16eb25b09c02a54c1c1b449d4b6cfa2cf3f013a (patch)
tree897fecde020c37a6315176910cb9d0450c805930 /tools/perf/scripts/python/bin/stackcollapse-record
parentKVM: x86/pmu: Truncate counter value to allowed width on write (diff)
downloadlinux-a16eb25b09c02a54c1c1b449d4b6cfa2cf3f013a.tar.gz
linux-a16eb25b09c02a54c1c1b449d4b6cfa2cf3f013a.zip
KVM: x86: Mask LVTPC when handling a PMI
Per the SDM, "When the local APIC handles a performance-monitoring counters interrupt, it automatically sets the mask flag in the LVT performance counter register." Add this behavior to KVM's local APIC emulation. Failure to mask the LVTPC entry results in spurious PMIs, e.g. when running Linux as a guest, PMI handlers that do a "late_ack" spew a large number of "dazed and confused" spurious NMI warnings. Fixes: f5132b01386b ("KVM: Expose a version 2 architectural PMU to a guests") Cc: stable@vger.kernel.org Signed-off-by: Jim Mattson <jmattson@google.com> Tested-by: Mingwei Zhang <mizhang@google.com> Signed-off-by: Mingwei Zhang <mizhang@google.com> Link: https://lore.kernel.org/r/20230925173448.3518223-3-mizhang@google.com [sean: massage changelog, correct Fixes] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
uart-prom.c?id=dbb983145312efba5f7928af1b180a0d83423150&follow=1'>MIPS: zboot: Add support for serial debug using the PROMAlban Bedel3-0/+12 2016-01-24MIPS: zboot: Avoid useless rebuildsAlban Bedel1-6/+8 2016-01-24MIPS: BMIPS: Enable ARCH_WANT_OPTIONAL_GPIOLIBFlorian Fainelli1-0/+1 2016-01-24MIPS: bcm63xx: nvram: Remove unused bcm63xx_nvram_get_psi_size() functionSimon Arlott2-13/+0 2016-01-24MIPS: bcm963xx: Update bcm_tag field image_sequenceSimon Arlott1-6/+5 2016-01-24MIPS: bcm963xx: Move extended flash address to bcm_tag header fileSimon Arlott2-4/+7 2016-01-24MIPS: bcm963xx: Move Broadcom BCM963xx image tag data structureSimon Arlott3-4/+7 2016-01-24MIPS: bcm63xx: nvram: Use nvram structure definition from header fileSimon Arlott1-32/+3 2016-01-24MIPS: bcm963xx: Add Broadcom BCM963xx board nvram data structureSimon Arlott2-0/+113 2016-01-24MAINTAINERS: Add KVM for MIPS entryJames Hogan1-0/+8 2016-01-24MIPS: KVM: Add missing newline to kvm_err()James Hogan1-1/+1 2016-01-24MIPS: Move KVM specific opcodes into asm/inst.hJames Hogan4-28/+5 2016-01-24MIPS: KVM: Use cacheops.h definitionsJames Hogan1-22/+8 2016-01-24MIPS: Break down cacheops.h definitionsJames Hogan1-42/+64 2016-01-24MIPS: Use EXCCODE_ constants with set_except_vector()James Hogan2-30/+30 2016-01-24MIPS: Update trap codesJames Hogan1-2/+10 2016-01-24MIPS: Move Cause.ExcCode trap codes to mipsregs.hJames Hogan5-83/+80 2016-01-24MIPS: KVM: Make kvm_mips_{init,exit}() staticJames Hogan1-2/+2 2016-01-24MIPS: KVM: Refactor added offsetof()sJames Hogan1-7/+3 2016-01-24MIPS: KVM: Convert EXPORT_SYMBOL to _GPLJames Hogan2-19/+19 2016-01-24MIPS: KVM: Drop unused kvm_mips_host_tlb_inv_index()James Hogan2-38/+0 2016-01-24MIPS: Move definition of DC bit to mipsregs.hJames Hogan2-3/+2 2016-01-24MIPS: KVM: Drop some unused definitions from kvm_host.hJames Hogan1-5/+0 2016-01-24MIPS: KVM: Trivial whitespace and style fixesJames Hogan5-15/+14