]> git.ipfire.org Git - thirdparty/linux.git/commit
RISC-V: Enable cbo.clean/flush in usermode
authorYunhui Cui <cuiyunhui@bytedance.com>
Wed, 26 Feb 2025 06:32:04 +0000 (14:32 +0800)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 12:35:14 +0000 (12:35 +0000)
commitde70b532f91bbcfa9f4100f1a2cd62810c799239
tree33a2d525f12800104ccde3748ab3c31ec45fb954
parent2f2cd9f33435834a6dfca406bb121ff9a885fb23
RISC-V: Enable cbo.clean/flush in usermode

Enabling cbo.clean and cbo.flush in user mode makes it more
convenient to manage the cache state and achieve better performance.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Link: https://lore.kernel.org/r/20250226063206.71216-2-cuiyunhui@bytedance.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/cpufeature.c