Re: [PATCH v2] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-19 Thread Patrice CHOTARD
On 4/7/24 22:21, Marek Vasut wrote: > 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

Re: [PATCH v2] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-08 Thread Patrice CHOTARD
On 4/7/24 22:21, Marek Vasut wrote: > 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

[PATCH v2] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-07 Thread Marek Vasut
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