]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: qcom-ipcc: Log the pending interrupt during resume
authorPrasad Sodagudi <quic_psodagud@quicinc.com>
Tue, 17 May 2022 10:43:00 +0000 (16:13 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 21 May 2022 16:41:30 +0000 (11:41 -0500)
commitb8d7dfbc1d795f76a7d52efda48c1309ca20d13a
treec66f9c797d55b9b46aa0330fc835f1f8809bfa8f
parent589cef711116efdca72bd9e8857f159e7e882877
mailbox: qcom-ipcc: Log the pending interrupt during resume

Enable logging of the pending interrupt that triggered device wakeup. This
logging information helps to debug IRQs that cause periodic device wakeups
by printing the detailed information of pending IPCC interrupts.

Scenario: Device wakeup caused by Modem crash
Logs:
qcom-ipcc mailbox: virq: 182 triggered client-id: 2; signal-id: 2

From the IPCC bindings it can further be understood that the client here is
IPCC_CLIENT_MPSS and the signal was IPCC_MPROC_SIGNAL_SMP2P.

Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Prasad Sodagudi <quic_psodagud@quicinc.com>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/qcom-ipcc.c