From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v3 2/4] of: move of_dma_configure() to device,c to help re-use Date: Fri, 09 Jan 2015 01:05:11 +0100 Message-ID: <2405706.Bhe0GramZJ@wuerfel> References: <1420656594-8908-1-git-send-email-m-karicheri2@ti.com> <2083932.v1GzgAfexK@wuerfel> <54AF165F.7070909@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <54AF165F.7070909-l0cyMroinI0@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Murali Karicheri Cc: Rob Herring , Joerg Roedel , Grant Likely , Rob Herring , Linux IOMMU , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Bjorn Helgaas , "linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Will Deacon , Russell King - ARM Linux List-Id: devicetree@vger.kernel.org On Thursday 08 January 2015 18:44:31 Murali Karicheri wrote: > The grep of dma-ranges for arch/arm shows the size used is mask + 1 as > > ./boot/dts/keystone.dtsi: dma-ranges = <0x80000000 0x8 0x00000000 > 0x80000000>; > ./boot/dts/keystone.dtsi: dma-ranges; > ./boot/dts/keystone.dtsi: dma-ranges; > ./boot/dts/r8a7790.dtsi: dma-ranges = <0x42000000 0 0x40000000 0 > 0x40000000 0 0x80000000 > ./boot/dts/integratorap.dts: dma-ranges = <0x80000000 0x0 0x80000000>; > ./boot/dts/r8a7791.dtsi: dma-ranges = <0x42000000 0 0x40000000 0 > 0x40000000 0 0x80000000 > ./boot/dts/.k2hk-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8 > 0x00000000 0x80000000>; > ./boot/dts/.k2hk-evm.dtb.dts.tmp: dma-ranges; > ./boot/dts/.k2l-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8 > 0x00000000 0x80000000>; > ./boot/dts/.k2l-evm.dtb.dts.tmp: dma-ranges; > ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8 > 0x00000000 0x80000000>; > ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges; > ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges; > ./boot/dts/k2e.dtsi: dma-ranges; > ./boot/dts/k2e.dtsi: dma-ranges; > > So for ARM 32 the below case doesn't seem to apply. > Ah, I guess that is because an empty dma-ranges property serves the same purpose. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html