[PATCH] irqchip/riscv-aplic: Fix crash when MSI domain is missing
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Wed Dec 11 14:33:25 PST 2024
Hello:
This patch was applied to riscv/linux.git (fixes)
by Thomas Gleixner <tglx at linutronix.de>:
On Thu, 14 Nov 2024 12:01:30 -0800 you wrote:
> If the APLIC driver is probed before the IMSIC driver, the parent MSI
> domain will be missing, which causes a NULL pointer dereference in
> msi_create_device_irq_domain(). Avoid this by deferring probe until the
> parent MSI domain is available. Use dev_err_probe() to avoid printing an
> error message when returning -EPROBE_DEFER.
>
> Fixes: ca8df97fe679 ("irqchip/riscv-aplic: Add support for MSI-mode")
> Signed-off-by: Samuel Holland <samuel.holland at sifive.com>
>
> [...]
Here is the summary with links:
- irqchip/riscv-aplic: Fix crash when MSI domain is missing
https://git.kernel.org/riscv/c/1f181d1cda56
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list