[PATCH] firmware: psci: Fix return value from psci_system_suspend()

Sudeep Holla sudeep.holla at arm.com
Mon Jun 17 03:12:55 PDT 2024


On Mon, 13 Nov 2023 15:34:46 +0000, Sudeep Holla wrote:
> Currently we return the value from invoke_psci_fn() directly as return
> value from psci_system_suspend(). It is wrong to send the PSCI interface
> return value directly. psci_to_linux_errno() provide the mapping from
> PSCI return value to the one that can be returned to the callers within
> the kernel.
>
> Use psci_to_linux_errno() to convert and return the correct value from
> psci_system_suspend().
>
> [...]

This has slipped through the cracks for long. I plan to take this
via my FF-A tree as SoC team somehow missed couple of times though I
cc-ed their email.

Applied to sudeep.holla/linux (for-next/ffa/updates), thanks!

[1/1] firmware: psci: Fix return value from psci_system_suspend()
      https://git.kernel.org/sudeep.holla/c/f624c7cbd155ef
--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list