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

From: Alexandre Ghiti
Date: Thu Dec 01 2022 - 08:52:26 EST


+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