projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5268a28
)
perf/x86/intel: Add Emerald Rapids
author
Kan Liang
<kan.liang@linux.intel.com>
Fri, 6 Jan 2023 16:04:46 +0000
(08:04 -0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 18 Jan 2023 11:42:49 +0000
(12:42 +0100)
From core PMU's perspective, Emerald Rapids is the same as the Sapphire
Rapids. The only difference is the event list, which will be
supported in the perf tool later.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/20230106160449.3566477-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/intel/core.c
b/arch/x86/events/intel/core.c
index dfd2c124cdf80a819570340caa2b886887d57890..bafdc2be479acedff68fac4fa9103cf83836ab36 100644
(file)
--- a/
arch/x86/events/intel/core.c
+++ b/
arch/x86/events/intel/core.c
@@
-6339,6
+6339,7
@@
__init int intel_pmu_init(void)
break;
case INTEL_FAM6_SAPPHIRERAPIDS_X:
+ case INTEL_FAM6_EMERALDRAPIDS_X:
pmem = true;
x86_pmu.late_ack = true;
memcpy(hw_cache_event_ids, spr_hw_cache_event_ids, sizeof(hw_cache_event_ids));