diff options
author | Alexandre Ghiti <[email protected]> | 2024-08-01 21:14:04 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-08-06 06:49:14 -0700 |
commit | ee9a68394b4bea8b9044ec4bfdbaacf45297ecef (patch) | |
tree | 1d33d2629109d7e8ec56952f8c2cdd2d7ce91503 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed (diff) |
riscv: Re-introduce global icache flush in patch_text_XXX()
commit edf2d546bfd6 ("riscv: patch: Flush the icache right after
patching to avoid illegal insns") mistakenly removed the global icache
flush in patch_text_nosync() and patch_text_set_nosync() functions, so
reintroduce them.
Fixes: edf2d546bfd6 ("riscv: patch: Flush the icache right after patching to avoid illegal insns")
Reported-by: Samuel Holland <[email protected]>
Closes: https://lore.kernel.org/linux-riscv/[email protected]/
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions