linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
@ 2021-06-22 18:50 Petr Vorel
  2021-06-22 18:55 ` Konrad Dybcio
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2021-06-22 18:50 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Petr Vorel, Konrad Dybcio, Alexey Minnekhanov, Andy Gross,
	Bjorn Andersson, Rob Herring, devicetree

As the default definition breaks booting angler:
[    1.862561] printk: console [ttyMSM0] enabled
[    1.872260] msm_serial: driver initialized
D -     15524 - pm_driver_init, Delta

cont_splash_mem was introduced in 74d6d0a145835, but the problem
manifested after 86588296acbf ("fdt: Properly handle "no-map" field
in the memory region").

Disabling it because downstream kernel does not report where the memory
is allocated:
[    0.000000] cma: Found cont_splash_mem@0, memory base 0x0000000000000000, size 16 MiB, limit 0x0000000000000000
[    0.000000] cma: CMA: reserved 16 MiB at 0x0000000000000000 for cont_splash_mem

Fixes: 74d6d0a145835 ("arm64: dts: qcom: msm8994/8994-kitakami: Fix up
the memory map")

Suggested-by: Konrad Dybcio <konradybcio@gmail.com>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Changes v2->v3:
* get back to v1 which just disabled the node
* use alias instead of memory@3800000

 arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
index ffe1a9bd8f70..2c1881a22fee 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
@@ -1,12 +1,15 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /* Copyright (c) 2015, Huawei Inc. All rights reserved.
  * Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021, Petr Vorel <petr.vorel@gmail.com>
  */
 
 /dts-v1/;
 
 #include "msm8994.dtsi"
 
+/delete-node/ &cont_splash_mem;
+
 / {
 	model = "Huawei Nexus 6P";
 	compatible = "huawei,angler", "qcom,msm8994";
-- 
2.32.0


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

* Re: [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
  2021-06-22 18:50 [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem Petr Vorel
@ 2021-06-22 18:55 ` Konrad Dybcio
  2021-06-22 18:58   ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2021-06-22 18:55 UTC (permalink / raw)
  To: Petr Vorel, linux-arm-msm
  Cc: Alexey Minnekhanov, Andy Gross, Bjorn Andersson, Rob Herring, devicetree

I'm terribly sorry for not asking for this before, but could you please add a comment above
the /delete-node/ explaining the weird firmware situation? It hasn't happened before to any
board to my knowledge..

Sorry once again!

Konrad

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

* Re: [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
  2021-06-22 18:55 ` Konrad Dybcio
@ 2021-06-22 18:58   ` Petr Vorel
  2021-06-22 19:00     ` Konrad Dybcio
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2021-06-22 18:58 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: linux-arm-msm, Alexey Minnekhanov, Andy Gross, Bjorn Andersson,
	Rob Herring, devicetree

Hi Konrad,

> I'm terribly sorry for not asking for this before, but could you please add a comment above
> the /delete-node/ explaining the weird firmware situation? It hasn't happened before to any
> board to my knowledge..
I thought explaining in the commit message would be enough, but sure comment
does not harm => I'll send v4.

> Sorry once again!
np. Thanks for all your comments.

> Konrad

Kind regards,
Petr

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

* Re: [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
  2021-06-22 18:58   ` Petr Vorel
@ 2021-06-22 19:00     ` Konrad Dybcio
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2021-06-22 19:00 UTC (permalink / raw)
  To: Petr Vorel
  Cc: linux-arm-msm, Alexey Minnekhanov, Andy Gross, Bjorn Andersson,
	Rob Herring, devicetree


On 22.06.2021 20:58, Petr Vorel wrote:
> Hi Konrad,
>
>> I'm terribly sorry for not asking for this before, but could you please add a comment above
>> the /delete-node/ explaining the weird firmware situation? It hasn't happened before to any
>> board to my knowledge..
> I thought explaining in the commit message would be enough, but sure comment
> does not harm => I'll send v4.

Maybe I'm just too young, but I rarely ever read those and I am pretty sure

I'm not alone in this manner, heh


Konrad

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

end of thread, other threads:[~2021-06-22 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 18:50 [PATCH v3 1/1] arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem Petr Vorel
2021-06-22 18:55 ` Konrad Dybcio
2021-06-22 18:58   ` Petr Vorel
2021-06-22 19:00     ` Konrad Dybcio

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).