irqchip/apple-aic: Switch to irq_domain_create_tree and sparse hwirqs
authorHector Martin <marcan@marcan.st>
Tue, 7 Dec 2021 10:53:07 +0000 (19:53 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 18 Jan 2022 11:20:14 +0000 (20:20 +0900)
commit017bb9053202cfe203a2d9deba4841fb248f9884
tree2df85c30af888e3713d0302d13e615b196882809
parent997fe6aafa6d230d06555e00a24000fe2ac18a03
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>
drivers/irqchip/irq-apple-aic.c