arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
authorAmit Pundir <amit.pundir@linaro.org>
Wed, 26 Jul 2023 13:27:19 +0000 (18:57 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 18 Aug 2023 02:50:45 +0000 (19:50 -0700)
Adding a reserved memory region for the framebuffer memory
(the splash memory region set up by the bootloader).

It fixes a kernel panic (arm-smmu: Unhandled context fault
at this particular memory region) reported on DB845c running
v5.10.y.

Cc: stable@vger.kernel.org # v5.10+
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230726132719.2117369-2-amit.pundir@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-db845c.dts

index 14f9afb..c7eba6c 100644 (file)
                };
        };
 
+       reserved-memory {
+               /* Cont splash region set up by the bootloader */
+               cont_splash_mem: framebuffer@9d400000 {
+                       reg = <0x0 0x9d400000 0x0 0x2400000>;
+                       no-map;
+               };
+       };
+
        lt9611_1v8: lt9611-vdd18-regulator {
                compatible = "regulator-fixed";
                regulator-name = "LT9611_1V8";
 };
 
 &mdss {
+       memory-region = <&cont_splash_mem>;
        status = "okay";
 };