From ad40f9cbfaffd57234c6331e7465f4241aed00f4 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Fri, 24 Apr 2020 18:42:36 -0700 Subject: [PATCH] ARM: dts: msm: Add kernel cmdline to increase the dmesg buffer size By default, the size of the dmesg buffer is 128K. Due to additional logging from drivers, the buffer overflows and the initial set of logs are lost. Since these logs are critical for performance measurements, increase the buffer size to 256K to preserve the logs. Change-Id: I3645597754aab7dec9b2de22b4d6d14b88c994a3 --- qcom/lahaina.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 6a7dd3df3451..e1323751c1e9 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -527,7 +527,9 @@ }; }; - chosen { }; + chosen { + bootargs = "log_buf_len=256K"; + }; }; &soc {