aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xive/common.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-07-19 00:37:57 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-19 00:37:57 -0400
commitce57c6610cc2d7cde61fc005a2d2090bce46fc73 (patch)
treebe1230fb1773e3de7fb7f6a0adde68ca0468273e /arch/powerpc/sysdev/xive/common.c
parent9c3250a127901c93b23723dc5859c71a0d068fb8 (diff)
parenta68bd1267b7286b1687905651b404e765046de25 (diff)
Merge branch 'topic/ppc-kvm' into next
Merge in some commits we're sharing with the KVM tree. I manually propagated the change from commit d3d4ffaae439 ("powerpc/powernv/ioda2: Reduce upper limit for DMA window size") into pci-ioda-tce.c. Conflicts: arch/powerpc/include/asm/cputable.h arch/powerpc/platforms/powernv/pci-ioda.c arch/powerpc/platforms/powernv/pci.h
Diffstat (limited to 'arch/powerpc/sysdev/xive/common.c')
-rw-r--r--arch/powerpc/sysdev/xive/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c
index 3459015092fa..4758173df426 100644
--- a/arch/powerpc/sysdev/xive/common.c
+++ b/arch/powerpc/sysdev/xive/common.c
@@ -319,7 +319,7 @@ void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd)
319 * The FW told us to call it. This happens for some 319 * The FW told us to call it. This happens for some
320 * interrupt sources that need additional HW whacking 320 * interrupt sources that need additional HW whacking
321 * beyond the ESB manipulation. For example LPC interrupts 321 * beyond the ESB manipulation. For example LPC interrupts
322 * on P9 DD1.0 need a latch to be clared in the LPC bridge 322 * on P9 DD1.0 needed a latch to be clared in the LPC bridge
323 * itself. The Firmware will take care of it. 323 * itself. The Firmware will take care of it.
324 */ 324 */
325 if (WARN_ON_ONCE(!xive_ops->eoi)) 325 if (WARN_ON_ONCE(!xive_ops->eoi))
@@ -337,9 +337,9 @@ void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd)
337 * This allows us to then do a re-trigger if Q was set 337 * This allows us to then do a re-trigger if Q was set
338 * rather than synthesizing an interrupt in software 338 * rather than synthesizing an interrupt in software
339 * 339 *
340 * For LSIs, using the HW EOI cycle works around a problem 340 * For LSIs the HW EOI cycle is used rather than PQ bits,
341 * on P9 DD1 PHBs where the other ESB accesses don't work 341 * as they are automatically re-triggred in HW when still
342 * properly. 342 * pending.
343 */ 343 */
344 if (xd->flags & XIVE_IRQ_FLAG_LSI) 344 if (xd->flags & XIVE_IRQ_FLAG_LSI)
345 xive_esb_read(xd, XIVE_ESB_LOAD_EOI); 345 xive_esb_read(xd, XIVE_ESB_LOAD_EOI);