Received: by 10.223.176.5 with SMTP id f5csp4099920wra; Tue, 30 Jan 2018 02:03:11 -0800 (PST) X-Google-Smtp-Source: AH8x227wrfKGv28mXxn2cfPBRCyqC6B7P44b7bYzjMrLfzMaa1UlmTSbHh8rgeXcSPi0C+UQ6OKX X-Received: by 2002:a17:902:3f83:: with SMTP id a3-v6mr24116523pld.263.1517306591585; Tue, 30 Jan 2018 02:03:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517306591; cv=none; d=google.com; s=arc-20160816; b=TRJa4/zbedrn1T6lL7rv8qhqDgMl7zH0dt597a9N9EDDZZjESfNZVX+TvjzusG0983 19GDsEbqDerrUeO1fLQUibxZAi/RUDMV2NuTqqePN1dOyg1dQz+S+RcQ0TKj0RXscrOV CPeZU4Ec3X8WIBOEul2rjzlUrYcCIuSK8XNHZxq/JKRHHUz4Je9gdn83KL7Vjw76ec11 uM+s7ep/uxVGkfnoLdjRtL11fL9+r3SlE9YntsUIKhpWZ1BBmqNTVsaglcSecknR1j1k +11flLam/GQHq7uxR6Txi3Aph08B2oJF6V41QA9I1cUgieOXD8FM933pt1HGwtUuC9Oe 6TVg== 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=w0TD/m+LGnDzeJeumEK1zcDkq5TYPPFqfAsRadsCIWo=; b=hHxwUL36Pz0Z7s1RFTLYJOMKKEIJ/5N0zluhS3SYMh5sBHAr/6b4c1mOzT9Q8Q1Ryd qXdH42qxVQtWvlvq/wKB5LgHErdq/koUm5FixnAc4uhJ+hme+2Q975819sUExWr3ZYCU iYmFyqK/6LkOnXvrM3JlG7QOAtYiNR1n7mqnc5ynbGzmoHnMf+vO0GtEl4xl3+joMlsD USot9JLZrYAnu/4bp3WEYmkIEn9/G2xAe1fcsZJZuKyv+wtBQpr9pRSJg3SZSHp7kEUg JfPSmRoEqm2hdy38kJ7k/1klZ1VSprsm9PyRBwjmXQ2iwVfM+SXhSwYrJc0dWqhjdwJ7 yMVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J/IHGfwm; 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 m14si4386711pgd.207.2018.01.30.02.02.56; Tue, 30 Jan 2018 02:03:11 -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=J/IHGfwm; 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 S1751934AbeA3KCC (ORCPT + 99 others); Tue, 30 Jan 2018 05:02:02 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:33646 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbeA3KBx (ORCPT ); Tue, 30 Jan 2018 05:01:53 -0500 Received: by mail-qk0-f195.google.com with SMTP id i141so9329819qke.0; Tue, 30 Jan 2018 02:01:53 -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=w0TD/m+LGnDzeJeumEK1zcDkq5TYPPFqfAsRadsCIWo=; b=J/IHGfwmKB9TxRNuCSY0keyUMTeOjWnfb6qRD0w4OLptlJG3Qn5aAzsFcoZNWuXmWf DQxaidpedk0PxXISbTxynEzjfXGgUmA1+DALWu//F8TohsEZyAz2P0vHWpV+ECQi9HoP StVJQu3QaSkI6WP9q7uwPv6yYQnpYW+itGwacThGQvXDdmYwts2J18HEvRe+GiA2++jr 2PAx+ZL+cfM6CQLMxCT438MFT3bWAO9vydwMW6IGxcoUlu0i+eBadjeRuQx6b3VH0wdy pccof91dz7Lkj/Syx56tapKOuNVhpyUAaqNZQBfoP/oNkdlFM0JkwR6+d8FsfVHlfVLk nImA== 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=w0TD/m+LGnDzeJeumEK1zcDkq5TYPPFqfAsRadsCIWo=; b=uDd+gvPp38LT+scGgiWl1yBV9OdqNNtqAZ1CO9qIogSFMMjyzswZGowXi6rKv3NYsy 7KdND4eMdwCxzmRQf4nMYLqS+p7UGH0XJq/bAlQhB6xKPxnZH+ZAp+uK9TiIqwoJh1HF JchromBAJxwgLkstQLPpjyTt4g0gQnGq1gXaqeQbxHfJjNP1iRGAisHW7ngfqMxbLCk0 sdvzu7fTOIuV3ft8+YNE5d/HQIV4SSxno4DSAbWBUZEN5X8Vg83MyEJh48fRsmZASfCq WInRIKPJOQQli4DNmbhXTcUylEMkv3AYyF4FUI2nk+OkoYLJqSI2BGSQACk3lgepFqkb JKkw== X-Gm-Message-State: AKwxytckg8Dn9ep4cMEIU+jEzCwWXaS6+w25E6+jz0oQRxOpPqkPsHib SvZAcVdZamaxwTKndWp2+EU= X-Received: by 10.55.200.25 with SMTP id c25mr15800259qkj.291.1517306512763; Tue, 30 Jan 2018 02:01:52 -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 d26sm11704694qtk.54.2018.01.30.02.01.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jan 2018 02:01:52 -0800 (PST) Date: Tue, 30 Jan 2018 11:01:50 +0100 From: Thierry Reding To: Arnd Bergmann Cc: Dave Martin , 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: <20180130100150.GB23047@ulmo> References: <1516695531-23349-1-git-send-email-yong.deng@magewell.com> <20180129082533.6edmqgbauo6q5dgz@flea.lan> <20180130075441.rqxzkwero6sdfak6@flea.lan> <20180130095916.GA23047@ulmo> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <20180130095916.GA23047@ulmo> 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 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2018 at 10:59:16AM +0100, Thierry Reding wrote: > 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 complexi= ty, > > >> but perhaps we cannot. > > > > > > Are you talking about this ? > > > https://elixir.free-electrons.com/linux/latest/source/Documentation/d= evicetree/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 detail= s, > > but I think that Thierry was either involved or made the proposal at the > > time. >=20 > 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. >=20 > If someone wants to read up on this in the meantime, here are the links: >=20 > https://lkml.org/lkml/2014/4/27/346 > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/257200.ht= ml >=20 > From a quick glance the issue of dma-ranges was something that we hand- > waved at the time. >=20 > Thierry Also found this, which seems to be relevant as well: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/252715.html Adding Dave. Thierry --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlpwQo4ACgkQ3SOs138+ s6EL+A//bvLRGsfMxf8AcrC85N4hZkiTDErmoUFcbXCszZgOeYjudGP8rBVFSz4B kYrz8Oywa7KXtsBNHhBhk8OPKiJ7toWFiEDAuVA/5oWELHTMyWQT7NDJzA4sff08 0mcH0dS6Cb651ON2Wbe+1H7Kn0Vf1eq7m7JViun7su+Lx9Z+VfPO/L/Q7uOHQjun /0Hgw0s/s2Tt8HkjU4TfjolxQrPNHn7AZ4MavC4SjJ3GV6wCJNyreJHzysvrFr+Y 3rpbXsJhicXf380nJlUmtfkGOSi8OHAFArN5ein1ZLQp73iTtznH8/3uuC+cTQvR 3Y7EtvxAzYctIUkDx9ybo+APJZWlOnTAcQ6ojsCLIHUKg9CkzQY9XlqTYp+q7C2C zXoDn97JL/9dkjwp+K+iRtU+iZ6O6u1NagEeHeWLv+vIUuqY2P6fpn+JK5xYTcxj yrlavhNX0/cTPY9iccOqQwZR4/9joKaACLZW0JVXwydgVWDq2PhGdPl15N0okTxF 0pywj71XupJbMR3WkCL6vxyf7/SsZ/PnucNkRiwObzsxt5S9gJVvAnzjmjIHuUEq ATnmw7Ox1Fm9Gwpwl+0Hy0Ez61Uiql+K8LhXEl5Kro61sIl1yPMXrbRGGKA6pHo9 MAh93ISupLgEhEK47cVJAjPRH7ou02885PA3a8tR3b8Kop43qsI= =v45/ -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN--