linux/arch/x86/events
Kan Liang ed0ef89508 perf/x86/uncore: Correct the number of CHAs on SPR
commit 38776cc45e upstream.

The number of CHAs from the discovery table on some SPR variants is
incorrect, because of a firmware issue. An accurate number can be read
from the MSR UNC_CBO_CONFIG.

Fixes: 949b11381f ("perf/x86/intel/uncore: Add Sapphire Rapids server CHA support")
Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230508140206.283708-1-kan.liang@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2023-05-30 14:03:19 +01:00
..
amd perf/x86/amd/core: Always clear status for idx 2023-03-30 12:49:13 +02:00
intel perf/x86/uncore: Correct the number of CHAs on SPR 2023-05-30 14:03:19 +01:00
zhaoxin x86/perf/zhaoxin: Add stepping check for ZXC 2023-03-10 09:32:45 +01:00
core.c perf/x86: Refuse to export capabilities for hybrid PMUs 2023-02-22 12:59:55 +01:00
Kconfig perf/x86/Kconfig: Fix indentation in the Kconfig file 2022-05-25 15:54:26 +02:00
Makefile perf/x86: Move branch classifier 2022-08-27 00:05:44 +02:00
msr.c perf/x86/msr: Add Emerald Rapids 2023-02-01 08:34:30 +01:00
perf_event.h Perf events updates for v6.1: 2022-10-10 09:27:46 -07:00
perf_event_flags.h x86/perf: Assert all platform event flags are within PERF_EVENT_FLAG_ARCH 2022-09-07 21:54:01 +02:00
probe.c perf/x86/rapl: Add msr mask support 2021-02-10 14:44:54 +01:00
probe.h perf/x86/rapl: Add msr mask support 2021-02-10 14:44:54 +01:00
rapl.c perf/x86/rapl: Add support for Intel Emerald Rapids 2023-01-24 07:24:32 +01:00
utils.c perf/x86/utils: Fix uninitialized var in get_branch_type() 2022-09-29 12:20:56 +02:00