Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-13 Thread Ray Jui
Hi Bharat, On 1/13/2021 8:55 AM, Florian Fainelli wrote: > On 1/13/21 12:05 AM, Arnd Bergmann wrote: >> On Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty >> wrote: >>> >>> Hello Ray, >>> >>> I had cross checked with Design and integration team. >>> Yes we can set the "dma-rages" to 40 bit DMA

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-13 Thread Florian Fainelli
On 1/13/21 12:05 AM, Arnd Bergmann wrote: > On Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty > wrote: >> >> Hello Ray, >> >> I had cross checked with Design and integration team. >> Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. >> >> -Original Message- >> From:

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-13 Thread Arnd Bergmann
On Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty wrote: > > Hello Ray, > > I had cross checked with Design and integration team. > Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. > > -Original Message- > From: Ray Jui > > Bharat can correct me if I'm wrong, but I

RE: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Bharat Gooty
arat Gooty ; devicetree ; linux-kernel ; Arnd Bergmann ; Scott Branden ; Ray Jui ; linux-arm-msm ; Andy Gross ; Bjorn Andersson ; Rob Herring ; bcm-kernel-feedback-list ; Zhen Lei ; linux-arm-kernel Subject: Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Arnd Bergmann
On Tue, Jan 12, 2021 at 7:28 PM Ray Jui wrote: > On 2020-12-15 7:49 a.m., Arnd Bergmann wrote: > > On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli > > wrote: > >> > >> On 12/15/2020 5:19 AM, Bharat Gooty wrote: > >>> Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not > >>>

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Ray Jui
On 1/12/2021 12:40 PM, Arnd Bergmann wrote: > On Tue, Jan 12, 2021 at 7:28 PM Ray Jui wrote: >> On 2020-12-15 7:49 a.m., Arnd Bergmann wrote: >>> On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli >>> wrote: On 12/15/2020 5:19 AM, Bharat Gooty wrote: > Since the IOMMU is disabled

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Ray Jui
Hi Arnd, On 2020-12-15 7:49 a.m., Arnd Bergmann wrote: On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli wrote: On 12/15/2020 5:19 AM, Bharat Gooty wrote: Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not give the complete DDR for the USB DMA. So restricting the usable

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-12-15 Thread Arnd Bergmann
On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli wrote: > > On 12/15/2020 5:19 AM, Bharat Gooty wrote: > > Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not > > give the complete DDR for the USB DMA. > > So restricting the usable DAM size to 4GB. > > Thanks, can you make

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-12-15 Thread Florian Fainelli
On 12/15/2020 5:19 AM, Bharat Gooty wrote: > Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not > give the complete DDR for the USB DMA. > So restricting the usable DAM size to 4GB. Thanks, can you make this a proper patch submission along with a Fixes: tag that is:

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-12-15 Thread Florian Fainelli
On 12/14/2020 11:46 AM, Arnd Bergmann wrote: > On Mon, Dec 14, 2020 at 8:09 PM Ray Jui wrote: >> On 11/28/2020 1:58 AM, Arnd Bergmann wrote: >>> On Sat, Nov 28, 2020 at 5:53 AM Florian Fainelli >>> wrote: On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei wrote: > The

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-12-14 Thread Arnd Bergmann
On Mon, Dec 14, 2020 at 8:09 PM Ray Jui wrote: > On 11/28/2020 1:58 AM, Arnd Bergmann wrote: > > On Sat, Nov 28, 2020 at 5:53 AM Florian Fainelli > > wrote: > >> > >> On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei > >> wrote: > >>> The scripts/dtc/checks.c requires that the node have empty

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-12-14 Thread Ray Jui
+ Bharat On 11/28/2020 1:58 AM, Arnd Bergmann wrote: > On Sat, Nov 28, 2020 at 5:53 AM Florian Fainelli wrote: >> >> On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei >> wrote: >>> The scripts/dtc/checks.c requires that the node have empty "dma-ranges" >>> property must have the same

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-28 Thread Arnd Bergmann
On Sat, Nov 28, 2020 at 5:53 AM Florian Fainelli wrote: > > On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei > wrote: > > The scripts/dtc/checks.c requires that the node have empty "dma-ranges" > > property must have the same "#address-cells" and "#size-cells" values as > > the parent node.

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-28 Thread Florian Fainelli
On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei wrote: > The scripts/dtc/checks.c requires that the node have empty "dma-ranges" > property must have the same "#address-cells" and "#size-cells" values as > the parent node. Otherwise, the following warnings is reported: > >

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-09 Thread Florian Fainelli
On 11/9/20 9:56 AM, Arnd Bergmann wrote: > On Mon, Nov 9, 2020 at 6:30 PM Florian Fainelli wrote: >> >> On 11/8/20 10:18 PM, Leizhen (ThunderTown) wrote: >>> Hi, everybody: >>> How do we deal with this problem? I updated the kernel to the latest and >>> the problem still persists. >>> >>>

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-09 Thread Arnd Bergmann
On Mon, Nov 9, 2020 at 6:30 PM Florian Fainelli wrote: > > On 11/8/20 10:18 PM, Leizhen (ThunderTown) wrote: > > Hi, everybody: > > How do we deal with this problem? I updated the kernel to the latest and > > the problem still persists. > > > > make ARCH=arm64

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-09 Thread Florian Fainelli
On 11/8/20 10:18 PM, Leizhen (ThunderTown) wrote: > Hi, everybody: > How do we deal with this problem? I updated the kernel to the latest and > the problem still persists. > > make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j24 dtbs 2>err.txt > vim err.txt > >

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-08 Thread Leizhen (ThunderTown)
Hi, everybody: How do we deal with this problem? I updated the kernel to the latest and the problem still persists. make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j24 dtbs 2>err.txt vim err.txt arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning (dma_ranges_format):

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-25 Thread Leizhen (ThunderTown)
On 2020/10/23 15:17, Arnd Bergmann wrote: > On Sun, Oct 18, 2020 at 4:10 AM Leizhen (ThunderTown) > wrote: >> On 2020/10/17 3:27, Florian Fainelli wrote: >>> On 10/16/20 11:23 AM, Arnd Bergmann wrote: On Fri, Oct 16, 2020 at 6:48 PM Florian Fainelli wrote: > On 10/16/20 4:01

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-17 Thread Leizhen (ThunderTown)
On 2020/10/17 3:27, Florian Fainelli wrote: > On 10/16/20 11:23 AM, Arnd Bergmann wrote: >> On Fri, Oct 16, 2020 at 6:48 PM Florian Fainelli >> wrote: >>> On 10/16/20 4:01 AM, Arnd Bergmann wrote: On Fri, Oct 16, 2020 at 11:09 AM Zhen Lei wrote: > > Suggested-by: Arnd

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-16 Thread Florian Fainelli
On 10/16/20 11:23 AM, Arnd Bergmann wrote: > On Fri, Oct 16, 2020 at 6:48 PM Florian Fainelli wrote: >> On 10/16/20 4:01 AM, Arnd Bergmann wrote: >>> On Fri, Oct 16, 2020 at 11:09 AM Zhen Lei >>> wrote: Suggested-by: Arnd Bergmann Signed-off-by: Zhen Lei >>> >>> Acked-by: Arnd

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-16 Thread Florian Fainelli
On 10/16/20 4:01 AM, Arnd Bergmann wrote: > On Fri, Oct 16, 2020 at 11:09 AM Zhen Lei wrote: >> >> The scripts/dtc/checks.c requires that the node have empty "dma-ranges" >> property must have the same "#address-cells" and "#size-cells" values as >> the parent node. Otherwise, the following

[PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-10-16 Thread Zhen Lei
The scripts/dtc/checks.c requires that the node have empty "dma-ranges" property must have the same "#address-cells" and "#size-cells" values as the parent node. Otherwise, the following warnings is reported: arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning \