From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A079EC43381 for ; Tue, 5 Mar 2019 16:14:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6F957205C9 for ; Tue, 5 Mar 2019 16:14:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MUi58oca" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F957205C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zGLxF0b8oextdrPZtrxXM3jEhO8yd5BcjALVxAeuqE4=; b=MUi58ocak2GGkXRqOz9c0n/ha wzpNeXVDV4Y6gZ8+FnVdOCT7p7P+Qh2ZDQk8i33QCrqu6EMA+9Q2/hPpkOknTaHYay4IwceKFkPJx oP52FdZ4uV9TQFTYIIcDybcRYQwGiPsKjqq0jr8UicJi/WwBtKp8MPJSxWJTpYX8P8wvv2ZtPGWEf gtfKeNJsQoQ7sg8TOk6rPtJCU+agjLCemYBD6UwfX5JwZBCiaVrT9ihdXL7fhahPQAZf2KfWeNB9k i3xdtCR7YXBjJf5M6YY3LJyJNP7AfxX7lDGeYKCdh4QF+3icXjI2xA0B35/tiE0PjHBO5uXX73yan RlCIlR5rw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1CiA-00022W-8C; Tue, 05 Mar 2019 16:14:34 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1Ci7-00021v-21 for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2019 16:14:32 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7DE10EBD; Tue, 5 Mar 2019 08:14:30 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 468C43F703; Tue, 5 Mar 2019 08:14:28 -0800 (PST) Subject: Re: [PATCH v3 1/7] dt-bindings: interconnect: Add a dma interconnect name To: Maxime Ripard , Georgi Djakov References: <43eeca13733faefe62f9facc25b8e88f7e593f61.1549897336.git-series.maxime.ripard@bootlin.com> <553c987c-da9a-1f85-fb16-4b9fe17dd14b@linaro.org> <20190305155337.glfvgyddvnkv774m@flea> From: Robin Murphy Message-ID: <0e72fbf7-b100-ddc5-3c19-32f71c37f76f@arm.com> Date: Tue, 5 Mar 2019 16:14:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190305155337.glfvgyddvnkv774m@flea> Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190305_081431_105986_1EEF7B84 X-CRM114-Status: GOOD ( 20.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Thomas Petazzoni , Arnd Bergmann , dri-devel@lists.freedesktop.org, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Yong Deng , Frank Rowand , Dave Martin , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 05/03/2019 15:53, Maxime Ripard wrote: > Hi, > > On Fri, Mar 01, 2019 at 07:48:15PM +0200, Georgi Djakov wrote: >> On 2/11/19 17:02, Maxime Ripard wrote: >>> The current DT bindings assume that the DMA will be performed by the >>> devices through their parent DT node, and rely on that assumption for the >>> address translation using dma-ranges. >>> >>> However, some SoCs have devices that will perform DMA through another bus, >>> with separate address translation rules. We therefore need to express that >>> relationship, through the special interconnect name "dma". >>> >>> Signed-off-by: Maxime Ripard >>> --- >>> Documentation/devicetree/bindings/interconnect/interconnect.txt | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt >>> index 5a3c575b387a..e69fc2d992c3 100644 >>> --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt >>> +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt >>> @@ -51,6 +51,9 @@ interconnect-names : List of interconnect path name strings sorted in the same >>> interconnect-names to match interconnect paths with interconnect >>> specifier pairs. >>> >>> + Reserved interconnect names: >>> + * dma: Path from the device to the main memory of the system >> >> Bikeshed: As it's from the device to the main memory, maybe here we can >> also denote this my calling the path dma-mem or dma-memory. For other >> paths, we are trying to mention both the source and the destination and >> maybe it would be good to be consistent although this is special one. > > I'm not sure I understand what you mean. You'd like two interconnect > names, one called dma-memory, and one memory-dma? Hmm, yes, it's not like "dma" describes an actual source or destination either :/ Robin. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel