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, 11 Jun 2021 22:05:24 +0000 (15:05 -0700)
commit93031fbe9f4c341a2e7950a088025ea550291433
treee3929ca16943299515275f32ca7f1e4a2467b4bc
parentd2cad41defe4e0e9987549fbc8ebdf9ae138f90f
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>
xen/arch/arm/arm32/entry.S