]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: introduce ioremap_wc()
authorYunhui Cui <cuiyunhui@bytedance.com>
Tue, 22 Jul 2025 09:15:04 +0000 (17:15 +0800)
committerPaul Walmsley <pjw@kernel.org>
Tue, 16 Sep 2025 22:24:27 +0000 (16:24 -0600)
commit3a8ee3a9f4f6caca192fd2fdc88c1ce56c521b38
tree26c59d74ae7c49a03537e3b207df07f301f4f306
parenta03ee11b8f850bd008226c6d392da24163dfb56e
riscv: introduce ioremap_wc()

Compared with IO attributes, NC attributes can improve performance,
specifically in these aspects: Relaxed Order, Gathering, Supports Read
Speculation, Supports Unaligned Access.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250722091504.45974-2-cuiyunhui@bytedance.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/asm/io.h
arch/riscv/include/asm/pgtable.h