perf/x86/intel/uncore: Add Sapphire Rapids server M2M support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 30 Jun 2021 21:08:32 +0000 (14:08 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 2 Jul 2021 13:58:39 +0000 (15:58 +0200)
commitf57191edaaeb01279a88ace1be5b7230bdd8c0ab
treeea97c25405d59638195a809af1d5ca0c43efee76
parent85f2e30f987ecc73fbb5e24eda0f36ba7f337c5c
perf/x86/intel/uncore: Add Sapphire Rapids server M2M support

The M2M blocks manage the interface between the mesh (operating on both
the mesh and the SMI3 protocol) and the memory controllers.

The layout of the control registers for a M2M uncore unit is a little
 bit different from the generic one. So a specific format and ops are
required. Expose the common PCI ops which can be reused.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lore.kernel.org/r/1625087320-194204-9-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_discovery.c
arch/x86/events/intel/uncore_discovery.h
arch/x86/events/intel/uncore_snbep.c