summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-01-21 12:43:43 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-21 12:43:43 +0100
commit5400fc229e6078a6964b15fb98e9a994df3d642a (patch)
treeeaaed61828654237ace607f45b5ba3aa42ce1160 /arch/powerpc/sysdev
parentpowerpc: Enable support for ibm,drc-info devtree property (diff)
parentpowerpc/mm: Remove unused flag arg in global_invalidates (diff)
downloadlinux-5400fc229e6078a6964b15fb98e9a994df3d642a.tar.xz
linux-5400fc229e6078a6964b15fb98e9a994df3d642a.zip
Merge branch 'topic/ppc-kvm' into next
Merge the topic branch we share with kvm-ppc, this brings in two xive commits, one from Paul to rework HMI handling, and a minor cleanup to drop an unused flag.
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/xive/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c
index 838ebdbfe4c5..40c06110821c 100644
--- a/arch/powerpc/sysdev/xive/common.c
+++ b/arch/powerpc/sysdev/xive/common.c
@@ -367,7 +367,8 @@ static void xive_irq_eoi(struct irq_data *d)
* EOI the source if it hasn't been disabled and hasn't
* been passed-through to a KVM guest
*/
- if (!irqd_irq_disabled(d) && !irqd_is_forwarded_to_vcpu(d))
+ if (!irqd_irq_disabled(d) && !irqd_is_forwarded_to_vcpu(d) &&
+ !(xd->flags & XIVE_IRQ_NO_EOI))
xive_do_source_eoi(irqd_to_hwirq(d), xd);
/*