u-boot/arch/arm/cpu
Andre Przywara 1d26da5a6a sunxi: armv8: FEL: save and restore SP_IRQ
Thanks for Jernej's JTAG debugging effort, it turns out that the BROM
expects SP_IRQ to be saved and restored, when we want to enter back into
FEL after the SPL's AArch64 stint.
Save and restore SP_IRQ as part of the FEL state handling. The banked
MRS/MSR access to SP_IRQ, without actually being in IRQ mode, was
introduced with the ARMv7 virtualisation extensions. The Arm Cortex-A8
cores used in the A10/A13s or older F1C100s SoCs would not support that,
but this code here is purely in the ARMv8/AArch64 code path, so it's
safe to use unconditionally.

Reported-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2025-04-28 12:45:44 -06:00
..
arm11 arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
arm720t Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
arm920t Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
arm926ejs Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
arm946es Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
arm1136 arm: move _end to linker symbols 2024-06-07 16:20:29 -06:00
arm1176 arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
armv7 Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
armv7m treewide: Add a function to change page permissions 2025-03-14 13:37:54 +02:00
armv8 sunxi: armv8: FEL: save and restore SP_IRQ 2025-04-28 12:45:44 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-spl.lds arm: move _end to linker symbols 2024-06-07 16:20:29 -06:00
u-boot.lds arm: Discard unwanted sections in linker script 2025-04-02 14:33:50 -06:00