[PATCH 0/1] riscv: Fix P4D_SHIFT definition for 3-level page table mode

Alexandre Ghiti alexghiti at rivosinc.com
Thu Dec 1 05:51:27 PST 2022


+cc linux-mm since I'm struggling to know how bad is this issue and
if this should be picked for 6.1-rc8 or not.

I tested this fix on an Ubuntu kernel in sv39 mode without any issue
but the version without the fix seems to work fine too, either this is
not a real issue or I don't exercise the right thing to make it visible.

Any help appreciated!

Alexandre Ghiti (1):
  riscv: Fix P4D_SHIFT definition for 3-level page table mode

 arch/riscv/include/asm/pgtable-64.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.37.2




More information about the linux-riscv mailing list