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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 7D029C4CECE for ; Mon, 14 Oct 2019 10:00:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5757820663 for ; Mon, 14 Oct 2019 10:00:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731198AbfJNKAb (ORCPT ); Mon, 14 Oct 2019 06:00:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:44636 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731119AbfJNKAa (ORCPT ); Mon, 14 Oct 2019 06:00:30 -0400 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 01915B744; Mon, 14 Oct 2019 10:00:27 +0000 (UTC) Message-ID: Subject: Re: [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node From: Nicolas Saenz Julienne To: Shawn Guo Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, frowand.list@gmail.com, linux-arm-kernel@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, xen-devel@lists.xenproject.org, linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, Li Yang , mbrugger@suse.com, robin.murphy@arm.com, f.fainelli@gmail.com, james.quinlan@broadcom.com, wahrenst@gmx.net, Mark Rutland Date: Mon, 14 Oct 2019 12:00:25 +0200 In-Reply-To: <20191014082847.GH12262@dragon> References: <20190924181244.7159-1-nsaenzjulienne@suse.de> <20190924181244.7159-8-nsaenzjulienne@suse.de> <20191014082847.GH12262@dragon> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ZhF7YshJftYaREkjx+2D" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org --=-ZhF7YshJftYaREkjx+2D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-10-14 at 16:28 +0800, Shawn Guo wrote: > On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote: > > qoriq-mc's dpmacs DMA configuration is inherited from their parent node= , > > which acts a bus in this regard. So far it maked all devices as > > dma-coherent but no dma-ranges recommendation is made. > >=20 > > The truth is that the underlying interconnect has DMA constraints, so > > add an empty dma-ranges in qoriq-mc's node in order for DT's DMA > > configuration code to get the DMA constraints from it. > >=20 > > Signed-off-by: Nicolas Saenz Julienne >=20 > Updated subject prefix as 'arm64: dts: ...', and applied the patch. Hi Shawn, these two patches are no longer needed. This series has been superseded by = this patch[1] 951d48855d ('of: Make of_dma_get_range() work on bus nodes', avail= able in linux-next) which fixed the issue directly in OF code. Sorry for the noise. Regards, Nicolas [1] https://lkml.org/lkml/2019/10/8/870 --=-ZhF7YshJftYaREkjx+2D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl2kRzkACgkQlfZmHno8 x/7Fhwf+OOorwS/yz7Mxwwgctc4wXslUVL4P1ubRvAEQYZ0UGUVtM1WJqXjukymn ydYIWe6mnmNSQqGYAEBcjzP/We/MxjMkpvpyMWkiJXiZvwXRs43BAcW5/eyvHNfD EEF3n4HCXZYSbmR9kDBwpZPKeoMCsQJbZuEF6rHwGNZeKA+tVpMZFEC17BGhW8LW MGx2W+1mXq7lLuDI5AIfnMt5Cqgl1IcsCzq4a2uRzNLXEDiQ5MFXaHVzroE0wWOQ O6GCM0HAcnR1wi0pZgEgDQyFQeiI4txKfLZ0P1z8zgVM+bFtNum4qIrtLbYm0Ny0 y7htdJL8WlxXRHkbLVXIj0D71OiRYQ== =Ip4t -----END PGP SIGNATURE----- --=-ZhF7YshJftYaREkjx+2D-- 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 4F1A8ECE587 for ; Mon, 14 Oct 2019 10:01:19 +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 235FD2054F for ; Mon, 14 Oct 2019 10:01:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LAPuywVJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 235FD2054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BrsvweU8kp+K25+Z0c3UcSXzs38/fRHOoy1nZR3km50=; b=LAPuywVJBMuAtdo3cW/shS94n j0+dOfbZuz/LUbWeOPZm0/nOnUTh31hAJUGKq/3jM38adsuHXNtw8gZc+xD8K4QXLsb0nj+1N8Zgx oXP/ucdyqTMBxO51Oq5AxxUzG2A7J4G/GejcaGMLJ1Dy1TBkN/sIurDfH3tfgyO2bXvJmfOLUTtqf 8/TukyB9FKxKAvs/OjmTCIOJRtoszyGgXo4TuktMVstwFQcYR86gUrHApIlNIqHK3auwDvITLWctS czSgUWpiExt3buzx+Q1gl4kKeRpGtWNnWx8sZ4I3ItQiKaEYylo65G6y+adlsfvYrvZ5G2pmDPt4E v2nkzAvdg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJxAE-0001zb-BV; Mon, 14 Oct 2019 10:01:18 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJx9T-0001JD-Jw for linux-arm-kernel@lists.infradead.org; Mon, 14 Oct 2019 10:00:33 +0000 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 01915B744; Mon, 14 Oct 2019 10:00:27 +0000 (UTC) Message-ID: Subject: Re: [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node From: Nicolas Saenz Julienne To: Shawn Guo Date: Mon, 14 Oct 2019 12:00:25 +0200 In-Reply-To: <20191014082847.GH12262@dragon> References: <20190924181244.7159-1-nsaenzjulienne@suse.de> <20190924181244.7159-8-nsaenzjulienne@suse.de> <20191014082847.GH12262@dragon> User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191014_030031_810657_9E10558A X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, mbrugger@suse.com, robin.murphy@arm.com, linux-arm-msm@vger.kernel.org, f.fainelli@gmail.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org, linux-tegra@vger.kernel.org, robh+dt@kernel.org, wahrenst@gmx.net, james.quinlan@broadcom.com, linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, xen-devel@lists.xenproject.org, Li Yang , frowand.list@gmail.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Content-Type: multipart/mixed; boundary="===============2631213134220175649==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2631213134220175649== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ZhF7YshJftYaREkjx+2D" --=-ZhF7YshJftYaREkjx+2D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-10-14 at 16:28 +0800, Shawn Guo wrote: > On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote: > > qoriq-mc's dpmacs DMA configuration is inherited from their parent node= , > > which acts a bus in this regard. So far it maked all devices as > > dma-coherent but no dma-ranges recommendation is made. > >=20 > > The truth is that the underlying interconnect has DMA constraints, so > > add an empty dma-ranges in qoriq-mc's node in order for DT's DMA > > configuration code to get the DMA constraints from it. > >=20 > > Signed-off-by: Nicolas Saenz Julienne >=20 > Updated subject prefix as 'arm64: dts: ...', and applied the patch. Hi Shawn, these two patches are no longer needed. This series has been superseded by = this patch[1] 951d48855d ('of: Make of_dma_get_range() work on bus nodes', avail= able in linux-next) which fixed the issue directly in OF code. Sorry for the noise. Regards, Nicolas [1] https://lkml.org/lkml/2019/10/8/870 --=-ZhF7YshJftYaREkjx+2D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl2kRzkACgkQlfZmHno8 x/7Fhwf+OOorwS/yz7Mxwwgctc4wXslUVL4P1ubRvAEQYZ0UGUVtM1WJqXjukymn ydYIWe6mnmNSQqGYAEBcjzP/We/MxjMkpvpyMWkiJXiZvwXRs43BAcW5/eyvHNfD EEF3n4HCXZYSbmR9kDBwpZPKeoMCsQJbZuEF6rHwGNZeKA+tVpMZFEC17BGhW8LW MGx2W+1mXq7lLuDI5AIfnMt5Cqgl1IcsCzq4a2uRzNLXEDiQ5MFXaHVzroE0wWOQ O6GCM0HAcnR1wi0pZgEgDQyFQeiI4txKfLZ0P1z8zgVM+bFtNum4qIrtLbYm0Ny0 y7htdJL8WlxXRHkbLVXIj0D71OiRYQ== =Ip4t -----END PGP SIGNATURE----- --=-ZhF7YshJftYaREkjx+2D-- --===============2631213134220175649== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2631213134220175649==-- 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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 53CF7ECE587 for ; Mon, 14 Oct 2019 10:00:55 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 2D108207FF for ; Mon, 14 Oct 2019 10:00:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D108207FF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iJx9U-0002YH-Uh; Mon, 14 Oct 2019 10:00:32 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iJx9T-0002YB-Rc for xen-devel@lists.xenproject.org; Mon, 14 Oct 2019 10:00:31 +0000 X-Inumbo-ID: 73179c19-ee69-11e9-9377-12813bfff9fa Received: from mx1.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 73179c19-ee69-11e9-9377-12813bfff9fa; Mon, 14 Oct 2019 10:00:29 +0000 (UTC) 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 01915B744; Mon, 14 Oct 2019 10:00:27 +0000 (UTC) Message-ID: From: Nicolas Saenz Julienne To: Shawn Guo Date: Mon, 14 Oct 2019 12:00:25 +0200 In-Reply-To: <20191014082847.GH12262@dragon> References: <20190924181244.7159-1-nsaenzjulienne@suse.de> <20190924181244.7159-8-nsaenzjulienne@suse.de> <20191014082847.GH12262@dragon> User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Subject: Re: [Xen-devel] [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, mbrugger@suse.com, robin.murphy@arm.com, linux-arm-msm@vger.kernel.org, f.fainelli@gmail.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org, linux-tegra@vger.kernel.org, robh+dt@kernel.org, wahrenst@gmx.net, james.quinlan@broadcom.com, linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, xen-devel@lists.xenproject.org, Li Yang , frowand.list@gmail.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Content-Type: multipart/mixed; boundary="===============6030874680697735718==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --===============6030874680697735718== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ZhF7YshJftYaREkjx+2D" --=-ZhF7YshJftYaREkjx+2D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-10-14 at 16:28 +0800, Shawn Guo wrote: > On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote: > > qoriq-mc's dpmacs DMA configuration is inherited from their parent node= , > > which acts a bus in this regard. So far it maked all devices as > > dma-coherent but no dma-ranges recommendation is made. > >=20 > > The truth is that the underlying interconnect has DMA constraints, so > > add an empty dma-ranges in qoriq-mc's node in order for DT's DMA > > configuration code to get the DMA constraints from it. > >=20 > > Signed-off-by: Nicolas Saenz Julienne >=20 > Updated subject prefix as 'arm64: dts: ...', and applied the patch. Hi Shawn, these two patches are no longer needed. This series has been superseded by = this patch[1] 951d48855d ('of: Make of_dma_get_range() work on bus nodes', avail= able in linux-next) which fixed the issue directly in OF code. Sorry for the noise. Regards, Nicolas [1] https://lkml.org/lkml/2019/10/8/870 --=-ZhF7YshJftYaREkjx+2D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl2kRzkACgkQlfZmHno8 x/7Fhwf+OOorwS/yz7Mxwwgctc4wXslUVL4P1ubRvAEQYZ0UGUVtM1WJqXjukymn ydYIWe6mnmNSQqGYAEBcjzP/We/MxjMkpvpyMWkiJXiZvwXRs43BAcW5/eyvHNfD EEF3n4HCXZYSbmR9kDBwpZPKeoMCsQJbZuEF6rHwGNZeKA+tVpMZFEC17BGhW8LW MGx2W+1mXq7lLuDI5AIfnMt5Cqgl1IcsCzq4a2uRzNLXEDiQ5MFXaHVzroE0wWOQ O6GCM0HAcnR1wi0pZgEgDQyFQeiI4txKfLZ0P1z8zgVM+bFtNum4qIrtLbYm0Ny0 y7htdJL8WlxXRHkbLVXIj0D71OiRYQ== =Ip4t -----END PGP SIGNATURE----- --=-ZhF7YshJftYaREkjx+2D-- --===============6030874680697735718== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============6030874680697735718==--