powerpc/xive: Add a debugfs toggle for save-restore
authorCédric Le Goater <clg@kaod.org>
Fri, 5 Nov 2021 10:26:35 +0000 (11:26 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:31 +0000 (11:25 +1100)
commit1e7684dc4fc70271c8bf86d397bd4fbfb3581e65
tree5a1d7f358d1583a33998b7bf5422d6eccfd671e6
parentc21ee04f11ae068aa132cce56d09f618d4a66259
powerpc/xive: Add a debugfs toggle for save-restore

On POWER10, the automatic "save & restore" of interrupt context is
always available. Provide a way to deactivate it for tests or
performance.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211105102636.1016378-11-clg@kaod.org
arch/powerpc/sysdev/xive/common.c
arch/powerpc/sysdev/xive/native.c
arch/powerpc/sysdev/xive/xive-internal.h