summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xive
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-03-31 16:45:08 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 15:04:14 +0200
commit1835e72942b5aa779c8ada62aaeba03ab66d92c9 (patch)
tree7f54f0e74c0a4e6b3961f3a3006b10c8de9397be /arch/powerpc/sysdev/xive
parentpowerpc/xive: Introduce an IPI interrupt domain (diff)
downloadlinux-1835e72942b5aa779c8ada62aaeba03ab66d92c9.tar.xz
linux-1835e72942b5aa779c8ada62aaeba03ab66d92c9.zip
powerpc/xive: Remove useless check on XIVE_IPI_HW_IRQ
The IPI interrupt has its own domain now. Testing the HW interrupt number is not needed anymore. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210331144514.892250-4-clg@kaod.org
Diffstat (limited to '')
-rw-r--r--arch/powerpc/sysdev/xive/common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c
index e6abc38b8b40..3badef7ec91a 100644
--- a/arch/powerpc/sysdev/xive/common.c
+++ b/arch/powerpc/sysdev/xive/common.c
@@ -1421,13 +1421,12 @@ static void xive_flush_cpu_queue(unsigned int cpu, struct xive_cpu *xc)
struct irq_desc *desc = irq_to_desc(irq);
struct irq_data *d = irq_desc_get_irq_data(desc);
struct xive_irq_data *xd;
- unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d);
/*
* Ignore anything that isn't a XIVE irq and ignore
* IPIs, so can just be dropped.
*/
- if (d->domain != xive_irq_domain || hw_irq == XIVE_IPI_HW_IRQ)
+ if (d->domain != xive_irq_domain)
continue;
/*