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 14:12:18 +0000 (16:12 +0200)
commit05432462dbb89dd483585a934a8b2652bf87701a
treef6aeabd707f153c0a0c0fed07d50902dd49e02fa
parente7c152a61cc43b6012ed3148605cf0c5546f96ce
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