u-boot/arch
Marek Vasut 3242dd0ac9 ARM: stm32: Jump to ep on successful resume in PSCI suspend code
In case the system has resumed successfully, the PSCI suspend resume
code has to jump to the 'ep' successful resume entry point code path,
otherwise the code has to jump to content of the LR register, which
points to failed resume code path.

To implement this distinction, rewrite LR register stored on stack
with 'ep' value in case of a successful resume, which is really in
every case unless some catastrophic failure occurred during suspend.

Without this change, Linux counts every resume as failed in
/sys/power/suspend_stats/fail

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2024-04-19 11:31:48 +02:00
..
arc Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
arm ARM: stm32: Jump to ep on successful resume in PSCI suspend code 2024-04-19 11:31:48 +02:00
m68k Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
microblaze Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
mips Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
nios2 Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
powerpc Merge branch 'for-2024.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2024-04-18 10:08:57 -06:00
riscv Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
sandbox Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
sh Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
x86 Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
xtensa Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
.gitignore
Kconfig Merge patch series "Complete decoupling of zboot logic from commands" 2024-04-10 13:49:35 -06:00
Kconfig.nxp
u-boot-elf.lds