Skip to content
Unverified Commit c21f0148 authored by Yangyu Chen's avatar Yangyu Chen Committed by Palmer Dabbelt
Browse files

riscv: mm: fix NOCACHE_THEAD does not set bit[61] correctly

Previous commit dbfbda3b ("riscv: mm: update T-Head memory type
definitions") from patch [1] missed a `<` for bit shifting, result in
bit(61) does not set in _PAGE_NOCACHE_THEAD and leaves bit(0) set instead.
This patch get this fixed.

Link: https://lore.kernel.org/linux-riscv/20230912072510.2510-1-jszhang@kernel.org/

 [1]
Fixes: dbfbda3b ("riscv: mm: update T-Head memory type definitions")
Signed-off-by: default avatarYangyu Chen <cyy@cyyself.name>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarJisheng Zhang <jszhang@kernel.org>
Reviewed-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/tencent_E19FA1A095768063102E654C6FC858A32F06@qq.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 68034138
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment