[PATCH 3/9] PCI/MSI: Provide default retrigger callback

From: Marc Zyngier
Date: Mon Aug 24 2020 - 06:24:04 EST


Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
drivers/pci/msi.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 30ae4ffda5c1..c4d31ce2d951 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -1446,6 +1446,8 @@ static void pci_msi_domain_update_chip_ops(struct msi_domain_info *info)
chip->irq_mask = pci_msi_mask_irq;
if (!chip->irq_unmask)
chip->irq_unmask = pci_msi_unmask_irq;
+ if (!chip->irq_retrigger)
+ chip->irq_retrigger = irq_chip_retrigger_hierarchy;
}

/**
--
2.27.0