perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR
mainline inclusion from mainline-v6.8-rc1 commit cf35791476fcb3230b98a42241a56242d60ebdd3 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8YW2E CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf35791476fcb3230b98a42241a56242d60ebdd3 ------------------------------------- Factor out SPR_UNCORE_MMIO_COMMON_FORMAT which can be reused by Granite Rapids in the following patch. Granite Rapids have more uncore units than Sapphire Rapids. Add new parameters to support adjustable uncore units. No functional change. Intel-SIG: commit cf35791476fc perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR Backport GNR/SRF PMU uncore support to kernel 5.10. Signed-off-by:Kan Liang <kan.liang@linux.intel.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by:
Ammy Yi <ammy.yi@intel.com> Link: https://lore.kernel.org/r/20231117163939.2468007-1-kan.liang@linux.intel.com Signed-off-by:
Yunying Sun <yunying.sun@intel.com>
Loading
Please sign in to comment