]> git.itanic.dy.fi Git - linux-stable/commit
perf/x86/amd: Reject branch stack for IBS events
authorNamhyung Kim <namhyung@kernel.org>
Thu, 30 Nov 2023 06:22:46 +0000 (11:52 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 30 Nov 2023 08:34:40 +0000 (09:34 +0100)
commit0f9e0d7928d8e88d57b1482effab70edb9741ce1
tree43dddde611ceed840e01aeb9bca92e1b159a07d0
parentcb4a6ccf35839895da63fcf6134d6fbd13224805
perf/x86/amd: Reject branch stack for IBS events

The AMD IBS PMU doesn't handle branch stacks, so it should not accept
events with brstack.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231130062246.290-1-ravi.bangoria@amd.com
arch/x86/events/amd/ibs.c