]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Generic support for the MMIO type of uncore blocks
authorKan Liang <kan.liang@linux.intel.com>
Wed, 17 Mar 2021 17:59:37 +0000 (10:59 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 2 Apr 2021 08:04:55 +0000 (10:04 +0200)
commitb7e4ab3e5172e366963e29a479b9f85e24abd784
tree76d73042a853978e3cdc5a71defb9027ff26d924
parent6bca8ee69aae0b9cd5d2f47d4c5d9d81a93df7d5
perf/x86/intel/uncore: Generic support for the MMIO type of uncore blocks

The discovery table provides the generic uncore block information
for the MMIO type of uncore blocks, which is good enough to provide
basic uncore support.

The box control field is composed of the BAR address and box control
offset. When initializing the uncore blocks, perf should ioremap the
address from the box control field.

Implement the generic support for the MMIO type of uncore block.

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/1616003977-90612-6-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_discovery.c
arch/x86/events/intel/uncore_discovery.h