[PATCH 0/2] hw/riscv: Make s-mode IMSIC stride explicit
Joel Stanley <[email protected]>
| Newsgroups | org.nongnu.qemu-riscv,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
This adds s_imsic_stride to riscv_create_aia so machines can separate the s-mode IMSIC layout from the guest count. They are related but the layout isn't necessarily defined by the guest count. Doing this means we can fix a bug that was in the Atlantis machine that I wrote. Joel Stanley (2): hw/riscv: Make s-mode IMSIC stride explicit hw/riscv/aia: Check for invalid IMSIC configs hw/riscv/aia.h | 1 + hw/riscv/aia.c | 9 ++++++--- hw/riscv/tt_atlantis.c | 19 +++++++++++-------- hw/riscv/virt.c | 2 ++ 4 files changed, 20 insertions(+), 11 deletions(-) -- 2.47.3