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)
commitc25f77899753fdd6f43fa6999abd53fd0059496e
treec66f9c797d55b9b46aa0330fc835f1f8809bfa8f
parent369e4ef87a8f5da7c348ec2c61ec5cd726e8337a
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