Hi, In this version the following changes were made, based on feedback from Drew in v1:
- patch 2: reworked. Instead of using a different existing 'env' field to get/put the 'sie' CSR, we're adding a new helper that contains all reset vals for the KVM CSRs we support - patch 3: reworked. Add two KVM CSRs from the KVM UAPI that we're not using. Link to v1: https://lore.kernel.org/qemu-riscv/20250220161313.127376-1-dbarb...@ventanamicro.com/ Patches based on alistair/riscv-to-apply.next. Daniel Henrique Barboza (3): target/riscv/cpu: ignore TCG init for KVM CPUs in reset_hold target/riscv/kvm: add kvm_riscv_reset_regs_csr() target/riscv/kvm: add missing KVM CSRs target/riscv/cpu.c | 9 +++++---- target/riscv/kvm/kvm-cpu.c | 32 +++++++++++++++++++++----------- 2 files changed, 26 insertions(+), 15 deletions(-) -- 2.48.1