irqchip/apple-aic: Switch to irq_domain_create_tree and sparse hwirqs
authorHector Martin <marcan@marcan.st>
Wed, 9 Mar 2022 19:21:20 +0000 (04:21 +0900)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Mar 2022 08:59:46 +0000 (08:59 +0000)
commit7c841f5f6fa3f991cb76b96cd2378337a74011b3
treee7e67c5e027b2273f273045a9eb6b9cd7095d165
parent2cf68211664acd2e4bdd1fb66697137b30901981
irqchip/apple-aic: Switch to irq_domain_create_tree and sparse hwirqs

This allows us to directly use the hardware event number as the hwirq
number. Since IRQ events have bit 16 set (type=1), FIQs now move to
starting at hwirq number 0.

This will become more important once multi-die support is introduced in
a later commit.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220309192123.152028-5-marcan@marcan.st
drivers/irqchip/irq-apple-aic.c