]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
authorPetr Vorel <petr.vorel@gmail.com>
Tue, 22 Jun 2021 19:10:19 +0000 (21:10 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 5 Aug 2021 15:35:52 +0000 (10:35 -0500)
commit5d6743d313f47a1fca5f4a2f4c196f9fcfd9f3c9
tree25dfbacf429e953571fde74231f673fbfc3b0cea
parent641bc859c2aa72f0cf84d95142bb4b9414a23a8c
arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem

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 a670c22025c37, but the problem
manifested after commit '7e75faece7a6 ("fdt: Properly handle "no-map"
field in the memory region")'.

Disabling it because Angler's firmware does not report where the memory
is allocated (dmesg from downstream kernel):
[    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

Similar issue might be on Google Nexus 5X (lg-bullhead). Other MSM8992/4
are known to report correct address.

Fixes: a670c22025c37 ("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>
Link: https://lore.kernel.org/r/20210622191019.23771-1-petr.vorel@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts