On Mon, Nov 29, 2021 at 08:00:42PM +0000, Marc Zyngier wrote: > In order to be able to use primitives such as vcpu_mode_is_32bit(), > we need to synchronize the guest PSTATE. However, this is currently > done deep into the bowels of the world-switch code, and we do have > helpers evaluating this much earlier (__vgic_v3_perform_cpuif_access > and handle_aarch32_guest, for example). > > Move the saving of the guest pstate into the early fixups, which > cures the first issue. The second one will be addressed separately. > > Tested-by: Fuad Tabba <tabba@xxxxxxxxxx> > Reviewed-by: Fuad Tabba <tabba@xxxxxxxxxx> > Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!