Skip to contentSkip to conversation

Patch "arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved" has been added to the 5.10-stable tree

DISCUSSION Amit Pundir 1 participant 1 message Sep 9, 2023 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 2023090923-conform-underwear-d8bd@gregkh

#1 lore raw
Quoted 9 lines · On Sat, 9 Sept 2023 at 18:16, <[email protected]> wrote:

This is a note to let you know that I've just added the patch titled

arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved

to the 5.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 7 lines

The filename of the patch is:

     arm64-dts-qcom-sdm845-db845c-mark-cont-splash-memory-region-as-reserved.patch

and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Please skip this patch for 5.10.y. We ran into a boot (mdss crash) regression with this patch.

Regards,
Amit Pundir

Quoted 58 lines

From 110e70fccce4f22b53986ae797d665ffb1950aa6 Mon Sep 17 00:00:00 2001
From: Amit Pundir <[email protected]>
Date: Wed, 26 Jul 2023 18:57:19 +0530
Subject: arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved

From: Amit Pundir <[email protected]>

commit 110e70fccce4f22b53986ae797d665ffb1950aa6 upstream.

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.

---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts |    9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +9 -0
@@ -85,6 +85,14 @@
                };
        };
 
+       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";
@@ -482,6 +490,7 @@
 };
 
 &mdss {
+       memory-region = <&cont_splash_mem>;
        status = "okay";
 };
 

Patches currently in stable-queue which might be from [email protected] are

queue-5.10/arm64-dts-qcom-sdm845-db845c-mark-cont-splash-memory-region-as-reserved.patch