diff options
| author | Mathis Salmen <[email protected]> | 2023-04-06 10:11:31 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-04-11 19:52:27 +0000 |
| commit | 8d736482749f6d350892ef83a7a11d43cd49981e (patch) | |
| tree | 8b4430f45e2dc1a2b4829f34555933d2145a27cd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | Merge patch series "RISC-V: Fixes for riscv_has_extension[un]likely()'s alter... (diff) | |
| download | kernel-8d736482749f6d350892ef83a7a11d43cd49981e.tar.gz kernel-8d736482749f6d350892ef83a7a11d43cd49981e.zip | |
riscv: add icache flush for nommu sigreturn trampoline
In a NOMMU kernel, sigreturn trampolines are generated on the user
stack by setup_rt_frame. Currently, these trampolines are not instruction
fenced, thus their visibility to ifetch is not guaranteed.
This patch adds a flush_icache_range in setup_rt_frame to fix this
problem.
Signed-off-by: Mathis Salmen <[email protected]>
Fixes: 6bd33e1ece52 ("riscv: add nommu support")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
