[PATCH] perf: marvell: avoid large stack variables
Will Deacon
will at kernel.org
Sun Oct 4 15:09:13 PDT 2026
On Fri, 25 Sep 2026 15:04:30 +0200, Arnd Bergmann wrote:
> The probe function in this driver constructs multiple large structures
> on the stack, which ends up causing a size warning:
>
> drivers/perf/marvell_cn10k_ddr_pmu.c:1168:12: error: stack frame size (1296) exceeds limit (1280) in 'cn10k_ddr_perf_probe' [-Werror,-Wframe-larger-than]
> 1168 | static int cn10k_ddr_perf_probe(struct platform_device *pdev)
> | ^
>
> [...]
Applied to arm64 (for-next/perf), thanks!
[1/1] perf: marvell: avoid large stack variables
https://git.kernel.org/arm64/c/7e17084177aa
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list