perf/x86/intel/uncore: Generalize IIO topology support
authorAlexander Antonov <alexander.antonov@linux.intel.com>
Thu, 17 Nov 2022 12:28:23 +0000 (12:28 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 24 Nov 2022 10:09:20 +0000 (11:09 +0100)
commit4d13be8ab5d4aa6106331baa9674632a75b884b0
tree4dafa5cdb286fdac489f673e3f76fe7e5c2c4d07
parentbf480f9385667309a8866e65833f261d4773df9a
perf/x86/intel/uncore: Generalize IIO topology support

Current implementation of uncore mapping doesn't support different types
of uncore PMUs which have its own topology context. This patch generalizes
Intel uncore topology implementation to be able easily introduce support
for new uncore blocks.

Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20221117122833.3103580-2-alexander.antonov@linux.intel.com
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snbep.c