summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorYosry Ahmed <yosry@kernel.org>2026-05-28 02:47:02 +0300
committerSean Christopherson <seanjc@google.com>2026-05-28 04:45:49 +0300
commit232eadc3110b6b00eda84fb8670ddb20a64e1726 (patch)
tree1265505947b1f45d581ba851dc1923bf9e43c6a4 /include/linux/zstd_errors.h
parente48810e06f45251a56bc007485854112e6cfc430 (diff)
downloadlinux-232eadc3110b6b00eda84fb8670ddb20a64e1726.tar.xz
KVM: x86/pmu: Check mediated PMU counter enablement before event filters
If the guest disables the counter (by clearing ARCH_PERFMON_EVENTSEL_ENABLE), KVM still performs the PMU filter lookup, even though it doesn't end up changing eventsel_hw. Check if the counter is enabled by the guest before doing the potentially expensive PMU filter lookup. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Yosry Ahmed <yosry@kernel.org> Link: https://patch.msgid.link/20260527234711.4175166-9-yosry@kernel.org Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions