powerpc: add link stack flush mitigation status in debugfs.
authorMichal Suchanek <msuchanek@suse.de>
Wed, 27 Nov 2019 22:09:59 +0000 (23:09 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 31 Jan 2022 02:45:23 +0000 (13:45 +1100)
commitb2a6f6043577e09d51a4b5577fff9fc9f5b14b1c
tree919936f32349b0b57060345b1947fd46c6762b4f
parent279d1a72c0f8021520f68ddb0a1346ff9ba1ea8c
powerpc: add link stack flush mitigation status in debugfs.

The link stack flush status is not visible in debugfs. It can be enabled
even when count cache flush is disabled. Add separate file for its
status.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
[mpe: Update for change to link_stack_flush_type]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191127220959.6208-1-msuchanek@suse.de
arch/powerpc/kernel/security.c