]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: ftrace: do not use stop_machine to update code
authorAndy Chiu <andy.chiu@sifive.com>
Mon, 7 Apr 2025 18:08:30 +0000 (02:08 +0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 5 Jun 2025 18:09:26 +0000 (11:09 -0700)
commit5aa4ef95588456df5a5563dd23892827f97fb14f
treebf6b22194412da6bc0df7af242e42b6737decf9f
parentb2137c3b6d7a45622967aac78b46a4bd2cff6c42
riscv: ftrace: do not use stop_machine to update code

Now it is safe to remove dependency from stop_machine() for us to patch
code in ftrace.

Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20250407180838.42877-6-andybnac@gmail.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/kernel/ftrace.c