> From: Alex Bennée <alex.ben...@linaro.org> > Sent: Friday, September 29, 2023 3:40 PM > To: Salil Mehta <salil.me...@huawei.com> > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; m...@kernel.org; jean- > phili...@linaro.org; Jonathan Cameron <jonathan.came...@huawei.com>; > lpieral...@kernel.org; peter.mayd...@linaro.org; > richard.hender...@linaro.org; imamm...@redhat.com; andrew.jo...@linux.dev; > da...@redhat.com; phi...@linaro.org; eric.au...@redhat.com; > oliver.up...@linux.dev; pbonz...@redhat.com; m...@redhat.com; > w...@kernel.org; gs...@redhat.com; raf...@kernel.org; > li...@armlinux.org.uk; dar...@os.amperecomputing.com; > il...@os.amperecomputing.com; vis...@os.amperecomputing.com; > karl.heub...@oracle.com; miguel.l...@oracle.com; salil.me...@opnsrc.net; > zhukeqian <zhukeqi...@huawei.com>; wangxiongfeng (C) > <wangxiongfe...@huawei.com>; wangyanan (Y) <wangyana...@huawei.com>; > jiakern...@gmail.com; maob...@loongson.cn; lixiang...@loongson.cn; Linuxarm > <linux...@huawei.com> > Subject: Re: [PATCH 9/9] target/arm/kvm: Write CPU state back to KVM on > reset > > > Salil Mehta <salil.me...@huawei.com> writes: > > > From: Jean-Philippe Brucker <jean-phili...@linaro.org> > > > > 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 <jean-phili...@linaro.org> > > Signed-off-by: Salil Mehta <salil.me...@huawei.com> > > Seems reasonable: > > Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Thanks Salil.