diff options
author | Russell Currey <ruscur@russell.cc> | 2020-11-20 10:35:12 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-22 10:14:10 +0100 |
commit | bcf7f2d3fcec8a47ddfee6d8801ab57162922480 (patch) | |
tree | a9325d07ee4a10df1bc5abbcc9aa64c690d1e76a /Documentation/admin-guide | |
parent | 315443293a2d0d7c183ca6dd4624d9e4f8a7054a (diff) |
selftests/powerpc: rfi_flush: disable entry flush if present
commit fcb48454c23c5679d1a2e252f127642e91b05cbe upstream.
We are about to add an entry flush. The rfi (exit) flush test measures
the number of L1D flushes over a syscall with the RFI flush enabled and
disabled. But if the entry flush is also enabled, the effect of enabling
and disabling the RFI flush is masked.
If there is a debugfs entry for the entry flush, disable it during the RFI
flush and restore it later.
Reported-by: Spoorthy S <spoorts2@in.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions