linux/arch
Kan Liang 1583971b5c perf/x86/intel/uncore: Factor out snr_uncore_mmio_map()
The IMC free-running counters on Sapphire Rapids server are also
accessed by MMIO, which is similar to the previous platforms, SNR and
ICX. The only difference is the device ID of the device which contains
BAR address.

Factor out snr_uncore_mmio_map() which ioremap the MMIO space. It can be
reused in the following patch for SPR.

Use the snr_uncore_mmio_map() in the icx_uncore_imc_freerunning_init_box().
There is no box_ctl for the free-running counters.

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-14-git-send-email-kan.liang@linux.intel.com
2021-07-02 15:58:41 +02:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
arc kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
arm kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
arm64 kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
csky kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
h8300 arch: rearrange headers inclusion order in asm/bitops for m68k, sh and h8300 2021-05-06 19:24:11 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
ia64 kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
m68k Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
microblaze tracing updates for 5.13 2021-05-03 11:19:54 -07:00
mips kprobes: Remove kprobe::fault_handler 2021-06-01 16:00:08 +02:00
nds32 tracing updates for 5.13 2021-05-03 11:19:54 -07:00
nios2 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-05-02 09:14:01 -07:00
openrisc drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
parisc Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
powerpc kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
riscv kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
s390 kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
sh kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
sparc kprobes: Do not increment probe miss count in the fault handler 2021-06-03 15:47:26 +02:00
um Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
x86 perf/x86/intel/uncore: Factor out snr_uncore_mmio_map() 2021-07-02 15:58:41 +02:00
xtensa Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00