summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFinley Xiao <finley.xiao@rock-chips.com>2026-10-08 11:02:14 +0800
committerJassi Brar <jassisinghbrar@gmail.com>2026-10-11 19:48:51 -0500
commit65dacbb315a2a842a21979b5c3f27eccd72b215a (patch)
treebef1e0dee0573c64b020d44c07eab702929f689e /tools/perf/scripts/python
parent8228ed61b6cbd6e79531c9ebfcad233c35eae562 (diff)
mailbox: arm_mhuv3: Keep the combined IRQ enabled during system suspend
When MHUv3 is used as the SCMI mailbox transport (arm,scmi-mailbox), SCMI clock and power-domain operations still need to work in the noirq phase of system suspend: genpd may power off a device's parent domain from genpd_suspend_noirq(), which issues scmi_clock_config_set() / scmi_power_state_set() and waits for the firmware reply via the mailbox RX IRQ. However, dpm_suspend_noirq() calls suspend_device_irqs() before running the suspend_noirq callbacks, so the combined interrupts are already masked at that point and the SCMI transfer times out while waiting for the reply. Both the PBX and MBX combined interrupts are requested as threaded IRQs with only IRQF_ONESHOT. The MBX combined IRQ must stay enabled so that firmware replies are delivered, and the PBX combined IRQ, used for txdone by IRQ when not in polling mode, needs the same treatment. IRQ threads are not frozen during system suspend, so with IRQF_NO_SUSPEND the threaded combined-IRQ handlers still run in the noirq phase. Add IRQF_NO_SUSPEND to the MHUv3 combined IRQ registrations so that SCMI remains functional throughout the suspend/resume cycle. Note that this only keeps the IRQs functional during the suspend/resume cycle and does not make the mailbox a wakeup source. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Reviewed-by: Sudeep Holla <sudeep.holla@kernel.org> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions