]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
riscv: smp: Clarify comment "cache" -> "instruction cache"
authorVivian Wang <wangruikang@iscas.ac.cn>
Sun, 5 Apr 2026 00:42:40 +0000 (18:42 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:42:40 +0000 (18:42 -0600)
commit31454cb5f1a37eefe2465601418a978b7668424e
treeba6848e820e530244656ad324e24d1e10194bc8a
parentfe0cf82fdeb318e8b2c78a4142385f42f467ff8c
riscv: smp: Clarify comment "cache" -> "instruction cache"

local_flush_icache_all() only flushes and synchronizes the *instruction*
cache, not the data cache. Since RISC-V does have a cbo.flush
instruction for data cache flush, clarify the comment to avoid
confusion.

Fixes: 58661a30f1bc ("riscv: Flush the instruction cache during SMP bringup")
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
Link: https://patch.msgid.link/20260204-riscv-smp-comment-update-2026-01-v1-2-8b77aa181530@iscas.ac.cn
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/smpboot.c