On Mon, 2026-10-26 at 10:40 +0800, Wang Yechao wrote: > This series adds support for in-kernel AIA irqchip save and restore > on RISC-V. > > Changes in v5: > - Fix typos in the patch descriptions. > - Split the non-RISC-V-specific changes into a separate patch (patch > 03). > - Drop the TCG vmstate debug fix from this series. > - Link to v4: > https://lore.kernel.org/qemu-devel/[email protected]/ > > Changes in v4: > - Fix build issues in the TCG-only configuration. > - Rename several functions to make them more readable. > - Fix the missing section footer problem. > - Add patch 04, which fixes an assertion failure during save on > --disable-tcg builds. > > - Link to v3: > https://lore.kernel.org/qemu-devel/[email protected]/ > > Changes in v3: > - Removed unnecessary changes in bitops.h > - Link to v2: > https://lore.kernel.org/qemu-devel/[email protected]/ > > Changes in v2: > - Added the BITS_TO_U64S macro > - Added the nr_eix field and dynamically allocated the eie/eip arrays > - Replaced the CONFIG_32BIT macro with is_32bit boolean flag > - Link to v1: > https://lore.kernel.org/qemu-devel/[email protected]/ > > > Wang Yechao (1): > include/qemu/bitops: Move BITS_TO_U64S to bitops.h > > Xuemei Liu (3): > target/riscv/kvm: create kvm_riscv_aia_access_reg > hw/intc/riscv_aplic: Add in-kernel aplic save and restore function > hw/intc/imsic: Add in-kernel imsic save and restore function
Thanks! Applied to riscv-to-apply.next Alistair > > hw/intc/riscv_aplic.c | 201 +++++++++++++++++++++++++++++--- > -- > hw/intc/riscv_imsic.c | 180 +++++++++++++++++++++++++++--- > include/hw/intc/riscv_aplic.h | 4 + > include/hw/intc/riscv_imsic.h | 3 + > include/qemu/bitops.h | 1 + > migration/vmstate-types.c | 3 +- > target/riscv/kvm/kvm-cpu.c | 7 +- > target/riscv/kvm/kvm_riscv.h | 1 + > 8 files changed, 357 insertions(+), 43 deletions(-)
