[PATCH] irqchip: let the probe of APLIC be earlier than IMSIC
Thomas Gleixner
tglx at linutronix.de
Fri Aug 2 03:55:00 PDT 2024
On Fri, Aug 02 2024 at 15:57, Vincent Chen wrote:
> When the debug message of driver/base/dd.c is enabled, the following
> error messages are present in the boot log:
>
> [ 0.207941] platform d000000.aplic: error -EPROBE_DEFER: supplier
> 28000000.imsics not ready
> [ 0.208115] platform d000000.aplic: Added to deferred list
Deferred probing is not an error.
> The reason for this error message is that the probe of APLIC is executed
> earlier than IMSIC. This error also causes all the platform devices
> connected to the APLIC to be added to the deferred list. Because both
> APLIC and IMSIC are registered by device_initcall, this patch adjusts the
> compile order of APLIC and IMSIC to ensure that the probe of IMSIC is
> executed earlier than the probe of APLIC.
And no we are not playing silly ordering games just to suppress a debug
output.
Thanks,
tglx
More information about the linux-riscv
mailing list