diff options
author | Kendall Willis <k-willis@ti.com> | 2025-08-19 14:54:53 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2025-08-22 13:22:00 -0500 |
commit | 0fdd3240fe5a9bf4785e40506bf86b7e16546b83 (patch) | |
tree | e14340da6fb2d69b2ee004af30b7e1cbe1994994 /fs/xfs/xfs_error.c | |
parent | a5039648f86424885aae37f03dc39bc9cb972ecb (diff) |
firmware: ti_sci: Enable abort handling of entry to LPM
The PM co-processor (device manager or DM) adds the ability to abort
entry to a low power mode by clearing the mode selection in the
latest version of its firmware (11.01.09) [1].
Enable the ti_sci driver to support the LPM abort call which clears the
low power mode selection of the DM. This fixes an issue where failed
system suspend attempts would cause subsequent suspends to fail.
After system suspend completes, regardless of if system suspend succeeds
or fails, the ->complete() hook in TI SCI will be called. In the
->complete() hook, a message will be sent to the DM to clear the current
low power mode selection. Clearing the low power mode selection
unconditionally will not cause any error in the DM.
[1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html
Signed-off-by: Kendall Willis <k-willis@ti.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://patch.msgid.link/20250819195453.1094520-1-k-willis@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
0 files changed, 0 insertions, 0 deletions