Bug 2223 - Backport some PMU related bugfixes for Sapphire Rapids
Summary: Backport some PMU related bugfixes for Sapphire Rapids
Status: RESOLVED FIXED
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: 2022-09-20 16:52 UTC by yunyings
Modified: 2023-01-17 15:03 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 2022-09-20 16:52:23 UTC
Description of problem:
ANCK devel-5.10 has already included core/uncore PMU basic support for Sapphire Rapids.

Some following upstreamed bugfixes are also needed, including:

Fixes for SPR core PMU(3 commits):
(v5.18-rc2) e590928de754 perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
(v5.14-rc1) 1d5c7880992a perf/x86/intel: Fix instructions:ppp support in Sapphire Rapids
(v5.14-rc1) d18216fafecf perf/x86/intel: Add more events requires FRONTEND MSR on Sapphire Rapids

Fixes for SPR uncore PMU(6 commits):
v5.16-rc1:
4034fb207e30 perf/x86/intel/uncore: Fix Intel SPR M3UPI event constraints
f01d7d558e18 perf/x86/intel/uncore: Fix Intel SPR M2PCIE event constraints
67c5d44384f8 perf/x86/intel/uncore: Fix Intel SPR IIO event constraints
9d756e408e08 perf/x86/intel/uncore: Fix Intel SPR CHA event constraints
e2bb9fab08cb perf/x86/intel/uncore: Fix invalid unit check
v5.13-rc6:
4a0e3ff30980 perf/x86/intel/uncore: Fix a kernel WARNING triggered by maxcpus=1

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 maqiao alibaba_cloud_group 2023-01-17 15:03:48 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/723