]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/uncore: Apply the unit control RB tree to MMIO uncore units
authorKan Liang <kan.liang@linux.intel.com>
Fri, 14 Jun 2024 13:46:27 +0000 (06:46 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Jun 2024 15:57:57 +0000 (17:57 +0200)
commit80580dae65b941eb681bd79f31f64f91b58232b4
treeaaf919c3714bbc981f8c55272b5dd54de84a5e95
parent585463fee64270d4b4d80b1e433d2105ef555bec
perf/x86/uncore: Apply the unit control RB tree to MMIO uncore units

The unit control RB tree has the unit control and unit ID information
for all the units. Use it to replace the box_ctls/mmio_offsets to get
an accurate unit control address for MMIO uncore units.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Yunying Sun <yunying.sun@intel.com>
Link: https://lore.kernel.org/r/20240614134631.1092359-5-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_discovery.c