From mboxrd@z Thu Jan 1 00:00:00 1970 From: peter.maydell@linaro.org (Peter Maydell) Date: Mon, 9 Mar 2015 22:31:19 +0900 Subject: [PATCH 5/6] target-arm/kvm64: fix save/restore of SPSR regs In-Reply-To: <20150309125650.GA20559@cbox> References: <1424880159-29348-1-git-send-email-alex.bennee@linaro.org> <1424880159-29348-7-git-send-email-alex.bennee@linaro.org> <20150302172212.GB10137@lvm> <874mq27222.fsf@linaro.org> <20150309125650.GA20559@cbox> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 9 March 2015 at 21:56, Christoffer Dall wrote: > this function, however, is not used only when migration, but should > generally cover the case where you want to synchronize QEMU's state into > KVM's state, right? So while it may not be harmful in currently > supported use cases, is there ever a situation where (is_a64(env) && el > == 0) and env->spsr != banked_spsr[el], and where env->spsr is > out-of-date? If EL == 0 then you can't access any SPSR, so env->spsr is by definition out of date. -- PMM