diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2021-03-17 10:59:37 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-02 10:04:55 +0200 |
commit | c4c55e362a521d763356b9e02bc9a4348c71a471 (patch) | |
tree | 76d73042a853978e3cdc5a71defb9027ff26d924 /arch/x86/events/intel/uncore_discovery.h | |
parent | perf/x86/intel/uncore: Generic support for the PCI type of uncore blocks (diff) | |
download | linux-dev-c4c55e362a521d763356b9e02bc9a4348c71a471.tar.xz linux-dev-c4c55e362a521d763356b9e02bc9a4348c71a471.zip |
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
Diffstat (limited to '')
-rw-r--r-- | arch/x86/events/intel/uncore_discovery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/events/intel/uncore_discovery.h b/arch/x86/events/intel/uncore_discovery.h index 1639ff7baed8..1d652939a01c 100644 --- a/arch/x86/events/intel/uncore_discovery.h +++ b/arch/x86/events/intel/uncore_discovery.h @@ -128,3 +128,4 @@ bool intel_uncore_has_discovery_tables(void); void intel_uncore_clear_discovery_tables(void); void intel_uncore_generic_uncore_cpu_init(void); int intel_uncore_generic_uncore_pci_init(void); +void intel_uncore_generic_uncore_mmio_init(void); |