230 Star 839 Fork 388

GVPopenEuler / kernel

 / 详情

[openEuler 20.03]Cleanup and bugfix of HiSilicon/ SMMU / SPE / CORE PMU driver

Opened this issue  
2021-09-14 19:56
  1. bugfix of HiSilicon uncore PMU. For some HiSilicon platform, the originally designed SCCL_ID and CCL_ID are not satisfied with much rich topology when the MT is set, so we extend the SCCL_ID to MPIDR[aff3] and CCL_ID to MPIDR[aff2].
  2. bugfix of SMMU PMU. Don't trample existing events with global filter
  3. bugfix of Core PMU. When PMU event ID is equal or greater than 0x4000, it will be reduced by 0x4000 and it is not the raw number in the sysfs.
  4. Cleanup of PMU drivers

Comments (3)

liuqi created需求
liuqi set related repository to openEuler/kernel
Expand operation logs

Hi liuqi115, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @XieXiuQi , @YangYingliang , @成坚 (CHENG Jian) .

openeuler-ci-bot added
liuqi changed description
liuqi changed title
liuqi changed title
liuqi changed description
liuqi changed title
XieXiuQi changed issue state from 新建 to 已接纳
补丁 描述
drivers/perf: arm_spe: Don't error on high-order pages for aux buf 之前 aux 流程中,high-order 的页面直接跳过了。现在不能跳过
perf: Remove dev_err() usage after platform_get_irq() 删除调试信息
perf/smmuv3: Validate group size group size 超出 PMU counter 数目的时候,直接报错,之前是继续采集的
perf/smmuv3: Validate groups for global filtering 分组的 filer 要一致
drivers/perf: hisi: update the sccl_id/ccl_id for certain HiSilicon pla... 正确读取 sccl_id(DIE ID)/ccl_id(CLUSTER ID)
perf/smmuv3: Remove the leftover put_cpu() in error path bugfix, 错误回滚,SMMU PMU 加载的时候, cpuhp 注册失败的时候,不再需要 put_cpu。 该问题b30e2fc7479afaf9823ceb8711da7b12d5b25fe9 已经修复
drivers/perf: hisi: Simplify hisi_read_sccl_and_ccl_id and its comment mpidr 校验 MPIDR_MT_BITMASK
perf: arm_spe: Remove unnecessary zero check on 'nr_pages' 之前已经校验过 > 2 了不用再校验 zero
drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer 不用再判断 NULL 了
drivers/perf: hisi: Fix typo in events attribute array wr_dr_64b 名字不科学。
drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers
pmu/smmuv3: Clear IRQ affinity hint on device removal 卸载的时候,没有清理中断亲和性
drivers/perf: hisi: Fix wrong value for all counters enable
drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling 修复模块卸载时候挂死
drivers/perf: Prevent forced unbinding of PMU drivers PMU 与设备解绑的时候,有问题
drivers/perf: hisi: Add missing include of linux/module.h 缺失头文件
driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3 ARM_SMMU_V3_PMU 不再 依赖 ARM_SMMU_V3
perf/smmuv3: Don't trample existing events with global filter PMU 分时复用的时候, 校验下 filter, 如果 filter 不匹配要重新 set
arm64: perf: Add support for Armv8.1 PMCEID register format ARMV8.1 event 时间的长度做了升级。
arm64: perf: Correct the event index in sysfs


   0   1   2   3   4   5   6   7   8   9   10  

 不满意                        非常满意

Sign in to comment

Pull Requests
Successfully merging a pull request will close this issue.
Planed to start   -   Planed to end
Top level
Duration (hours)
5329419 openeuler ci bot 1632792936 9968373 openeuler survey bot 1637036855