devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V7 0/2] firmware: Add support for boot_stats
@ 2023-07-05  5:32 Souradeep Chowdhury
  2023-07-05  5:32 ` [PATCH V7 1/2] dt-bindings: firmware: bootstats: Add the dtschema Souradeep Chowdhury
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Souradeep Chowdhury @ 2023-07-05  5:32 UTC (permalink / raw)
  To: Andy Gross, Konrad Dybcio, Krzysztof Kozlowski, Bjorn Andersson,
	Rob Herring, Arnd Bergmann
  Cc: linux-arm-kernel, linux-kernel, linux-arm-msm, devicetree,
	Sibi Sankar, Rajendra Nayak, Souradeep Chowdhury

Qualcomm's proprietary Android boot-loaders capture boot time
stats, like the time when the bootloader started execution and at what
point the bootloader handed over control to the kernel etc. in the IMEM
region. This information is captured by the bootloader and populated on
the device tree properties "pre-abl-time" and "abl-time" which can be
be viewed from the user space like as follows:-

/sys/firmware/devicetree/base/bootstats # cat abl_time
17898

As a part of this patch series added the bindings for boot-stats which
was suggested in the v6 of the series. The link for the same is as
follows:-

https://lore.kernel.org/linux-arm-kernel/7d397e67-5d56-4975-98af-1ac9746c07f4@app.fastmail.com/

Souradeep Chowdhury (2):
  dt-bindings: firmware: bootstats: Add the dtschema
  MAINTAINERS: Add the entry for boot_stats support

 .../bindings/firmware/qcom,bootstats.yaml     | 38 +++++++++++++++++++
 MAINTAINERS                                   |  6 +++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/qcom,bootstats.yaml

--
2.17.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-11  5:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05  5:32 [PATCH V7 0/2] firmware: Add support for boot_stats Souradeep Chowdhury
2023-07-05  5:32 ` [PATCH V7 1/2] dt-bindings: firmware: bootstats: Add the dtschema Souradeep Chowdhury
2023-07-05  6:17   ` Krzysztof Kozlowski
2023-07-05  8:33     ` Souradeep Chowdhury
2023-07-05  9:34       ` Krzysztof Kozlowski
2023-07-05 19:30         ` Rob Herring
2023-07-05 21:14           ` Dmitry Baryshkov
2023-07-06  7:13             ` Souradeep Chowdhury
2023-07-05  5:32 ` [PATCH V7 2/2] MAINTAINERS: Add the entry for boot_stats support Souradeep Chowdhury
2023-07-10 15:20 ` [PATCH V7 0/2] firmware: Add support for boot_stats Brian Masney
2023-07-11  5:30   ` Souradeep Chowdhury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).