Re: [Regression] depmod fails on kernel 6.17.1 rc1

From: Stephen Rothwell
Date: Sat Nov 08 2025 - 18:59:30 EST


Hi Jiri,

On Fri, 7 Nov 2025 07:20:26 +0100 Jiri Slaby <jirislaby@xxxxxxxxxx> wrote:
>
> On 06. 11. 25, 19:00, Ilpo Järvinen wrote:
> > This seems to resolve the build issue for me:
> >
> > --
> > From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> > Subject: [PATCH 1/1] serial: 8250: Fix 8250_rsa symbol loop
> >
> > make allmodconfig build fails due to dependency loop:
> >
> > depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
> > depmod: ERROR: Found 2 modules in dependency cycles!
> >
> > Break dependency loop by moving 8250_rsa.o into 8250_base and by
> > passing univ8250_port_base_ops to univ8250_rsa_support() that can make
> > a local copy of it.
> >
> > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > Reported-by: Alex Davis <alex47794@xxxxxxxxx>
> > Fixes: b20d6576cdb3 ("serial: 8250: export RSA functions")
> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
>
> LGTM, thanks for the fix.
>
> Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>
>
> If the reporters could give it a shot and mark this by Tested-by, it would be great...

I have not seen this for quite some time ... I assumed it had been
fixed.
--
Cheers,
Stephen Rothwell

Attachment: pgp9iNMRUSB_f.pgp
Description: OpenPGP digital signature