diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2024-02-29 15:10:56 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-04-17 04:27:47 +0300 |
commit | c97bf629963e52b205ed5fbaf151e5bd342f9c63 (patch) | |
tree | 87bc3f31fc0badf08ea02ae6516ad49055cdcf6c /scripts/lib/kdoc/kdoc_files.py | |
parent | 29cee75fb66e6f2845360e0598974253bf79181a (diff) | |
download | linux-c97bf629963e52b205ed5fbaf151e5bd342f9c63.tar.xz |
riscv: Fix text patching when IPI are used
For now, we use stop_machine() to patch the text and when we use IPIs for
remote icache flushes (which is emitted in patch_text_nosync()), the system
hangs.
So instead, make sure every CPU executes the stop_machine() patching
function and emit a local icache flush there.
Co-developed-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20240229121056.203419-3-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions