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)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:32:45 +0000 (10:32 -0700)
commit34ad3c5b32f6e7229ef2f45df0903db969dc9e78
treea7d68218bcdf8088be629e02f756bbfc215ac360
parent69af4ab8eb1e73a10cdcf8f0b35ca9268fa57602
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