Re: [RFC PATCH 2/5] KVM: arm64: Move WFI execution to check_vcpu_requests()

2021-07-01 Thread Fuad Tabba
Hi Jean-Philippe, On Tue, Jun 8, 2021 at 4:54 PM Jean-Philippe Brucker wrote: > > Prepare for WFI requests from userspace, by adding a suspend request and > moving the WFI execution into check_vcpu_requests(), next to the > power-off logic. > > vcpu->arch.mp_state, previously only RUNNABLE or

[RFC PATCH 2/5] KVM: arm64: Move WFI execution to check_vcpu_requests()

2021-06-08 Thread Jean-Philippe Brucker
Prepare for WFI requests from userspace, by adding a suspend request and moving the WFI execution into check_vcpu_requests(), next to the power-off logic. vcpu->arch.mp_state, previously only RUNNABLE or STOPPED, supports an additional state HALTED and two new state transitions: RUNNABLE ->