linux-yocto/drivers/perf
Leo Yan 379cae2cb9 perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
[ Upstream commit a29fea30dd93da16652930162b177941abd8c75e ]

Cast nr_pages to unsigned long to avoid overflow when handling large
AUX buffer sizes (>= 2 GiB).

Fixes: d5d9696b03 ("drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension")
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-15 11:57:48 +02:00
..
amlogic perf/amlogic: Replace smp_processor_id() with raw_smp_processor_id() in meson_ddr_pmu_create() 2025-06-19 15:28:08 +02:00
arm_cspmu
hisilicon
alibaba_uncore_drw_pmu.c
apple_m1_cpu_pmu.c
arm_dmc620_pmu.c
arm_dsu_pmu.c
arm_pmu_acpi.c
arm_pmu_platform.c
arm_pmu.c
arm_pmuv3.c
arm_smmuv3_pmu.c
arm_spe_pmu.c perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-15 11:57:48 +02:00
arm-cci.c
arm-ccn.c
arm-cmn.c perf/arm-cmn: Initialise cmn->cpu earlier 2025-06-04 14:42:24 +02:00
cxl_pmu.c perf/cxlpmu: Remove unintended newline from IRQ name format string 2025-08-28 16:28:21 +02:00
fsl_imx8_ddr_perf.c
fsl_imx9_ddr_perf.c
Kconfig
Makefile
marvell_cn10k_ddr_pmu.c
marvell_cn10k_tad_pmu.c
qcom_l2_pmu.c
qcom_l3_pmu.c
riscv_pmu_legacy.c
riscv_pmu_sbi.c
riscv_pmu.c
thunderx2_pmu.c
xgene_pmu.c