[PATCH 0/3] riscv: Fix IMSIC CSR write and add tests

Joel Stanley posted 3 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260617054034.1020724-1-joel@jms.id.au
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Chao Liu <chao.liu.zevorn@gmail.com>, "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
target/riscv/csr.c                      |  8 ++++++--
tests/functional/riscv64/test_tuxrun.py | 11 +++++++++--
2 files changed, 15 insertions(+), 4 deletions(-)
[PATCH 0/3] riscv: Fix IMSIC CSR write and add tests
Posted by Joel Stanley 1 month, 1 week ago
This fixes a segfault in master with any machine that uses the imsic.
A test using the virt machine is added to catch this in the future.

Joel Stanley (3):
  target/riscv: Avoid NULL deref in IMSIC CSR write
  tests/functional/riscv64: Use newer kernel for tuxrun boot
  tests/functional/riscv64: Add virt machine AIA boot test

 target/riscv/csr.c                      |  8 ++++++--
 tests/functional/riscv64/test_tuxrun.py | 11 +++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

-- 
2.47.3
Re: [PATCH 0/3] riscv: Fix IMSIC CSR write and add tests
Posted by Alistair Francis 1 month ago
On Wed, Jun 17, 2026 at 3:42 PM Joel Stanley <joel@jms.id.au> wrote:
>
> This fixes a segfault in master with any machine that uses the imsic.
> A test using the virt machine is added to catch this in the future.
>
> Joel Stanley (3):
>   target/riscv: Avoid NULL deref in IMSIC CSR write
>   tests/functional/riscv64: Use newer kernel for tuxrun boot
>   tests/functional/riscv64: Add virt machine AIA boot test

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  target/riscv/csr.c                      |  8 ++++++--
>  tests/functional/riscv64/test_tuxrun.py | 11 +++++++++--
>  2 files changed, 15 insertions(+), 4 deletions(-)
>
> --
> 2.47.3
>
>