mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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
This commit is contained in:
committed by
Michael Ellerman
parent
c21ee04f11
commit
1e7684dc4f
@@ -1847,6 +1847,7 @@ static void xive_core_debugfs_create(void)
|
||||
&xive_eq_debug_fops);
|
||||
}
|
||||
debugfs_create_bool("store-eoi", 0600, xive_dir, &xive_store_eoi);
|
||||
debugfs_create_bool("save-restore", 0600, xive_dir, &xive_has_save_restore);
|
||||
}
|
||||
#else
|
||||
static inline void xive_core_debugfs_create(void) { }
|
||||
|
||||
Reference in New Issue
Block a user