Skip to content

Fix alignment check for misa write

Vladimir Isaev qemu-devel qemu-riscv 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Use the test from https://lore.kernel.org/r/[email protected],
since it is much more comprehensive than mine.
- Add GUEST_ERROR_LOG on a bad write attempt.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: csr: do not drop C bit on misa writetarget/riscv/tcg/csr.c+7 -31 reply
2/2tests/tcg/riscv64: add misa write testtests/tcg/riscv64/Makefile.softmmu-target tests/tcg/riscv64/test-misa-w.S+92 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisChao Liu
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix alignment check for misa write

Current version disable misa.C on misa write when next instruciton is not aligned, fix it and add test.

Changes from v1:
- Use the test from https://lore.kernel.org/r/[email protected],
since it is much more comprehensive than mine.
- Add GUEST_ERROR_LOG on a bad write attempt.

Vladimir Isaev (2):
riscv: csr: do not drop C bit on misa write
tests/tcg/riscv64: add misa write test

 target/riscv/tcg/csr.c                    | 10 ++-
 tests/tcg/riscv64/Makefile.softmmu-target |  4 ++
 tests/tcg/riscv64/test-misa-w.S           | 88 +++++++++++++++++++++++
 3 files changed, 99 insertions(+), 3 deletions(-)
 create mode 100644 tests/tcg/riscv64/test-misa-w.S
Signature · 1 line
2.55.0