ARM: boot: dts: bcm2711: Fix HVS register range
authorMaxime Ripard <maxime@cerno.tech>
Sat, 19 Feb 2022 12:07:55 +0000 (13:07 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 23 Feb 2022 19:03:29 +0000 (11:03 -0800)
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: 4564363351e2 ("ARM: dts: bcm2711: Enable the display pipeline")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm2711.dtsi

index dff18fc9a9065c77a1e5477da94e9159e9cc93b6..21294f775a20f2e58bcb9fcfda944fbb72064607 100644 (file)
 
                hvs: hvs@7e400000 {
                        compatible = "brcm,bcm2711-hvs";
+                       reg = <0x7e400000 0x8000>;
                        interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
                };