!4116 Intel: Backport GNR/SRF PMU uncore support to kernel v6.6
Merge Pull Request from: @yunyingsun Title: Backport GNR/SRF PMU uncore support to kernel v6.6 Content: This enables uncore PMU support for next gen Intel Xeon platforms Granite Rapids(GRN) and Sierra Forest(SRF). Commits from mainline kernel v6.8-rc1: cb4a6ccf3583 perf/x86/intel/uncore: Support Sierra Forest and Grand Ridge 388d76175bd9 perf/x86/intel/uncore: Support IIO free-running counters on GNR 632c4bf6d007 perf/x86/intel/uncore: Support Granite Rapids b560e0cd882b perf/x86/uncore: Use u64 to replace unsigned for the uncore offsets array cf35791476fc perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR Intel-kernel issue: https://gitee.com/openeuler/intel-kernel/issues/I8XY3R Test: Before backport: The uncore devices under /sys/devices/ are all named with numbers as "uncore_type_x_y". After backport: The uncore devices under /sys/devices/ are all with meaningful names like "uncore_imc_0", and the clockticks event counting works like this: ``` # perf stat -e uncore_imc_0/event=0x1/ -- sleep 1 Performance counter stats for 'system wide': 651806834 uncore_imc_0/event=0x1/ 1.002739370 seconds time elapsed ``` Known issue: N/A Default config change: N/A Link:https://gitee.com/openeuler/kernel/pulls/4116 Reviewed-by:Jason Zeng <jason.zeng@intel.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment