Unverified Commit d8da829a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2541 Intel: Backport some SPR and EMR PMU related upstream bugfixes to OLK-5.10

Merge Pull Request from: @yunyingsun 
 
Title: Backport some SPR and EMR PMU related upstream bugfixes to OLK-5.10

Content:
There're some PMU related upstream bugfixes that are needed for SPR and EMR:
(v6.1-rc4) 0916886b perf/x86/intel: Fix pebs event constraints for SPR
(v6.4-rc4) 38776cc4 perf/x86/uncore: Correct the number of CHAs on SPR
(v6.6-rc1) 6f7f984f perf/x86/uncore: Correct the number of CHAs on EMR

They corrected the number of CHAs on SPR and EMR, also updated the PEBS event constraints for SPR.
The 3 backported patches are identical in code changes comparing to the original commit.

Intel-kernel issue:
#I8AR40:Backport some SPR and EMR PMU related upstream bugfixes to OLK-5.10

Test:
Without these backported patches, the number of "/sys/devices/uncore_cha_*" devices on SPR and EMR is wrong.
For example, with kernel that has included 38776cc4 but not having 6f7f984f, there's no /sys/devices/uncore_cha_* devices on EMR.

With these applied, the number of uncore_cha_* devices will be correct for SPR and EMR.

Known issue:
N/A

Default config change:
N/A
 
 
Link:https://gitee.com/openeuler/kernel/pulls/2541

 

Reviewed-by: default avatarJason Zeng <jason.zeng@intel.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 69c2f248 f9835c88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment