Received: by 10.223.176.5 with SMTP id f5csp4101134wra; Tue, 30 Jan 2018 02:04:28 -0800 (PST) X-Google-Smtp-Source: AH8x225Tnp0v3ucASTx0Sq/Xrm0Dz3NR8xr2sH4Ia3OcaGHUFv37qz9x1Pm1je7OwEk1HNNa0vuH X-Received: by 2002:a17:902:396a:: with SMTP id e39-v6mr5132434plg.324.1517306668721; Tue, 30 Jan 2018 02:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517306668; cv=none; d=google.com; s=arc-20160816; b=yS7JpxfHVjNI/2B5WPbNobzLIcoXM1BYzgsgKhF+sS7wApfLsOaUXa8YU3o8rlAZZd 9LT/fObybXR9IDGdDwRcKj0WYG216GjrZTX4HDcnHp7PERhd45ViqMNbK2umHu44MqWb 4hqUgK5xM/1wmN7dWkjfOfX1E1xIsnqIcToCKrQhSazfzH82F/stIchOK+IFEqTRuFTw o24m7YU9JPVg7oyXm19Q3kgTr81C3Kymlgvgan7YMbtDPijpxyzqHtFINsKZBwPXlJI2 qLu2nSXS9FKFPbfLK44X1yikgwcB19+ik5TNtWebR33GlWoBMfrBOZLUbZjrj3t/0lUf Rvlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=CsPo3EMxV0fC+CNRDLR0WL9D5EKRJqtaZjWr9LuBRBg=; b=jeR0BOkfPgkOBjM9FS0Py0CslqrgFEbCEeAPwRe7Y9OR1atWFa8mUO8RGdDoCNY1Ur MkB4qPDf1UOdVgkeVKHO7/OnPSBoSQmNI66/kUHa01TznJ4AjG7CX1cBmEJq6icx2Khe vm+etl5CQvp0U2KwkAKgzWwHIV63IjyXRawd/+Dg/Wf67F5N2ndf9YtXN1tn4uyHpgyg 5TIvxfztaBnu7JDrkv4gsGGaIUkCXKefW2faFSxW4Sp8LU7f4jVNqNZXyYItK/iSM/3G zQOzDQL+FxkFSN30iq3Bn5tTdyCuAjj3eqvY2szsg9wFsBTT1FG2FRQr1p3t3m5Bdkz3 3ZXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LlqY6t9A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3-v6si1573517plb.354.2018.01.30.02.04.14; Tue, 30 Jan 2018 02:04:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LlqY6t9A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751955AbeA3J7Z (ORCPT + 99 others); Tue, 30 Jan 2018 04:59:25 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:39883 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530AbeA3J7U (ORCPT ); Tue, 30 Jan 2018 04:59:20 -0500 Received: by mail-qt0-f195.google.com with SMTP id f4so16429447qtj.6; Tue, 30 Jan 2018 01:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CsPo3EMxV0fC+CNRDLR0WL9D5EKRJqtaZjWr9LuBRBg=; b=LlqY6t9AREKrqgFlJc9PzmxwCINqynp9HAUdWVKseprxtNR8qWU+CVBbfdrwZG57PQ g8VzE1mL5vmBH7IdmVnS2c2cgCQ5OrkX4iRKE4KH3WKU1VgkT6ysZx9xgZU8CmyCiFP2 Yw1gr+lb0svtgeF4UIU62V2oe4Hk2/E2qx6wQLhChRa6XXiWQVQ51boYQ9w21fV/UV3c WbBmcc4XckChtZpqppUaAB7crT1suVcScHC14Dk3vjpT6fAAPrqDVZi2F8AwfeQMomxl Th6rFFBlHd6GNVBEGDdVnmLx3RGtEFHoqRBgHMqhYxoJr4dq56rRvYBFXc1ef1OiFN+Z Ju7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CsPo3EMxV0fC+CNRDLR0WL9D5EKRJqtaZjWr9LuBRBg=; b=ZJFlSojVdFsLcYpPURhREpqdXXJS2syHGLM+GRND+lN2OOeoagxXTZ9gW14j6k25t7 wmOAq3FYh5+ym4TN8HUJHkkCQKbKZqBpwFOwu3ABBrvjvlSEMlcyw+v20PvTpFqm0JyO iKI+89XML4t/VCDfBAZ241cxspdoOwN84Ox6Lv8ZLW+Vw1vcM/zkk82CFbeEPGwVQ3xM c9r722txdeCWq7M7Z339Ae6pVwpsbzY14AHdg8NrVo6WyyRxvKAe1/+K2XiZXsJN6aFM 1wiVvHSH/gy4+V4+y23RGR3DbSpj9rbCEzRNEGEYChH0MU4zUyWbA3HRglq9MhYZxflf v9Mw== X-Gm-Message-State: AKwxyte4Z5FTlp8RWHgvdZxCpFsn7lTGv3mzk3jwDApaViy5vkpb5Yzb 4RBBzXoPHSL9bCiDhfFPvMk= X-Received: by 10.200.42.168 with SMTP id b37mr44340247qta.321.1517306359628; Tue, 30 Jan 2018 01:59:19 -0800 (PST) Received: from localhost (p200300E41F41B00009B231EAB1BE76D4.dip0.t-ipconnect.de. [2003:e4:1f41:b000:9b2:31ea:b1be:76d4]) by smtp.gmail.com with ESMTPSA id x207sm9188002qka.91.2018.01.30.01.59.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jan 2018 01:59:18 -0800 (PST) Date: Tue, 30 Jan 2018 10:59:16 +0100 From: Thierry Reding To: Arnd Bergmann Cc: Maxime Ripard , Linus Walleij , Yong Deng , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , "David S. Miller" , Greg Kroah-Hartman , Hans Verkuil , Randy Dunlap , Stanimir Varbanov , Hugues Fruchet , Yannick Fertre , Philipp Zabel , Benjamin Gaignard , Ramesh Shanmugasundaram , Sakari Ailus , Rick Chang , Linux Media Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "linux-kernel@vger.kernel.org" , linux-sunxi , megous@megous.com, Thomas Petazzoni Subject: Re: [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI. Message-ID: <20180130095916.GA23047@ulmo> References: <1516695531-23349-1-git-send-email-yong.deng@magewell.com> <20180129082533.6edmqgbauo6q5dgz@flea.lan> <20180130075441.rqxzkwero6sdfak6@flea.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2018 at 10:24:48AM +0100, Arnd Bergmann wrote: > On Tue, Jan 30, 2018 at 8:54 AM, Maxime Ripard > wrote: > > On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote: > >> On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij > >> wrote: > >> > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard > >> > wrote: > >> >> On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote: >=20 > >> > >> At one point we had discussed adding a 'dma-masters' property that > >> lists all the buses on which a device can be a dma master, and > >> the respective properties of those masters (iommu, coherency, > >> offset, ...). > >> > >> IIRC at the time we decided that we could live without that complexity, > >> but perhaps we cannot. > > > > Are you talking about this ? > > https://elixir.free-electrons.com/linux/latest/source/Documentation/dev= icetree/bindings/dma/dma.txt#L41 > > > > It doesn't seem to be related to that issue to me. And in our > > particular cases, all the devices are DMA masters, the RAM is just > > mapped to another address. >=20 > No, that's not the one I was thinking of. The idea at the time was much > more generic, and not limited to dma engines. I don't recall the details, > but I think that Thierry was either involved or made the proposal at the > time. Yeah, I vaguely remember discussing something like this before. A quick search through my inbox yielded these two threads, mostly related to IOMMU but I think there were some mentions about dma-ranges and so on as well. I'll have to dig deeper into those threads to refresh my memories, but I won't get around to it until later today. If someone wants to read up on this in the meantime, here are the links: https://lkml.org/lkml/2014/4/27/346 http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/257200.html =46rom a quick glance the issue of dma-ranges was something that we hand- waved at the time. Thierry --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlpwQfIACgkQ3SOs138+ s6Fh7g/8DFGL0MzPPU8t/wdZQbRgTyDjYLOX2sBH8WYUFlkqDLocFVs58lSMZpiU xD6/muWOblNt9BJX7yd3zcPM4S/sNVTv7VsafkJZ1ssjPRLDwy/WTL2wAwIhOv5t iQUUYFgG8q8YRCaG+xYiDW+1PCA21P8xl57OgfOc7MaqHKwy2Z7Dnq3rE8LUSiBP IZDynIHOMSZRKskwbvdXgCRM56faA81pwYPX+B04kmcVap4ellQ+aYq/t6uDRlpA wmKWxWnCQsrAgpBKBTqARXMFo0XXUo7lzcYsj5AKZFAZZ6uU/DvZm6SryEirr6vh dW7NPB4KUYJ9OjmtI9S0UGCr80bQRSAetJK1aXbb6qEsS8eu31lB0747a5fG5GU9 6qoqgrg3aM1rPGIagmDHi0bRdxPUUA9syHBMpURfQO4rm0L9O8trafsDdjwVssyC 1NJPftbx0O2HFLzNcyrUw8X3OKlHpkUOizboXehzgqCWrpPS9VQvXwEGSQSGDGXC X36KBDP1W+8pLvm1Hw+YeWBGouFaL1FVYkNFUJb1BaoDXRYa3tPY0WE7576kHSqd 3BdHBvMBGDDBN++TV1n3mTutufaAH4uqr9IXRupYSJnofBi+oxjfePbOZoXRti96 nM86zevzm19fe1ZZ1ZhFTWFNov4Om2nfaBw6FkNBoRjml62PPyc= =UHHc -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--