Merge tag 'perf-core-2026-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipPull performance events updates from Ingo Molnar: "Core updates: - Try to allocate task_ctx_data quickl
Merge tag 'perf-core-2026-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipPull performance events updates from Ingo Molnar: "Core updates: - Try to allocate task_ctx_data quickly, to optimize O(N^2) algorithm on large systems with O(100k) threads (Namhyung Kim) AMD PMU driver IBS support updates and fixes, by Ravi Bangoria: - Fix interrupt accounting for discarded samples - Fix a Zen5-specific quirk - Fix PhyAddrVal handling - Fix NMI-safety with perf_allow_kernel() - Fix a race between event add and NMIs Intel PMU driver updates: - Only check GP counters for PEBS constraints validation (Dapeng Mi) MSR driver: - Turn SMI_COUNT and PPERF on by default, instead of a long list of CPU models to enable them on (Kan Liang) ... and misc cleanups and fixes by Aldf Conte, Anshuman Khandual, Namhyung Kim, Ravi Bangoria and Yen-Hsiang Hsu"* tag 'perf-core-2026-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/events: Replace READ_ONCE() with standard pgtable accessors perf/x86/msr: Make SMI and PPERF on by default perf/x86/intel/p4: Fix unused variable warning in p4_pmu_init() perf/x86/intel: Only check GP counters for PEBS constraints validation perf/x86/amd/ibs: Fix comment typo in ibs_op_data perf/amd/ibs: Advertise remote socket capability perf/amd/ibs: Enable streaming store filter perf/amd/ibs: Enable RIP bit63 hardware filtering perf/amd/ibs: Enable fetch latency filtering perf/amd/ibs: Support IBS_{FETCH|OP}_CTL2[Dis] to eliminate RMW race perf/amd/ibs: Add new MSRs and CPUID bits definitions perf/amd/ibs: Define macro for ldlat mask and shift perf/amd/ibs: Avoid race between event add and NMI perf/amd/ibs: Avoid calling perf_allow_kernel() from the IBS NMI handler perf/amd/ibs: Preserve PhyAddrVal bit when clearing PhyAddr MSR perf/amd/ibs: Limit ldlat->l3missonly dependency to Zen5 perf/amd/ibs: Account interrupt for discarded samples perf/core: Simplify __detach_global_ctx_data() perf/core: Try to allocate task_ctx_data quickly perf/core: Pass GFP flags to attach_task_ctx_data()
show more ...
perf/x86/amd/ibs: Fix comment typo in ibs_op_dataThe comment for tag_to_ret_ctr in ibs_op_data says "15-31"but it should be "16-31".Fix the misleading comment. No functional changes.Signed-off
perf/x86/amd/ibs: Fix comment typo in ibs_op_dataThe comment for tag_to_ret_ctr in ibs_op_data says "15-31"but it should be "16-31".Fix the misleading comment. No functional changes.Signed-off-by: Yen-Hsiang Hsu <rrrrr4413@gmail.com>Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>Link: https://patch.msgid.link/20260113141830.3204114-1-rrrrr4413@gmail.com
tools headers UAPI: Update tools' copy of linux/coresight-pmu.hTo get the comment changes in this commit: 171efc70097a9f5f ("x86/ibs: Fix typo in dc_l2tlb_miss comment")This silences this perf
tools headers UAPI: Update tools' copy of linux/coresight-pmu.hTo get the comment changes in this commit: 171efc70097a9f5f ("x86/ibs: Fix typo in dc_l2tlb_miss comment")This silences this perf build warning: Warning: Kernel ABI header differences: diff -u tools/arch/x86/include/asm/amd/ibs.h arch/x86/include/asm/amd/ibs.hSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools arch amd ibs: Sync ibs.h with the kernel sourcesTo pick up the changes from: 861c6b1185fbb2e3 ("x86/platform/amd: Add standard header guards to <asm/amd/ibs.h>")A small change to tools/p
tools arch amd ibs: Sync ibs.h with the kernel sourcesTo pick up the changes from: 861c6b1185fbb2e3 ("x86/platform/amd: Add standard header guards to <asm/amd/ibs.h>")A small change to tools/perf/check-headers.sh was made to cope with themove of this header done in: 3846389c03a85188 ("x86/platform/amd: Move the <asm/amd-ibs.h> header to <asm/amd/ibs.h>")That don't result in any changes in the tools, just address this perfbuild warning:Warning: Kernel ABI header differences: diff -u tools/arch/x86/include/asm/amd/ibs.h arch/x86/include/asm/amd/ibs.hCc: Adrian Hunter <adrian.hunter@intel.com>Cc: Ian Rogers <irogers@google.com>Cc: Ingo Molnar <mingo@kernel.org>Cc: James Clark <james.clark@linaro.org>Cc: Jiri Olsa <jolsa@kernel.org>Cc: Kan Liang <kan.liang@linux.intel.com>Cc: Namhyung Kim <namhyung@kernel.org>Link: https://lore.kernel.org/r/aEtCi0pup5FEwnzn@x1Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/x86: Move the <asm/amd-ibs.h> header to <asm/amd/ibs.h>Synchronize with what we did with the kernel side header in: 3846389c03a8 ("x86/platform/amd: Move the <asm/amd-ibs.h> header to
tools/arch/x86: Move the <asm/amd-ibs.h> header to <asm/amd/ibs.h>Synchronize with what we did with the kernel side header in: 3846389c03a8 ("x86/platform/amd: Move the <asm/amd-ibs.h> header to <asm/amd/ibs.h>")Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>Signed-off-by: Ingo Molnar <mingo@kernel.org>Cc: linux-kernel@vger.kernel.org