Skip to content

target/riscv/kvm: reset time changes

Daniel Henrique Barboza qemu-devel qemu-riscv 3 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- patch 1:
- do not do an early exit in riscv_cpu_reset_hold() if kvm_enabled()
- v2 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3target/riscv/cpu: remove unneeded !kvm_enabled() checktarget/riscv/kvm/kvm-cpu.c+0 -31 reply
2/3target/riscv/kvm: add kvm_riscv_reset_regs_csr()target/riscv/kvm/kvm-cpu.c+15 -81 reply
3/3target/riscv/kvm: add missing KVM CSRstarget/riscv/kvm/kvm-cpu.c+6 -05 replies

Reviews trailers per patch

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

PatchAndrew JonesAlistair Francis
1/3R-b R-b
2/3R-b R-b
3/3R-b A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] target/riscv/kvm: reset time changes

Hi,

In this version I rolled back on the riscv_cpu_reset_hold() changes made in patch 1. Peter made an argument about keeping the design the same across architectures and I agreed. Patches 2 and 3 are already taking care of everything that KVM needs during reset, thus this doesn't incur in any functional changes.

Drew said it was ok to keep his ack on patch 1 so his ack is kept.

Patches based on alistair/riscv-to-apply.next. All patches acked.

Changes from v2:
- patch 1:
- do not do an early exit in riscv_cpu_reset_hold() if kvm_enabled()
- v2 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (3):
target/riscv/cpu: remove unneeded !kvm_enabled() check target/riscv/kvm: add kvm_riscv_reset_regs_csr() target/riscv/kvm: add missing KVM CSRs

 target/riscv/kvm/kvm-cpu.c | 32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)
Signature · 1 line
2.48.1