Bug 4835 - Intel: Backport Emerald Rapids (EMR) PMU support to devel-5.10
Summary: Intel: Backport Emerald Rapids (EMR) PMU support to devel-5.10
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 10:16 UTC by yunyings
Modified: 2023-04-26 12:01 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunyings intel_group 2023-04-26 10:16:42 UTC
Description of problem:
From core PMU's perspective, Emerald Rapids is the same as the Sapphire
Rapids. The enabling patches are mainly adding EMR CPUID to PMU kernel drivers.

Upstream enabling commits, including the dependencies:
(v6.2-rc6) 5a8a05f165fb perf/x86/intel/cstate: Add Emerald Rapids
	(v5.18-rc4) 528c9f1daf20 perf/x86/cstate: Add SAPPHIRERAPIDS_X CPU support
	(v5.14-rc1) 87bf399f86ec perf/x86/cstate: Add ICELAKE_X and ICELAKE_D support
(v6.2-rc6) 6795e558e9cc perf/x86/intel: Add Emerald Rapids
(v6.2-rc4) 5268a2842066 perf/x86/intel/uncore: Add Emerald Rapids
(v6.2-rc4) 69ced4160969 perf/x86/msr: Add Emerald Rapids

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Without the enabling patches, platform dependent PMU events will not be available, like L1-dcache-loads. After backport, such events will be available and work fine with perf tool.
Comment 1 小龙 admin 2023-04-26 12:01:46 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1596