diff options
author | Russell Currey <[email protected]> | 2020-11-17 16:59:11 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-11-19 23:47:12 +1100 |
commit | fcb48454c23c5679d1a2e252f127642e91b05cbe (patch) | |
tree | dce94d41fdb52ee4373e3017840f673957ed8c73 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) |
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 <[email protected]>
Signed-off-by: Russell Currey <[email protected]>
Signed-off-by: Daniel Axtens <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions