Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8007e9f6 authored by Anji Jonnala's avatar Anji Jonnala Committed by Maulik Shah
Browse files

soc: qcom: mpm_of: Print snapshot of enabled interrupts



There is a window where dumping the bypass list is not
printing actual snapshot of enabled interrupts. Hence
dump the interrupts in mpm_enter_sleep which gives the
interrupt snapshot just before going to rpm assisted pc.

Change-Id: I46f075f5c3a8650944e45bfbf302c00f9fbb52d6
Signed-off-by: default avatarAnji Jonnala <anjir@codeaurora.org>
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -556,6 +556,8 @@ void msm_mpm_enter_sleep(uint64_t sclk_count, bool from_idle,
		wakeup = (~0ULL);
	}

	msm_mpm_gpio_irqs_detectable(from_idle);
	msm_mpm_irqs_detectable(from_idle);
	msm_mpm_set(wakeup, !from_idle);
	if (cpumask)
		irq_set_affinity(msm_mpm_dev_data.mpm_ipc_irq, cpumask);