Skip to content
Commit 88573389 authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Anup Patel
Browse files

riscv: Fix missing PAGE_PFN_MASK



There are a bunch of functions that use the PFN from a page table entry
that end up with the svpbmt upper-bits because they are missing the newly
introduced PAGE_PFN_MASK which leads to wrong addresses conversions and
then crash: fix this by adding this mask.

Fixes: 100631b4 ("riscv: Fix accessing pfn bits in PTEs for non-32bit variants")
Signed-off-by: default avatarAlexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: default avatarAnup Patel <anup@brainfault.org>
parent 32346491
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment