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

Commit 1e89b44c authored by Aparna Das's avatar Aparna Das
Browse files

qcom: cpu_ops: call api for jtagv8 restore state



Call api to restore some jtagv8 Debug and ETM registers on
hotplug since these registers do not retain their states
on power collapse.

Change-Id: Ie6490910dd237b7b54a8f638323541c108a7a519
Signed-off-by: default avatarAparna Das <adas@codeaurora.org>
parent a65a4f74
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
#include <soc/qcom/scm-boot.h>
#include <soc/qcom/socinfo.h>
#include <soc/qcom/pm.h>
#include <soc/qcom/jtag.h>

#include <asm/barrier.h>
#include <asm/cacheflush.h>
@@ -161,6 +162,7 @@ static int msm8994_cpu_boot(unsigned int cpu)

void msm_cpu_postboot(void)
{
	msm_jtag_restore_state();
	/*
	 * Let the primary processor know we're out of the pen.
	 */