Skip to content

Commit 29ac179

Browse files
committed
irqchip: bcm2712-mip: Enable default EOI/ACK funcs
Following [1], any MSI irqchip requiring the default EOI and ACK handlers must request them using the chip_flags field. Enable these handlers for the BCM2712 MIP MSI target. Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] commit 1c000dc ("irqchip/irq-msi-lib: Optionally set default irq_eoi()/irq_ack()")
1 parent fd22230 commit 29ac179

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-bcm2712-mip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ static const struct irq_domain_ops mip_middle_domain_ops = {
163163
static const struct msi_parent_ops mip_msi_parent_ops = {
164164
.supported_flags = MIP_MSI_FLAGS_SUPPORTED,
165165
.required_flags = MIP_MSI_FLAGS_REQUIRED,
166+
.chip_flags = MSI_CHIP_FLAG_SET_EOI | MSI_CHIP_FLAG_SET_ACK,
166167
.bus_select_token = DOMAIN_BUS_GENERIC_MSI,
167168
.bus_select_mask = MATCH_PCI_MSI,
168169
.prefix = "MIP-MSI-",

0 commit comments

Comments
 (0)