On Sun, Sep 27, 2026 at 9:29 AM Alex Deucher <[email protected]> wrote:
>
> On Sat, Sep 26, 2026 at 6:37 AM Thorsten Leemhuis
> <[email protected]> wrote:
> >
> > On 9/26/26 05:59, KernelCI bot wrote:
> > > New build issue found on mainline/master:
> > >
> > > ---
> > > stack frame size (3096) exceeds limit (3072) in 
> > > 'dml_core_mode_programming' [-Werror,-Wframe-larger-than] in 
> > > drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.o
> > >  
> > > (drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c)
> > >  [logspec:kbuild,kbuild.compiler.error]
> > > ---
> > >
> > > Log excerpt:
> > > =====================================================
> > > /tmp/kci/linux/drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c:10513:13:
> > >  error: stack frame size (3096) exceeds limit (3072) in 
> > > 'dml_core_mode_programming' [-Werror,-Wframe-larger-than]
> > >  10513 | static bool dml_core_mode_programming(struct 
> > > dml2_core_calcs_mode_programming_ex *in_out_params)
> > >        |             ^
> > > 1 error generated.
> >
> > Hmmm, there are known "stack frame size [...] exceeds limit" problems in
> > -next that should soon be fixed there, see:
> > https://lore.kernel.org/all/cadnq5_mfmrir-b3ex0mtzshpdgubgwoobgumejj9cjqdmdm...@mail.gmail.com/
> >
> > But this error is new -- and happens in mainline. Wondering if this is
> > caused by a fix for those problems.
>
> + Leo, Alex
>
> Looks like some combination of compiler and/or config options explodes
> the stack even further than the recent changes handled.

Should be fixed with this patch:
https://patchwork.freedesktop.org/patch/756590/?series=175063&rev=1

Alex

>
> Alex
>
> >
> > CCing Alex and Christian in case this is really something new they want
> > to know about.
> >
> > Ciao, Thorsten
> >
> > > =====================================================
> > >
> > > When fixing this issue, please attribute this report according to the
> > > patch submission rules:
> > >
> > > Reported-by: kernelci.org bot <[email protected]>
> > > Link: 
> > > https://lore.kernel.org/all/[email protected]/
> > >
> > > For complete logs and details about the environment used, see the issue
> > > on the KernelCI dashboard:
> > >
> > > - dashboard: 
> > > https://d.kernelci.org/i/maestro:24dc0670f5eb776888969170a199e08b7f23f99b
> > > - giturl: 
> > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > - commit HEAD:  6812ce4e4379ffc99c52401ec28f0d7ffbc36206
> > >
> > > # Builds where the incident occurred:
> > >
> > > ## x86_64_defconfig+allmodconfig on (x86_64):
> > > - compiler: clang-21
> > > - config: None
> > > - dashboard: https://d.kernelci.org/build/maestro:6ab70c1f5ec73975aade9d6e
> > >
> > > #regzbot introduced: 
> > > f14572c203d57492e1d4e5d7851a3b143e083b82..6812ce4e4379ffc99c52401ec28f0d7ffbc36206
> > > #regzbot link: 
> > > https://d.kernelci.org/i/maestro:24dc0670f5eb776888969170a199e08b7f23f99b
> > >
> > > #kernelci issue maestro:24dc0670f5eb776888969170a199e08b7f23f99b
> > >
> > > --
> > > This is an experimental report format. Please send feedback in!
> > > Talk to us at [email protected]
> > >
> > > Made with love by the KernelCI team - https://kernelci.org
> >

Reply via email to