Re: -next: Traceback at at drivers/spi/spi.c:2179 spi_register_controller

From: Geert Uytterhoeven
Date: Mon Aug 27 2018 - 06:41:32 EST


Hi Guenter,

On Thu, Aug 23, 2018 at 10:08 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> I see the attached warning when booting 'sabrelite' images in qemu,
> using imx_v6_v7_defconfig and imx6dl-sabrelite.dts.
>
> Context suggests that the warning is seen since commit 1a4327fbf4554 ("spi:
> fix IDR collision on systems with both fixed and dynamic SPI bus numbers").
>
> Guenter
>
> ---
> [ 7.105230] ------------[ cut here ]------------
> [ 7.105509] WARNING: CPU: 0 PID: 1 at drivers/spi/spi.c:2179 spi_register_controller+0x7dc/0x938
> [ 7.105760] couldn't get idr

Correct, all SPI controllers instantiated from DT and using DT aliases
are broken.

https://lore.kernel.org/lkml/20180821095303.27664-1-geert+renesas@xxxxxxxxx/

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds