diff options
| author | Marc Zyngier <[email protected]> | 2021-08-02 16:26:19 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-08-02 16:53:05 +0000 |
| commit | d21faba11693c10072ce3b96b696445175f49be2 (patch) | |
| tree | f7a1957afc5a3db45f0e1456afffcbdd86e44b5c /drivers/pci/controller/pcie-iproc-msi.c | |
| parent | Linux 5.14-rc1 (diff) | |
| download | kernel-d21faba11693c10072ce3b96b696445175f49be2.tar.gz kernel-d21faba11693c10072ce3b96b696445175f49be2.zip | |
PCI: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either
generic_handle_irq(irq_find_mapping()) or
generic_handle_irq(irq_linear_revmap()) to a single call to
generic_handle_domain_irq().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pcie-iproc-msi.c')
| -rw-r--r-- | drivers/pci/controller/pcie-iproc-msi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/controller/pcie-iproc-msi.c b/drivers/pci/controller/pcie-iproc-msi.c index 35a82124a126..757b7fbcdc59 100644 --- a/drivers/pci/controller/pcie-iproc-msi.c +++ b/drivers/pci/controller/pcie-iproc-msi.c @@ -326,7 +326,6 @@ static void iproc_msi_handler(struct irq_desc *desc) struct iproc_msi *msi; u32 eq, head, tail, nr_events; unsigned long hwirq; - int virq; chained_irq_enter(chip, desc); @@ -362,8 +361,7 @@ static void iproc_msi_handler(struct irq_desc *desc) /* process all outstanding events */ while (nr_events--) { hwirq = decode_msi_hwirq(msi, eq, head); - virq = irq_find_mapping(msi->inner_domain, hwirq); - generic_handle_irq(virq); + generic_handle_domain_irq(msi->inner_domain, hwirq); head++; head %= EQ_LEN; |
