perf/x86/intel/uncore: Factor out __snr_uncore_mmio_init_box
authorKan Liang <kan.liang@linux.intel.com>
Tue, 17 Mar 2020 18:38:33 +0000 (11:38 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 20 Mar 2020 12:06:23 +0000 (13:06 +0100)
commit3442a9ecb8e72a33c28a2b969b766c659830e410
tree1b3ca5b92fefe90fd01079b79370c4613e4aa3c5
parentbc88a2fe216a51e8ab46d61f89d0c1b5a400470e
perf/x86/intel/uncore: Factor out __snr_uncore_mmio_init_box

The IMC uncore unit in Ice Lake server can only be accessed by MMIO,
which is similar as Snow Ridge.
Factor out __snr_uncore_mmio_init_box which can be shared with Ice Lake
server in the following patch.

No functional changes.

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