aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xive/xive-internal.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-11-05 11:26:35 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-25 11:25:31 +1100
commit1e7684dc4fc70271c8bf86d397bd4fbfb3581e65 (patch)
tree5a1d7f358d1583a33998b7bf5422d6eccfd671e6 /arch/powerpc/sysdev/xive/xive-internal.h
parentpowerpc/xive: Add a kernel parameter for StoreEOI (diff)
downloadlinux-dev-1e7684dc4fc70271c8bf86d397bd4fbfb3581e65.tar.xz
linux-dev-1e7684dc4fc70271c8bf86d397bd4fbfb3581e65.zip
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
Diffstat (limited to 'arch/powerpc/sysdev/xive/xive-internal.h')
-rw-r--r--arch/powerpc/sysdev/xive/xive-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/xive/xive-internal.h b/arch/powerpc/sysdev/xive/xive-internal.h
index 504e7edce358..e0941bc64430 100644
--- a/arch/powerpc/sysdev/xive/xive-internal.h
+++ b/arch/powerpc/sysdev/xive/xive-internal.h
@@ -72,5 +72,6 @@ static inline u32 xive_alloc_order(u32 queue_shift)
}
extern bool xive_cmdline_disabled;
+extern bool xive_has_save_restore;
#endif /* __XIVE_INTERNAL_H */