Message ID | 20200824102317.1038259-4-maz@kernel.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | irqchip/gic: generalize use of HW-based retriggering | expand |
On Mon, Aug 24, 2020 at 11:23:11AM +0100, Marc Zyngier wrote: > Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Bjorn Helgaas <bhelgaas@google.com> > --- > 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 >
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; } /**
Signed-off-by: Marc Zyngier <maz@kernel.org> --- drivers/pci/msi.c | 2 ++ 1 file changed, 2 insertions(+)