!4202 Intel: Backport GNR/SRF pmu uncore support back to kernel 5.10
Merge Pull Request from: @yunyingsun Title: Backport GNR/SRF pmu uncore support back to kernel 5.10 Content: To support perf reading uncore PMU performance events on Granite Rapids(GNR) and Sierra Forest(SRF), below upstream commits from v6.8-rc1 should be included in kernel OLK-5.10: 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 The backported patches are identical with the upstream version, and has been verified on Intel internal GNR/SRF platforms. Intel-kernel issue: https://gitee.com/openeuler/intel-kernel/issues/I8YW2E Test: Before backport: on GNR/SRF with OLK-5.10 kernel, uncore devices under "/sys/devices/" are all using generic names with numbers like "uncore_type_x_y", no meaningful uncore names. After backport: uncore devices under "/sys/devices/" are using meaningful names like "uncore_imc_0", and uncore events can be read successfully with command like "perf stat -e uncore_imc_0/event=0x1/ -- sleep 1". Known issue: N/A Default config change: N/A Link:https://gitee.com/openeuler/kernel/pulls/4202 Reviewed-by:Aichun Shi <aichun.shi@intel.com> Reviewed-by:
Jason Zeng <jason.zeng@intel.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment