]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: arm64: fix misleading comments in save/restore
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jun 2015 13:28:37 +0000 (14:28 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 17 Jun 2015 08:46:29 +0000 (09:46 +0100)
commit921ef1e16c762db13be740a35e691104d6740572
treea462ac0d104c72bf4c6a15b8b1f3aaaa1fbb47ec
parent8889583c037c776041b08d7109acc2450e560036
KVM: arm64: fix misleading comments in save/restore

The elr_el2 and spsr_el2 registers in fact contain the processor state
before entry into EL2. In the case of guest state it could be in either
el0 or el1.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp.S