aboutsummaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorMathis Salmen <mathis.salmen@matsal.de>2023-04-06 12:11:31 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2023-04-11 12:52:27 -0700
commit8d736482749f6d350892ef83a7a11d43cd49981e (patch)
tree8b4430f45e2dc1a2b4829f34555933d2145a27cd /.cocciconfig
parent4622f159098e098611f393cccf73d52b007e70bc (diff)
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 <mathis.salmen@matsal.de> Fixes: 6bd33e1ece52 ("riscv: add nommu support") Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20230406101130.82304-1-mathis.salmen@matsal.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions