提交 53348be5 编写于 作者: M Maxime Ripard 提交者: Zheng Zengkai

ARM: boot: dts: bcm2711: Fix HVS register range

stable inclusion
from stable-v5.10.106
commit 0d6882dd158e559b291a2d1b045a65bc2fa4fc58
bugzilla: https://gitee.com/openeuler/kernel/issues/I573US

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0d6882dd158e559b291a2d1b045a65bc2fa4fc58

--------------------------------

[ Upstream commit 515415d3 ]

While the HVS has the same context memory size in the BCM2711 than in
the previous SoCs, the range allocated to the registers doubled and it
now takes 16k + 16k, compared to 8k + 16k before.

The KMS driver will use the whole context RAM though, eventually
resulting in a pointer dereference error when we access the higher half
of the context memory since it hasn't been mapped.

Fixes: 45643633 ("ARM: dts: bcm2711: Enable the display pipeline")
Signed-off-by: NMaxime Ripard <maxime@cerno.tech>
Signed-off-by: NStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYu Liao <liaoyu15@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 5dbf395c
...@@ -290,6 +290,7 @@ ...@@ -290,6 +290,7 @@
hvs: hvs@7e400000 { hvs: hvs@7e400000 {
compatible = "brcm,bcm2711-hvs"; compatible = "brcm,bcm2711-hvs";
reg = <0x7e400000 0x8000>;
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册