perf/x86/intel/uncore: Fix Intel SPR CHA event constraints
authorKan Liang <kan.liang@linux.intel.com>
Thu, 26 Aug 2021 15:32:40 +0000 (08:32 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 31 Aug 2021 11:59:36 +0000 (13:59 +0200)
commit9d756e408e080d40e7916484b00c802026e6d1ad
tree2df76a89be58bc3354f4608ecfae5c1f59f63a37
parentf42e8a603c88f72bf047a710b9fc1d3579f31e71
perf/x86/intel/uncore: Fix Intel SPR CHA event constraints

SPR CHA events have the exact same event constraints as SKX, so add the
constraints.

Fixes: 949b11381f81 ("perf/x86/intel/uncore: Add Sapphire Rapids server CHA support")
Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629991963-102621-5-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snbep.c