irqchip: irq-bcm2712-mip: Support for 2712's MIP
authorPhil Elwell <phil@raspberrypi.com>
Wed, 28 Jul 2021 10:13:39 +0000 (11:13 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:42 +0000 (11:33 +0000)
commit0fa5551bc0cd5711094f6b34f541298e04d3879e
treedbe7dbc7eb591d66e7b1e70e1826c76e065085fa
parent7e231d0763ef47923c6de9eaa60bb1c48ac41707
irqchip: irq-bcm2712-mip: Support for 2712's MIP

irqchip: irq-bcm2712-mip: specify bitmap search size as ilog2(N) not N

Freeing also has the same interface.

irqchip: irq-bcm2712-mip: Fix build warnings

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
irqchip: bcm2712-mip: add a quick hack to optionally shift MSI vectors

There are two MIP peripherals in bcm2712, the first gets a first-class
treatment where 64 consecutive GIC SPIs are assigned to all 64 output
vectors. The second gets an agglomeration of 17 GIC SPIs, but only 8 of
these are consecutive starting at the 8th output vector.

For now, allow the use of this smaller contiguous range within a larger
whole.

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-bcm2712-mip.c [new file with mode: 0644]