[PATCH v4.4 backport 16/16] powerpc/64s: Allow control of RFI flush via debugfs
Greg KH
greg at kroah.com
Sun Feb 4 22:07:17 AEDT 2018
On Sun, Feb 04, 2018 at 04:00:10PM +1100, Michael Ellerman wrote:
> commit 236003e6b5443c45c18e613d2b0d776a9f87540e upstream.
>
> Expose the state of the RFI flush (enabled/disabled) via debugfs, and
> allow it to be enabled/disabled at runtime.
>
> eg: $ cat /sys/kernel/debug/powerpc/rfi_flush
> 1
> $ echo 0 > /sys/kernel/debug/powerpc/rfi_flush
> $ cat /sys/kernel/debug/powerpc/rfi_flush
> 0
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> Reviewed-by: Nicholas Piggin <npiggin at gmail.com>
> ---
> arch/powerpc/kernel/setup_64.c | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
Also applied to 4.9.y and 4.14.y, thanks.
greg k-h
More information about the Linuxppc-dev
mailing list