powerpc/xive: Fix xmon support on the PowerNV platform
authorCédric Le Goater <clg@kaod.org>
Fri, 6 Mar 2020 15:01:41 +0000 (16:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:23 +0000 (10:50 +0200)
commited6f6b2b39afa6ce2d73f9241808aed211e2b347
tree8d3308095cf370b05833cd993b8677119645657f
parent1ab730b659463dd4f3d0cf1f9134285be0ec88f1
powerpc/xive: Fix xmon support on the PowerNV platform

commit 97ef275077932c65b1b8ec5022abd737a9fbf3e0 upstream.

The PowerNV platform has multiple IRQ chips and the xmon command
dumping the state of the XIVE interrupt should only operate on the
XIVE IRQ chip.

Fixes: 5896163f7f91 ("powerpc/xmon: Improve output of XIVE interrupts")
Cc: stable@vger.kernel.org # v5.4+
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/20200306150143.5551-3-clg@kaod.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/sysdev/xive/common.c