Skip to content

Commit ecc2123

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
perf/x86/intel: Update event constraints for ICX
According to the latest event list, the event encoding 0xEF is only available on the first 4 counters. Add it into the event constraints table. Fixes: 6017608 ("perf/x86/intel: Add Icelake support") Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 02d029a commit ecc2123

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
@@ -263,6 +263,7 @@ static struct event_constraint intel_icl_event_constraints[] = {
263263
INTEL_EVENT_CONSTRAINT_RANGE(0xa8, 0xb0, 0xf),
264264
INTEL_EVENT_CONSTRAINT_RANGE(0xb7, 0xbd, 0xf),
265265
INTEL_EVENT_CONSTRAINT_RANGE(0xd0, 0xe6, 0xf),
266+
INTEL_EVENT_CONSTRAINT(0xef, 0xf),
266267
INTEL_EVENT_CONSTRAINT_RANGE(0xf0, 0xf4, 0xf),
267268
EVENT_CONSTRAINT_END
268269
};

0 commit comments

Comments
 (0)