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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:22 +0000 (19:16 +0100)
commitcdba93ecbbd2da6fbf14ed170db4dd8975e11225
treed89b81d00740c3ef06479fc4f2b6db82a13384cd
parent5a31df7d0f9feef89b121439a42334c52e1cefb5
perf/x86/intel/uncore: Fix Intel SPR CHA event constraints

[ Upstream commit 9d756e408e080d40e7916484b00c802026e6d1ad ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/events/intel/uncore_snbep.c