linux/drivers/perf
Dawei Li 60c73240f3 perf/arm-cmn: Avoid placing cpumask on the stack
In general it's preferable to avoid placing cpumasks on the stack, as
for large values of NR_CPUS these can consume significant amounts of
stack space and make stack overflows more likely.

Use cpumask_any_and_but() to avoid the need for a temporary cpumask on
the stack.

Suggested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Link: https://lore.kernel.org/r/20240403155950.2068109-4-dawei.li@shingroup.cn
Signed-off-by: Will Deacon <will@kernel.org>
2024-04-09 16:47:15 +01:00
..
amlogic perf: amlogic: Convert to platform remove callback returning void 2024-02-09 15:59:28 +00:00
arm_cspmu perf/arm_cspmu: Add devicetree support 2024-02-09 17:34:35 +00:00
hisilicon drivers/perf: hisi_pcie: Merge find_related_event() and get_event_idx() 2024-03-04 14:18:29 +00:00
alibaba_uncore_drw_pmu.c perf/alibaba_uncore_drw: Avoid placing cpumask on the stack 2024-04-09 16:47:15 +01:00
apple_m1_cpu_pmu.c arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs 2023-12-12 09:46:22 +00:00
arm_dmc620_pmu.c perf: arm_dmc620: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm_dsu_pmu.c perf: arm_dsu: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm_pmu_acpi.c arm_pmu: acpi: Add a representative platform device for TRBE 2023-08-18 18:07:10 +01:00
arm_pmu_platform.c drivers/perf: Explicitly include correct DT includes 2023-07-27 13:02:23 +01:00
arm_pmu.c arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs 2023-12-12 09:46:22 +00:00
arm_pmuv3.c arm64: perf: Add support for event counting threshold 2023-12-12 09:46:22 +00:00
arm_smmuv3_pmu.c arm64 updates for 6.9: 2024-03-14 15:35:42 -07:00
arm_spe_pmu.c perf: arm_spe: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm-cci.c perf: arm-cci: Convert to platform remove callback returning void 2024-02-09 15:59:28 +00:00
arm-ccn.c perf: arm-ccn: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm-cmn.c perf/arm-cmn: Avoid placing cpumask on the stack 2024-04-09 16:47:15 +01:00
cxl_pmu.c perf: CXL: fix CPMU filter value mask length 2024-02-20 12:04:07 +00:00
dwc_pcie_pmu.c drivers/perf: add DesignWare PCIe PMU driver 2023-12-13 15:35:28 +00:00
fsl_imx8_ddr_perf.c perf: fsl_imx8_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
fsl_imx9_ddr_perf.c perf: fsl_imx9_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
Kconfig RISC-V Patches for the 6.9 Merge Window 2024-03-22 10:41:13 -07:00
Makefile perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +00:00
marvell_cn10k_ddr_pmu.c perf: marvell_cn10k_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
marvell_cn10k_tad_pmu.c perf: marvell_cn10k_tad: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
qcom_l2_pmu.c perf: qcom_l2: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
qcom_l3_pmu.c perf: qcom: use acpi_device_uid() for fetching _UID 2023-10-20 19:21:14 +02:00
riscv_pmu_legacy.c drivers: perf: ctr_get_width function for legacy is not defined 2024-02-27 12:55:36 -08:00
riscv_pmu_sbi.c drivers: perf: Remove the now superfluous sentinel elements from ctl_table array 2024-04-09 16:34:24 +01:00
riscv_pmu.c drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported 2024-03-26 14:09:18 -07:00
starfive_starlink_pmu.c perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +00:00
thunderx2_pmu.c drivers/perf: thunderx2_pmu: Replace open coded acpi_match_acpi_device() 2024-04-09 16:44:15 +01:00
xgene_pmu.c perf: xgene: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00