perf/x86/intel: Fix event constraints for ICL
authorKan Liang <kan.liang@linux.intel.com>
Wed, 25 May 2022 13:39:52 +0000 (06:39 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 May 2022 13:55:52 +0000 (15:55 +0200)
commit86dca369075b3e310c3c0adb0f81e513c562b5e4
tree14821968609e28df11ef1be74584da070a610b90
parent6f3f04c19074972ea12edeed23b07a32894e9e03
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: 6017608936c1 ("perf/x86/intel: Add Icelake support")
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220525133952.1660658-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c