diff options
| author | Thomas Richard (TI.com) <thomas.richard@bootlin.com> | 2025-10-31 13:44:56 +0100 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2025-11-03 09:09:02 -0600 |
| commit | 999e9bc953e321651d69556fdd5dfd178f96f128 (patch) | |
| tree | f94fa5046182cfb5336de1d9fe6e373871df9632 /scripts/livepatch/init.c | |
| parent | 7a4cd87e76fb4547d7843e3124611bf13004b18b (diff) | |
firmware: ti_sci: Set IO Isolation only if the firmware is capable
Prevent calling ti_sci_cmd_set_io_isolation() on firmware
that does not support the IO_ISOLATION capability. Add the
MSG_FLAG_CAPS_IO_ISOLATION capability flag and check it before
attempting to set IO isolation during suspend/resume operations.
Without this check, systems with older firmware may experience
undefined behavior or errors when entering/exiting suspend states.
Fixes: ec24643bdd62 ("firmware: ti_sci: Add system suspend and resume call")
Signed-off-by: Thomas Richard (TI.com) <thomas.richard@bootlin.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://patch.msgid.link/20251031-ti-sci-io-isolation-v2-1-60d826b65949@bootlin.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions
