[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OS0PR01MB5922888E58D92CF72ABC95EB86059@OS0PR01MB5922.jpnprd01.prod.outlook.com>
Date: Mon, 14 Nov 2022 19:56:04 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: Detlev Casanova <detlev.casanova@...labora.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Marek Vasut <marex@...x.de>
CC: Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"open list:ARM/RENESAS ARCHITECTURE"
<linux-renesas-soc@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>
Subject: RE: [PATCH] arm64: dts: renesas: r8a77951: Add reserved memory region
> -----Original Message-----
> From: Detlev Casanova <detlev.casanova@...labora.com>
> Sent: 14 November 2022 19:49
> To: linux-kernel@...r.kernel.org
> Cc: Geert Uytterhoeven <geert+renesas@...der.be>; Magnus Damm
> <magnus.damm@...il.com>; Rob Herring <robh+dt@...nel.org>; Krzysztof
> Kozlowski <krzysztof.kozlowski+dt@...aro.org>; open list:ARM/RENESAS
> ARCHITECTURE <linux-renesas-soc@...r.kernel.org>; open list:OPEN
> FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
> <devicetree@...r.kernel.org>; Detlev Casanova
> <detlev.casanova@...labora.com>
> Subject: [PATCH] arm64: dts: renesas: r8a77951: Add reserved memory
> region
>
> The 0x3000000 bytes memory region starting at 0x54000000 is reserved
> for the lossy_decompression hardware that will try to decompress any
> data written in the region.
>
> Mark the region as no-map to prevent linux from using it as RAM.
>
> Signed-off-by: Detlev Casanova <detlev.casanova@...labora.com>
> ---
> arch/arm64/boot/dts/renesas/r8a77951.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a77951.dtsi
> b/arch/arm64/boot/dts/renesas/r8a77951.dtsi
> index 07c8763c1e77..171833d91313 100644
> --- a/arch/arm64/boot/dts/renesas/r8a77951.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a77951.dtsi
> @@ -290,6 +290,18 @@ CPU_SLEEP_1: cpu-sleep-1 {
> };
> };
>
> + reserved-memory {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + /* device specific region for Lossy Decompression */
> + lossy_decompress: memory-region@...00000 {
> + no-map;
> + reg = <0x00000000 0x54000000 0x0 0x03000000>;
> + };
> + };
Is not part of TFA[1]?
[1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/plat/renesas/rcar/bl2_plat_setup.c#n174
> +
> extal_clk: extal {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> --
> 2.38.1
Powered by blists - more mailing lists