powerpc/xive: Simplify the dump of XIVE interrupts under xmon
authorCédric Le Goater <clg@kaod.org>
Wed, 31 Mar 2021 14:45:11 +0000 (16:45 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:14 +0000 (23:04 +1000)
commit6bf66eb8f404050030805c65cf39a810892f5f8e
tree77466dffa47b892cf7c052dc8f71fabaf2ab5cc1
parenta74ce5926b20cd0e6d624a9b2527073a96dfed7f
powerpc/xive: Simplify the dump of XIVE interrupts under xmon

Move the xmon routine under XIVE subsystem and rework the loop on the
interrupts taking into account the xive_irq_domain to filter out IPIs.

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-7-clg@kaod.org
arch/powerpc/include/asm/xive.h
arch/powerpc/sysdev/xive/common.c
arch/powerpc/xmon/xmon.c