Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5969098rwb; Mon, 14 Nov 2022 12:09:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf6i9QylFbXeZC1eLeQ8V2JT05HO3duXEPRcLN5Z/hwOAuEv85iMeZfhREVVx01FjNlV8BxB X-Received: by 2002:a62:1a10:0:b0:572:6da6:218e with SMTP id a16-20020a621a10000000b005726da6218emr181331pfa.1.1668456572616; Mon, 14 Nov 2022 12:09:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668456572; cv=pass; d=google.com; s=arc-20160816; b=KHebEmVQVdbwwgzLvmYT4u9Y5w4TqunSJThvuVSYOcal6Yujvp/RDPaFLvHG40igWH /5/m9U35/tulLQD1uSq7IWP6kClO+Q8evE2Lhl2mx9Gc3iIczuNaONA9i0bHDKEg9GFo XAVRf44+EG6YcAeIKmRbESt3Qc9EXQnwYvcEQzysSEOQLM2cnYylwqOt3vtW9e6GjSbO TWth44gXSld3bjimFcSzwdrvOkrD2yEE31Aql+ySfP2b3o3mj6QZCLNxj5SzNNJUJjG4 JJonUmpAyZpzjbziD+UFoj6mOBw1uhe5w1VP/4w9fxPCCgvJj4SaJ1OS3moOw66K5AhG jGtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Y/SFkT6h1oZ5GShOmjuW1vfSNgwOa8q4oAZiTxeVpUc=; b=mIHl4CxeDlJw93Deql0XEaNF/NuAICXYID0qmDoYVvksx+ehDcZo/L7pmB+aCengVr x3ShWCXJfvQ2lXtLZrU6OC5w4qPm7xNOCRdU1ucEBZvEiKO/01nYHWZlkCIpUeiMcSB4 qCLSlk/dXWKv+gVDbNCXIYaqGod9a6nXwM5j/D3L1UpGzRS/BLL/VO9ob3fhkTazTRd+ +Elh+YKCxgrdMPI/nECdLUe36eZl8mHDm/qXZvzseIoWna6yB+JdGUUg3QBAuUU2e74I LyNmujhQpx22xqYT18w7WUlhEON7+XtTRzpIXjD9vjnJF4x285tcaKj7JH6zn2/Zb5lP BdFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bp.renesas.com header.s=selector1 header.b=SoOA+seV; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je6-20020a170903264600b0018725be1285si9132584plb.558.2022.11.14.12.09.20; Mon, 14 Nov 2022 12:09:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bp.renesas.com header.s=selector1 header.b=SoOA+seV; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235838AbiKNT4K (ORCPT + 88 others); Mon, 14 Nov 2022 14:56:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235591AbiKNT4H (ORCPT ); Mon, 14 Nov 2022 14:56:07 -0500 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2124.outbound.protection.outlook.com [40.107.113.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 196455F80; Mon, 14 Nov 2022 11:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hEs3VX6KR092SLjJoc9D/s8We98U1tp7k/UrlrusufLTjOw1DrigLnZfSmh3ROK0EQElSoVxGb0ZU3TAmkKrSdBVOKF+KrYBK6htv1ZewYlyhNZ2kUERGwGWWmLBIJij6/yqJ0TVeupDH4w3cZ3LXKByzbCKRqi9Q8j1zTlHw29eyJCGMq5juZLC290CYacl4emuY8i4VanrzVpB72tbDtANgI/t/5ECvjQH5USwHCd1adOP1qWtiWWZO3xvPQKJrISBtlffUBU7GaMwns496AteOSMOp7KDCHescutzRsfNNQJtBxmPc0ciNdcvfKnvIk4Z4EJuP8rAI4BallNRrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y/SFkT6h1oZ5GShOmjuW1vfSNgwOa8q4oAZiTxeVpUc=; b=hYNclWB4wjuP+ymLG8dfOVj0OIT91tTUGwN0pz78VdxbVKGyErttdClWwYJZ8Jxw25UhnkgjWxt3iUWMKb+cU80lbbyai+6B9bKzUyxqceLBfcZYHOfuZBdmMHUX3O+nBKq7nQFBY7sW7sTv1o2uT20sQ9LyS5VmjQDb9D0DTYNJNi+yWip7NahMxw78AruiEG72AMPNWzQRbyxJFMEIrxOFgK8UR69LeMYVRMvRk7q1AcqvUYWw6p0zIi/MZnycPYin0CyDP3/2uow/MQPboqI77aNfUcRmYWk9STPmghn9LSKINbLCo3gpizEj7czuOe1tRMFSLl0T2ndHvpvx6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bp.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y/SFkT6h1oZ5GShOmjuW1vfSNgwOa8q4oAZiTxeVpUc=; b=SoOA+seVpktUpqSJ561szFOB8lKh4L485V8awioVajgWwFlPD8v2XEbRzJnxN7lnGX8yH72mbuF6OYCQPlgoUy6VeJZxsTVatFhm7izMUo8jv7IiBiV9vhj2GChLvNTYG0heTLV3K7519QPDuxxp0qXLjExRQt8s5ZoYtbPGTmc= Received: from OS0PR01MB5922.jpnprd01.prod.outlook.com (2603:1096:604:bb::5) by TYCPR01MB7895.jpnprd01.prod.outlook.com (2603:1096:400:184::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Mon, 14 Nov 2022 19:56:04 +0000 Received: from OS0PR01MB5922.jpnprd01.prod.outlook.com ([fe80::5b24:f581:85bd:6ce2]) by OS0PR01MB5922.jpnprd01.prod.outlook.com ([fe80::5b24:f581:85bd:6ce2%3]) with mapi id 15.20.5813.018; Mon, 14 Nov 2022 19:56:04 +0000 From: Biju Das To: Detlev Casanova , "linux-kernel@vger.kernel.org" , Marek Vasut CC: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , "open list:ARM/RENESAS ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: RE: [PATCH] arm64: dts: renesas: r8a77951: Add reserved memory region Thread-Topic: [PATCH] arm64: dts: renesas: r8a77951: Add reserved memory region Thread-Index: AQHY+GJCXYcA+xTX10eEM0Sf9MBXjq4+1M2w Date: Mon, 14 Nov 2022 19:56:04 +0000 Message-ID: References: <20221114194846.108814-1-detlev.casanova@collabora.com> In-Reply-To: <20221114194846.108814-1-detlev.casanova@collabora.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bp.renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: OS0PR01MB5922:EE_|TYCPR01MB7895:EE_ x-ms-office365-filtering-correlation-id: 379e2cad-dd59-49f4-c3fb-08dac67a4321 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dCPrU1jihw3Lb/oVKTGMaDhOwdhDifR/9/ZuMdUbYHSoKDjzxtZ8/vvqJoI5ZrYtWzTk4YNzBpD+oXlaTk8zWuImXoaIqDMIwAFZAUYxTX4t635H4i2meuyDFIj8Wu24Ua+1QhI8V9fQjp1YtIgAnviSnb2iCeJ/OsGgZsO4Nn3Q2E3Te+JSB8RFLOfajbXAtJj9NaMbXbLUfJLwecnhUYxDNC1OlsACE33pq731DAmb1+yf2oOCL4h1tv6dXxiJSf+vpC1LcVeRneqF27n2lBpj9/8PYyXIVpIaeWN3jUq/XF+ZFTnuuiJy9ksxFyClw/Onc87QMQPfFgSR2VTU1qjBJJcp/LaBPaeGdS+cDuwuckfqcvlZvD5Q8t3I1scquN8HaAQ1AgHi12tKxsYHVU4tzGiXE1Z+m6S02/xrv0d9ZKVIiVE2JZKVZ0eRTVNKuS3hcMZvqP9k7AMvz8etqmAIXFApppc1ZgwoXTD5U/Ulbd0bSL9zf6Asx1oZ64dZTLNvYPVJdO2TBD4vpvQznLFN2QO++j5YF3k3b5MOjHMzBF6zRwaXw5QFHVY7L5mWik9GBdQ4g7Gah3C87H3nn11WD/oEsrMqG+fPWaCqkHpNfr89SQLBus+vYVIw0gN7/ru7/zqz1plT8JuhTYyXolt0kvitwCdWp53DLHSHtUoDnj7A1CHq4GMvdgXkho9p2Ag+iGVB1JSANF6VhlqsuFHB/j9gjiDg9EzwWqs4fdNwE8bUYHZLT7Zura3UNSEpQf3q+8Ang1Y9IXar1l2Ts/X1osLTbFyJbcoL68BBHBE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS0PR01MB5922.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(136003)(376002)(366004)(39860400002)(396003)(451199015)(2906002)(66446008)(66556008)(66946007)(76116006)(8936002)(5660300002)(83380400001)(4326008)(41300700001)(8676002)(53546011)(6506007)(54906003)(122000001)(38100700002)(52536014)(66476007)(33656002)(316002)(110136005)(86362001)(71200400001)(55016003)(478600001)(38070700005)(64756008)(9686003)(966005)(7696005)(26005)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?l/XUVceHrny0GSAB66IjunBznZAUczQ7K6q6EIPjixT/UXyqRCPLqepMJ4cM?= =?us-ascii?Q?oC6UWZodywyoBZFOfY+6UFSR4YQwF2JX999DkKBYbqSvjcdEoGhsLKyimYRB?= =?us-ascii?Q?6W4N5wMXYR4GIgT/zRDPsAotuw2MYsrsa9JEAqzJHWqXsdRPEHP0oKT1g1Yv?= =?us-ascii?Q?wwWd5CpLUaI1aWMM9XbdXERDqoi46h/YEYUXYsdqhejwCyxWIrOVZkAVQ6wY?= =?us-ascii?Q?2YPxw6ge/1Rs7GXF4tdSWAnLTL8x+TWtpYJbo6bLkInDpNX1xmJ/Io8XXC/s?= =?us-ascii?Q?EfIbTICirfe0tV6fYJ9lP+ysWdwBduqwtm71UQFlg/KntFweVMvVkTLip5TI?= =?us-ascii?Q?blbEpTE7st6qiVoLX280nPXis577r8yaUBlAMBz1N08cmUpVmuqNFgC5q6bS?= =?us-ascii?Q?aNxndsbvH3V8YJJg/p0FDIdGwmhV2bnYBUeedZk/OrpRaV6nGNFkfXQYWFaJ?= =?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UcPAmOjq5Z9UERYdgvyf/amlDfor?= =?us-ascii?Q?6oUYjuT9ksdCyZvY3On1lCHoUyIXKUQYE6JbFOuAi1vDbwusZa1pwy7DmLkZ?= =?us-ascii?Q?i/r/ZLn5mOr6x0QlfBd7mzn99seSfAbR7U1AKdGiLwB6wOcW90IhZC1ijsJK?= =?us-ascii?Q?xco5Brqzki2FeHkHl4Wsc8DUE15/SfSILYhoYzk+SnPnoUEy6AUkj2SnlFDz?= =?us-ascii?Q?WRaXDPV6v3J8b10UW9apo4IxLYZ+XfBV4iuzoPpVqV0NJRhoSbKiTcJtH9Ib?= =?us-ascii?Q?AA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: bp.renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OS0PR01MB5922.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 379e2cad-dd59-49f4-c3fb-08dac67a4321 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2022 19:56:04.0630 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Jmg9CCmmwJbArXFmPYQ2sg6YqE9VHljoTnl39wrYwR+qR04fiNFjbYbv9cBEn7GqVSntsnmiLamJAsOE0teIFLf2c/7WH0T3NvWBhNCVXb4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7895 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Detlev Casanova > Sent: 14 November 2022 19:49 > To: linux-kernel@vger.kernel.org > Cc: Geert Uytterhoeven ; Magnus Damm > ; Rob Herring ; Krzysztof > Kozlowski ; open list:ARM/RENESAS > ARCHITECTURE ; open list:OPEN > FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; Detlev Casanova > > Subject: [PATCH] arm64: dts: renesas: r8a77951: Add reserved memory > region >=20 > 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. >=20 > Mark the region as no-map to prevent linux from using it as RAM. >=20 > Signed-off-by: Detlev Casanova > --- > arch/arm64/boot/dts/renesas/r8a77951.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > 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 { > }; > }; >=20 > + reserved-memory { > + #address-cells =3D <2>; > + #size-cells =3D <2>; > + ranges; > + > + /* device specific region for Lossy Decompression */ > + lossy_decompress: memory-region@54000000 { > + no-map; > + reg =3D <0x00000000 0x54000000 0x0 0x03000000>; > + }; > + }; Is not part of TFA[1]? [1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/plat/r= enesas/rcar/bl2_plat_setup.c#n174 > + > extal_clk: extal { > compatible =3D "fixed-clock"; > #clock-cells =3D <0>; > -- > 2.38.1