Skip to content
Commit f51d89df authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Carles Cufí
Browse files

riscv: pmp: work around a QEMU bug

The NAPOT mode isn't computed properly in qemu when the full address
range is covered. Let's hardcode the value that the qemu code checks
explicitly until the appropriate fix is applied to qemu itself.

For reference, here's the qemu patch:
https://lists.gnu.org/archive/html/qemu-devel/2022-04/msg00961.html



Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 5e002e8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment