RE: [PATCH v1 07/12] target/riscv: Support setting external interrupt by KVM

2021-12-10 Thread Jiangyifei via
; libvir-l...@redhat.com; Anup Patel > ; Palmer Dabbelt ; Alistair > Francis ; Bin Meng ; > Fanliang (EulerOS) ; Wubin (H) > ; Wanghaibin (D) ; > wanbo (G) ; limingwang (A) > > Subject: Re: [PATCH v1 07/12] target/riscv: Support setting external interrupt > by KVM > &

Re: [PATCH v1 07/12] target/riscv: Support setting external interrupt by KVM

2021-12-03 Thread Anup Patel
On Sat, Nov 20, 2021 at 1:17 PM Yifei Jiang wrote: > > Extend riscv_cpu_update_mip() to support setting external interrupt > by KVM. It will call kvm_riscv_set_irq() to change the IRQ state in > the KVM module When kvm is enabled and the MIP_SEIP bit is set in "mask" > > In addition, bacause targe

[PATCH v1 07/12] target/riscv: Support setting external interrupt by KVM

2021-11-19 Thread Yifei Jiang
Extend riscv_cpu_update_mip() to support setting external interrupt by KVM. It will call kvm_riscv_set_irq() to change the IRQ state in the KVM module When kvm is enabled and the MIP_SEIP bit is set in "mask" In addition, bacause target/riscv/cpu_helper.c is used to TCG, so move riscv_cpu_update_m