Skip to content

Commit 86dca36

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/intel: Fix event constraints for ICL
According to the latest event list, the event encoding 0x55 INST_DECODED.DECODERS and 0x56 UOPS_DECODED.DEC0 are only available on the first 4 counters. Add them into the event constraints table. Fixes: 6017608 ("perf/x86/intel: Add Icelake support") Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected]
1 parent 6f3f04c commit 86dca36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/events/intel/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ static struct event_constraint intel_icl_event_constraints[] = {
276276
INTEL_EVENT_CONSTRAINT_RANGE(0x03, 0x0a, 0xf),
277277
INTEL_EVENT_CONSTRAINT_RANGE(0x1f, 0x28, 0xf),
278278
INTEL_EVENT_CONSTRAINT(0x32, 0xf), /* SW_PREFETCH_ACCESS.* */
279-
INTEL_EVENT_CONSTRAINT_RANGE(0x48, 0x54, 0xf),
279+
INTEL_EVENT_CONSTRAINT_RANGE(0x48, 0x56, 0xf),
280280
INTEL_EVENT_CONSTRAINT_RANGE(0x60, 0x8b, 0xf),
281281
INTEL_UEVENT_CONSTRAINT(0x04a3, 0xff), /* CYCLE_ACTIVITY.STALLS_TOTAL */
282282
INTEL_UEVENT_CONSTRAINT(0x10a3, 0xff), /* CYCLE_ACTIVITY.CYCLES_MEM_ANY */

0 commit comments

Comments
 (0)