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

Commit 695ec32a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pil: bootkpi: Add conditional boot marker for modem"

parents 500d03f9 cc470bb8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -868,6 +868,10 @@ static int pil_init_mmap(struct pil_desc *desc, const struct pil_mdt *mdt)
	if (ret)
		return ret;

#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	if (!strcmp(desc->name, "modem"))
		place_marker("M - Modem Image Start Loading");
#endif

	pil_info(desc, "loading from %pa to %pa\n", &priv->region_start,
							&priv->region_end);
@@ -1324,6 +1328,12 @@ int pil_boot(struct pil_desc *desc)
		goto err_auth_and_reset;
	}
	trace_pil_event("reset_done", desc);

#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	if (!strcmp(desc->name, "modem"))
		place_marker("M - Modem out of reset");
#endif

	pil_info(desc, "Brought out of reset\n");
	desc->modem_ssr = false;
err_auth_and_reset:
+3 −1
Original line number Diff line number Diff line
@@ -8,7 +8,9 @@
#include <linux/mailbox_client.h>
#include <linux/mailbox/qmp.h>
#include "minidump_private.h"

#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
#include <soc/qcom/boot_stats.h>
#endif
#define SECURE_PAGE_MAGIC 0xEEEEEEEE
struct device;
struct module;