Files
linux/drivers
Mathias Kresin c530b17272 irqchip/mips-cpu: Set IPI domain parent chip
commit 599b3063ad upstream.

Since commit 5556797662 ("genirq/irqdomain: Allow partial trimming of
irq_data hierarchy") the irq_data chain is valided.

The irq_domain_trim_hierarchy() function doesn't consider the irq + ipi
domain hierarchy as valid, since the ipi domain has the irq domain set
as parent, but the parent domain has no chip set. Hence the boot ends in
a kernel panic.

Set the chip for the parent domain as it is done in the mips gic irq
driver, to have a valid irq_data chain.

Fixes: 3838a547fd ("irqchip: mips-cpu: Introduce IPI IRQ domain support")
Cc: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210107213603.1637781-1-dev@kresin.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 11:55:13 +01:00
..
2021-01-27 11:55:12 +01:00
2021-01-06 14:56:56 +01:00
2021-01-27 11:55:09 +01:00
2020-12-03 10:00:23 +01:00
2021-01-19 18:27:26 +01:00
2021-01-17 14:17:03 +01:00
2021-01-27 11:54:57 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2021-01-27 11:54:59 +01:00