linux/drivers/perf
Tuan Phan 50cd74c7f3 perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
[ Upstream commit 4e16f283ed ]

When multiple dtcs share the same IRQ number, the irq_friend which
used to refer to dtc object gets calculated incorrect which leads
to invalid pointer.

Fixes: 0ba64770a2 ("perf: Add Arm CMN-600 PMU driver")

Signed-off-by: Tuan Phan <tuanphan@os.amperecomputing.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/1623946129-3290-1-git-send-email-tuanphan@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-07-14 17:06:46 +02:00
..
hisilicon drivers/perf: hisi: Fix data source control 2021-07-14 17:06:43 +02:00
arm-cci.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm-ccn.c drivers/perf: convert sysfs scnprintf family to sysfs_emit_at() and sysfs_emit() 2021-03-25 12:55:44 +00:00
arm-cmn.c perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number 2021-07-14 17:06:46 +02:00
arm_dmc620_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm_dsu_pmu.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm_pmu.c arm64: Get rid of oprofile leftovers 2021-04-22 13:32:39 +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: Clean up with dev_printk 2021-03-30 11:41:50 +01:00
arm_smmuv3_pmu.c perf/smmuv3: Don't trample existing events with global filter 2021-07-14 17:06:12 +02:00
arm_spe_pmu.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
fsl_imx8_ddr_perf.c drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe() 2021-07-14 17:06:27 +02:00
Kconfig driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3 2021-02-01 12:39:40 +00:00
Makefile driver/perf: Add PMU driver for the ARM DMC-620 memory controller 2020-11-25 14:51:21 +00:00
qcom_l2_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
qcom_l3_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
thunderx2_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
xgene_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00