Skip to content

Commit 6795e55

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/intel: Add Emerald Rapids
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
1 parent 5268a28 commit 6795e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/events/intel/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6339,6 +6339,7 @@ __init int intel_pmu_init(void)
63396339
break;
63406340

63416341
case INTEL_FAM6_SAPPHIRERAPIDS_X:
6342+
case INTEL_FAM6_EMERALDRAPIDS_X:
63426343
pmem = true;
63436344
x86_pmu.late_ack = true;
63446345
memcpy(hw_cache_event_ids, spr_hw_cache_event_ids, sizeof(hw_cache_event_ids));

0 commit comments

Comments
 (0)