android_kernel_xiaomi_sm8450/drivers/perf
Jing Zhang 06068e7f3f perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
[ Upstream commit 7f949f6f54ff593123ab95b6247bfa4542a65580 ]

The register por_dt_pmovsr Bits[7:0] indicates overflow from counters 7
to 0. But in arm_cmn_handle_irq(), only handled the overflow status of
Bits[3:0] which results in unhandled overflow status of counters 4 to 7.

So let the overflow status of DTC counters 4 to 7 to be handled.

Fixes: 0ba64770a2 ("perf: Add Arm CMN-600 PMU driver")
Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/1695612152-123633-1-git-send-email-renyu.zj@linux.alibaba.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 11:54:13 +02:00
..
hisilicon drivers/perf: hisi: Add missing include of linux/module.h 2020-09-07 14:05:11 +01:00
arm_dsu_pmu.c perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init() 2023-01-14 10:15:12 +01:00
arm_pmu_acpi.c drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer 2020-03-02 12:07:35 +00:00
arm_pmu_platform.c perf/arm_pmu_platform: fix tests for platform_get_irq() failure 2022-09-20 12:38:32 +02:00
arm_pmu.c arm_pmu: Validate single/group leader events 2022-04-27 13:53:55 +02:00
arm_smmuv3_pmu.c perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 2023-09-23 11:01:05 +02:00
arm_spe_pmu.c drivers/perf: arm_spe: Fix consistency of SYS_PMSCR_EL1.CX 2022-08-21 15:15:36 +02:00
arm-cci.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-17 10:51:44 +01:00
arm-ccn.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
arm-cmn.c perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7 2023-10-25 11:54:13 +02:00
fsl_imx8_ddr_perf.c perf/imx_ddr: don't enable counter0 if none of 4 counters are used 2023-09-19 12:20:07 +02:00
Kconfig perf: Add Arm CMN-600 PMU driver 2020-09-28 18:50:20 +01:00
Makefile perf: Add Arm CMN-600 PMU driver 2020-09-28 18:50:20 +01:00
qcom_l2_pmu.c perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator 2022-04-13 21:01:09 +02:00
qcom_l3_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-17 10:51:44 +01:00
thunderx2_pmu.c drivers/perf: thunderx2_pmu: Fix memory resource error handling 2020-09-18 14:34:51 +01:00
xgene_pmu.c drivers/perf: xgene_pmu: Fix uninitialized resource struct 2020-09-18 14:34:51 +01:00