target/riscv: Fix medeleg[11] read-only zero bit for M-mode ECALL
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | target/riscv: Fix medeleg[11] read-only zero bit for M-mode ECALLtarget/ | +4 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] target/riscv: Fix medeleg[11] read-only zero bit for M-mode ECALL
This patch ensures that the read-only zero bit (i.e. the 11th bit) of medeleg remains zero, adhering the RISC-V specification.
I'm a first time contributor. I was a bit confused when it came to writing tests for this. However, I did debug it via gdb myself and confirmed the patch works. I would like to seek guidance on how can I add a test for CSR issues like this -- or if it's even required in this specific case.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/3438
Abhigyan Kumar (1):
target/riscv: Fix medeleg[11] read-only zero bit for M-mode ECALL
target/riscv/csr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.54.0