]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: ti_sci: Add support for restoring IRQs during resume
authorThomas Richard (TI) <thomas.richard@bootlin.com>
Tue, 19 May 2026 15:06:57 +0000 (17:06 +0200)
committerNishanth Menon <nm@ti.com>
Tue, 26 May 2026 11:44:10 +0000 (06:44 -0500)
commit703b341fdd875c2d9c30a835021689e5a430a39a
tree4302876cf5c17dbdbd1bc355348ba16bb17bc9fa
parente9f06763b9b88cb1338ef8a3f113b0fb94d714dd
firmware: ti_sci: Add support for restoring IRQs during resume

Some DM-Firmware are not able to restore the IRQ context after
a suspend-resume. The IRQ_CONTEXT_LOST firmware capability has
been introduced to identify this characteristic. In this case the
responsibility is delegated to the ti_sci driver, which maintains
an internal list of all requested IRQs. This list is updated on
each set()/free() operation, and all IRQs are restored during the
resume_noirq() phase.

Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Kendall Willis <k-willis@ti.com>
Signed-off-by: Thomas Richard (TI) <thomas.richard@bootlin.com>
Link: https://patch.msgid.link/20260519-ti-sci-jacinto-s2r-restore-irq-v9-2-c550a8ae0f31@bootlin.com
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/firmware/ti_sci.c
drivers/firmware/ti_sci.h