]> xenbits.xensource.com Git - xen.git/commit
Arm32: MSR to SPSR needs qualification
authorJan Beulich <jbeulich@suse.com>
Fri, 11 Jun 2021 13:04:24 +0000 (15:04 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 16 Jul 2021 20:14:11 +0000 (13:14 -0700)
commit27e08cb549500ef8e7ba112cf39bff0ad1e096a3
treebd83620f62a4226a0be2dd2dcbcb0963802d3b76
parentf6f76903e3406b61cdb566583b6f1495fe248691
Arm32: MSR to SPSR needs qualification

The Arm ARM's description of MSR (ARM DDI 0406C.d section B9.3.12)
doesn't even allow for plain "SPSR" here, and while gas accepts this, it
takes it to mean SPSR_cf. Yet surely all of SPSR wants updating on this
path, not just the lowest and highest 8 bits.

Fixes: dfcffb128be4 ("xen/arm32: SPSR_hyp/SPSR")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 93031fbe9f4c341a2e7950a088025ea550291433)
xen/arch/arm/arm32/entry.S