diff options
author | julia <midnight@trainwit.ch> | 2025-02-03 17:18:52 +1100 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2025-03-04 15:42:54 +1000 |
commit | 50df464f8e9ddcc5242c058728e12c299c59db02 (patch) | |
tree | 4e5f05317fb148b8c234a3c12b2b60c7404c3145 /tests/functional/qemu_test/linuxkernel.py | |
parent | bda6522e3f9002040fc223c12457b849328a1d39 (diff) | |
download | qemu-50df464f8e9ddcc5242c058728e12c299c59db02.zip qemu-50df464f8e9ddcc5242c058728e12c299c59db02.tar.gz qemu-50df464f8e9ddcc5242c058728e12c299c59db02.tar.bz2 |
target/riscv: log guest errors when reserved bits are set in PTEs
For instance, QEMUs newer than b6ecc63c569bb88c0fcadf79fb92bf4b88aefea8
would silently treat this akin to an unmapped page (as required by the
RISC-V spec, admittedly). However, not all hardware platforms do (e.g.
CVA6) which leads to an apparent QEMU bug.
Instead, log a guest error so that in future, incorrectly set up page
tables can be debugged without bisecting QEMU.
Signed-off-by: julia <midnight@trainwit.ch>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20250203061852.2931556-1-midnight@trainwit.ch>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions