summaryrefslogtreecommitdiff
path: root/arch/riscv/configs
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-01-30 17:04:19 +0000
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-03-03 10:28:10 -0800
commitab70a73aa45beccab01cc0bb1d920361e3642393 (patch)
tree0141b2e6ae2a2dd726e4d7867de6fbec6ad677d3 /arch/riscv/configs
parent98d54f81e36ba3bf92172791eba5ca5bd813989b (diff)
riscv: Use flush_icache_mm for flush_icache_user_range
The only call path is: __access_remote_vm -> copy_to_user_page -> flush_icache_user_range Seems it's ok to use flush_icache_mm instead of flush_icache_all and it could reduce flush_icache_all called on other harts. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> [Palmer: git-am wouldn't apply the patch, I did so manually] Fixes: 08f051eda33b ("RISC-V: Flush I$ when making a dirty page executable") Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/configs')
0 files changed, 0 insertions, 0 deletions