diff options
author | Russell Currey <ruscur@russell.cc> | 2020-11-17 16:59:11 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-19 23:47:12 +1100 |
commit | fcb48454c23c5679d1a2e252f127642e91b05cbe (patch) | |
tree | dce94d41fdb52ee4373e3017840f673957ed8c73 /arch/powerpc/kernel/vmlinux.lds.S | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) | |
download | linux-fcb48454c23c5679d1a2e252f127642e91b05cbe.tar.bz2 |
selftests/powerpc: rfi_flush: disable entry flush if present
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: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions