projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d34849
)
powerpc/xive: Remove useless check on XIVE_IPI_HW_IRQ
author
Cédric Le Goater
<clg@kaod.org>
Wed, 31 Mar 2021 14:45:08 +0000
(16:45 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:14 +0000
(23:04 +1000)
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
arch/powerpc/sysdev/xive/common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/xive/common.c
b/arch/powerpc/sysdev/xive/common.c
index e6abc38b8b40185a269cadafd7b55cb1497efac0..3badef7ec91ab0922a93ddbd9f41885b3689a5cc 100644
(file)
--- 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;
/*