forked from riscv-software-src/opensbi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware: payload: Add a test case to trigger PMP access failure
This adds a payload test case to trigger PMP check failure. It sets up 2GiB virtual to physical address translation, but after satp is written with sv39 on, immediately the core raises a PMP access failure. Disabling PMP region 0 makes this issue disappear. PMP0: 0x0000000080000000-0x000000008001ffff (A) This case is not reproducible on QEMU, but on real hardware. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
- Loading branch information
Showing
1 changed file
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters