[PATCH] PCI: mvebu: Dispose INTx irqs prior to removing INTx domain
Marek Behún
kabel at kernel.org
Mon Jul 11 04:44:18 PDT 2022
On Sat, 9 Jul 2022 18:18:58 +0200
Pali Rohár <pali at kernel.org> wrote:
> Documentation for irq_domain_remove() says that all mapping within the
> domain must be disposed prior to domain remove.
>
> Currently INTx irqs are not disposed in pci-mvebu.c device unbind callback
> which cause that kernel crashes after unloading driver and trying to read
> /sys/kernel/debug/irq/irqs/<num> or /proc/interrupts.
>
> Fixes: ec075262648f ("PCI: mvebu: Implement support for legacy INTx interrupts")
> Reported-by: Hajo Noerenberg <hajo-linux-bugzilla at noerenberg.de>
> Signed-off-by: Pali Rohár <pali at kernel.org>
Reviewed-by: Marek Behún <kabel at kernel.org>
More information about the linux-arm-kernel
mailing list