Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1262820ybl; Mon, 2 Dec 2019 00:19:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwBNVcAejzv6Sx1feEkzg+5kaEsboi1m/xWJ0Tu1TGFRdfV0yuaVFTNSA+lShKcnolXpMUF X-Received: by 2002:a17:906:52c3:: with SMTP id w3mr79113191ejn.122.1575274793392; Mon, 02 Dec 2019 00:19:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575274793; cv=none; d=google.com; s=arc-20160816; b=LKvz+hpP6eAF/HD9lPqCama0PFVy/swSRnnmmlMI4+GQekgOXli+LvR2HSXql1VXQd R856W1Gl4wfqMOciXZBQ986Y1e8MBPvz2qdVbulMQQUVLhOMZImjknXc3DJ2i2ZKEA/7 H0XYT5GoI1RKQW7a5Z9HBtcAdpKoJFvyPd0DRNztlF4TGFhh+VgW4M9OpeJ9gO0GVNkW YOWiPbcFv8yEN3Q6yak5XiFeKLQu8qKHsgaPOH4TNiTc3Lt4dK7mfQfeRcPDzrCIVW9h z9qb7jK+zXOTQobh5fkG/Q71hxRj9SZED68uItQSundSrpBz9L8+U8xqQjdUMnFOE55j oxjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=f50mWZrkwoi9YXmNeZrXfs3mkNxzrzXAYSLDa07pPE4=; b=XuKp912r5ZkMnDlhC44PC1Cum4qCFC3M3PcBkFjf6LAgclGMNCI8BV+ol1jsem/+Ho EcI9BeXPPD21awzqWKpIp0yAQfQo7V1RnsfeuwCPMLSzXCIw3DawvO0dC4zx5sSD9i92 gwGIaa5MSAI/knCcU0BPqjJDq3Lw8GWMVOvGGFe3EOsuhbQGqRhbzrNEA0uwtCze9/ZT RFAjumWeNgx6Dj5Yx3QqncN7NJqpxpazMWyhz9vt2deeBf1xiBLoRW4FUv/LirUHxigR nxmMwL4n0TUWUQEQimR39dWK1PtQdN8kNdoY001ccH3GGaliUqV6dJkBBLycwAtJnBcL 5Eeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21si3290937eju.299.2019.12.02.00.19.29; Mon, 02 Dec 2019 00:19:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727467AbfLBIPq (ORCPT + 99 others); Mon, 2 Dec 2019 03:15:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:53812 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726106AbfLBIPq (ORCPT ); Mon, 2 Dec 2019 03:15:46 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F3D59AE3C; Mon, 2 Dec 2019 08:15:43 +0000 (UTC) Subject: Re: [PATCH 2/7] arm64: dts: realtek: rtd129x: Use reserved-memory for RPC regions To: linux-realtek-soc@lists.infradead.org, James Tai Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org References: <20191111030434.29977-1-afaerber@suse.de> <20191111030434.29977-3-afaerber@suse.de> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: <1f25f2fc-5d31-1d74-b730-78ad7861ffce@suse.de> Date: Mon, 2 Dec 2019 09:15:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191111030434.29977-3-afaerber@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James and Realtek colleagues, Am 11.11.19 um 04:04 schrieb Andreas Färber: > Move /reserved-memory node from RTD1295 to RTD129x DT. > Convert RPC /memreserve/s into /reserved-memory nodes. > > Signed-off-by: Andreas Färber > --- > arch/arm64/boot/dts/realtek/rtd1295.dtsi | 13 +------------ > arch/arm64/boot/dts/realtek/rtd129x.dtsi | 23 ++++++++++++++++++++--- > 2 files changed, 21 insertions(+), 15 deletions(-) > > diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi > index 34f6cc6f16fe..1402abe80ea1 100644 > --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi > +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi > @@ -2,7 +2,7 @@ > /* > * Realtek RTD1295 SoC > * > - * Copyright (c) 2016-2017 Andreas Färber > + * Copyright (c) 2016-2019 Andreas Färber > */ > > #include "rtd129x.dtsi" > @@ -47,17 +47,6 @@ > }; > }; > > - reserved-memory { > - #address-cells = <1>; > - #size-cells = <1>; > - ranges; > - > - tee@10100000 { > - reg = <0x10100000 0xf00000>; > - no-map; > - }; > - }; > - > timer { > compatible = "arm,armv8-timer"; > interrupts = diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi > index 4433114476f5..8d80cca945bc 100644 > --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi > +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi > @@ -2,14 +2,12 @@ > /* > * Realtek RTD1293/RTD1295/RTD1296 SoC > * > - * Copyright (c) 2016-2017 Andreas Färber > + * Copyright (c) 2016-2019 Andreas Färber > */ > > /memreserve/ 0x0000000000000000 0x0000000000030000; > -/memreserve/ 0x000000000001f000 0x0000000000001000; > /memreserve/ 0x0000000000030000 0x00000000000d0000; > /memreserve/ 0x0000000001b00000 0x00000000004be000; > -/memreserve/ 0x0000000001ffe000 0x0000000000004000; > > #include > #include > @@ -19,6 +17,25 @@ > #address-cells = <1>; > #size-cells = <1>; > > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + rpc_comm: rpc@1f000 { > + reg = <0x1f000 0x1000>; > + }; > + > + rpc_ringbuf: rpc@1ffe000 { > + reg = <0x1ffe000 0x4000>; > + }; Have you reviewed this patch to be correct? I.e., are the above two regions reserved RAM (assumption above), or is this rather MMIO shadowing RAM? (then we would need to update the /memory reg and /soc ranges properties) That also affects RTD1619, which currently has neither. Thanks, Andreas > + > + tee: tee@10100000 { > + reg = <0x10100000 0xf00000>; > + no-map; > + }; > + }; > + > arm_pmu: arm-pmu { > compatible = "arm,cortex-a53-pmu"; > interrupts = ; -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)