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

Commit fcbb5c5e authored by Shreyas K K's avatar Shreyas K K
Browse files

drivers: qcom: Add boot stat entries for kernel load start and end



The bootloader adds IMEM entries for kernel load start and end
timestamps. Capture the same in the kernel as part of boot stats.
This allows to measure the Bootloader KPI values.

Change-Id: I2c1862d0f662a6d59aed7bb40e1d7d84ef686c14
Signed-off-by: default avatarShreyas K K <shrekk@codeaurora.org>
parent 98585934
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -30,6 +30,10 @@ struct boot_stats {
	uint32_t bootloader_end;
	uint32_t bootloader_display;
	uint32_t bootloader_load_kernel;
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	uint32_t bootloader_load_kernel_start;
	uint32_t bootloader_load_kernel_end;
#endif
};

static void __iomem *mpm_counter_base;