perf/x86/intel/uncore: Add Sapphire Rapids server IRP support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 30 Jun 2021 21:08:28 +0000 (14:08 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 2 Jul 2021 13:58:37 +0000 (15:58 +0200)
commite199eb5131591c020705deceee224b437d09ece4
treed80b143a4c5feb1cd7fc4028de743861e7093d87
parent3ba7095beaec1bace1b5864fa92b2b7a0eaadf38
perf/x86/intel/uncore: Add Sapphire Rapids server IRP support

The IRP is responsible for maintaining coherency for the IIO traffic
targeting coherent memory.

The layout of the control registers for a IRP uncore unit is a little
bit different from the generic one.

Factor out SPR_UNCORE_COMMON_FORMAT, which can be reused by the
following uncore units.

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-5-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snbep.c