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:11:37 +0000 (13:11 -0700)
commite32e184d023ffd186a0ef1b2538902e42926c3d2
tree91fbcd66e2e3b1997193c993321caa690440bd89
parentbb731fdb76ccf18836990b3235c75a262d9511cd
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