[PATCH v3] irqchip/riscv-aplic: fix asynchronous probing
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Wed Oct 14 23:32:27 PDT 2026
On 2026-10-15 09:19:26 [+0300], Vladimir Kondratiev wrote:
> Not exactly, "driver_async_probe=*" in bootargs request only drivers that has
> PROBE_DEFAULT_STRATEGY to be probed asynchronously.
okay.
> > I would not expect the MSI domain to be probed after kernel booting via
> > a module. This is the scenario where this would explode.
> > And if you consider this a problem you should address it and denote it
> > in the commit description as such and not silently changing it as part
> > of another change without any explanation.
>
> OK, will add explanation for this.
> This driver can't be a module, it is "builtin_platform_driver(aplic_driver);"
> but still probe may be deferred if of node has "msi-parent", see
> aplic_msi_setup() - it can return -EPROBE_DEFER;
The driver providing MSI capabilities (the MSI domain for this device)
must a module. This is the requirement so that _this_ driver returns
EPROBE_DEFER and *then* once the MSI domain driver is loaded as a module
(after boot) this driver is probed again and succeeds.
> Thanks, Vladimir
Sebastian
More information about the linux-riscv
mailing list