[PATCH] arm64: dts: mediatek: mt8188-geralt: Enlarge SCP core0 memory region
Justin Yeh <[email protected]>
| Newsgroups | org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The SCP firmware in linux-firmware for this platform
(mediatek/mt8188/scp_c0.img) supports MDP, which the mdp3-rdma node
drives through scp_c0. On top of the segments it loads, the firmware
allocates a 1 MiB DMA region at 0x50800000 at run time. That lies
outside the 8 MiB reserved for SCP core0, so Linux is free to allocate
over memory the firmware uses.
Enlarge the region to 9 MiB. apu_mem starts at 0x55000000, so no other
reserved region has to move.
Fixes: e36be19823f0 ("arm64: dts: mediatek: mt8188-geralt: Enable first SCP core")
Signed-off-by: Justin Yeh <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
index f382f90c48f5..35f60b5bba6f 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
@@ -166,7 +166,7 @@ reserved_memory: reserved-memory {
scp_mem_reserved: memory@50000000 {
compatible = "shared-dma-pool";
- reg = <0 0x50000000 0 0x800000>;
+ reg = <0 0x50000000 0 0x900000>;
no-map;
};
--
2.45.2