aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/feature-fixups.c
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2020-11-17 16:59:11 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2020-11-19 23:47:12 +1100
commitfcb48454c23c5679d1a2e252f127642e91b05cbe (patch)
treedce94d41fdb52ee4373e3017840f673957ed8c73 /arch/powerpc/lib/feature-fixups.c
parentLinux 5.10-rc2 (diff)
downloadlinux-dev-fcb48454c23c5679d1a2e252f127642e91b05cbe.tar.xz
linux-dev-fcb48454c23c5679d1a2e252f127642e91b05cbe.zip
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/lib/feature-fixups.c')
0 files changed, 0 insertions, 0 deletions