powerpc/xive: Simplify xive_core_debug_show()
authorCédric Le Goater <clg@kaod.org>
Wed, 31 Mar 2021 14:45:09 +0000 (16:45 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:14 +0000 (23:04 +1000)
commit5159d9872823230669b7949ba3caf18c4c314846
tree71a1e2795083d19d14aac4593161117feb120d42
parent1835e72942b5aa779c8ada62aaeba03ab66d92c9
powerpc/xive: Simplify xive_core_debug_show()

Now that the IPI interrupt has its own domain, the checks on the HW
interrupt number XIVE_IPI_HW_IRQ and on the chip can be replaced by a
check on the domain.

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