On 9/30/23 10:19, Salil Mehta wrote:
From: Jean-Philippe Brucker <[email protected]>

When a KVM vCPU is reset following a PSCI CPU_ON call, its power state
is not synchronized with KVM at the moment. Because the vCPU is not
marked dirty, we miss the call to kvm_arch_put_registers() that writes
to KVM's MP_STATE. Force mp_state synchronization.

Signed-off-by: Jean-Philippe Brucker <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
---
  target/arm/kvm.c | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)


Reviewed-by: Gavin Shan <[email protected]>


Reply via email to