Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-15 Thread Florian Fainelli
On 10/15/20 12:48 AM, Christoph Hellwig wrote: > On Sun, Oct 11, 2020 at 05:53:37AM +1100, Stephen Rothwell wrote: >> Hi Naresh, >> >> Just adding Christoph and Jim to cc] > > Well, a Cc doesn't help on its own. Can you send an actual bug > report including the setup, warnings and error

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-15 Thread Christoph Hellwig
On Sun, Oct 11, 2020 at 05:53:37AM +1100, Stephen Rothwell wrote: > Hi Naresh, > > Just adding Christoph and Jim to cc] Well, a Cc doesn't help on its own. Can you send an actual bug report including the setup, warnings and error messages, a bisection result and the usual suspects?

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-14 Thread Miquel Raynal
Hello, Fabio Estevam wrote on Wed, 14 Oct 2020 09:28:49 -0300: > Hi Florian, > > On Sun, Oct 11, 2020 at 6:59 PM Florian Fainelli wrote: > > > however the NAND warning still remains. Someone else familiar with these > > NXP development boards should fix the DTS so as to provide the require >

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-14 Thread Fabio Estevam
Hi Florian, On Sun, Oct 11, 2020 at 6:59 PM Florian Fainelli wrote: > however the NAND warning still remains. Someone else familiar with these > NXP development boards should fix the DTS so as to provide the require > ECC strength property. The ECC NAND warning looks like a regression. I had

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-11 Thread Florian Fainelli
+Abhimanyu, Ioana, Fabio On 10/11/2020 1:36 PM, Jim Quinlan wrote: On Sat, Oct 10, 2020 at 2:53 PM Stephen Rothwell wrote: Hi Naresh, Just adding Christoph and Jim to cc] On Fri, 9 Oct 2020 19:26:24 +0530 Naresh Kamboju wrote: On Fri, 9 Oct 2020 at 19:24, Naresh Kamboju wrote: On

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-11 Thread Jim Quinlan
On Sat, Oct 10, 2020 at 2:53 PM Stephen Rothwell wrote: > > Hi Naresh, > > Just adding Christoph and Jim to cc] > > On Fri, 9 Oct 2020 19:26:24 +0530 Naresh Kamboju > wrote: > > > > On Fri, 9 Oct 2020 at 19:24, Naresh Kamboju > > wrote: > > > > > > > > > > > > On Thu, 24 Sep 2020 at 15:26,

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-10 Thread Stephen Rothwell
Hi Naresh, Just adding Christoph and Jim to cc] On Fri, 9 Oct 2020 19:26:24 +0530 Naresh Kamboju wrote: > > On Fri, 9 Oct 2020 at 19:24, Naresh Kamboju wrote: > > > > > > > > On Thu, 24 Sep 2020 at 15:26, Joerg Roedel wrote: > > > > > > On Thu, Sep 24, 2020 at 10:36:47AM +0100, Robin

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-09 Thread Naresh Kamboju
On Fri, 9 Oct 2020 at 19:24, Naresh Kamboju wrote: > > > > On Thu, 24 Sep 2020 at 15:26, Joerg Roedel wrote: > > > > On Thu, Sep 24, 2020 at 10:36:47AM +0100, Robin Murphy wrote: > > > Yes, the issue was introduced by one of the changes in "dma-mapping: > > > introduce DMA range map, supplanting

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-09 Thread Naresh Kamboju
On Thu, 24 Sep 2020 at 15:26, Joerg Roedel wrote: > > On Thu, Sep 24, 2020 at 10:36:47AM +0100, Robin Murphy wrote: > > Yes, the issue was introduced by one of the changes in "dma-mapping: > > introduce DMA range map, supplanting dma_pfn_offset", so it only existed in > > the dma-mapping/for-next

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-24 Thread Joerg Roedel
On Thu, Sep 24, 2020 at 10:36:47AM +0100, Robin Murphy wrote: > Yes, the issue was introduced by one of the changes in "dma-mapping: > introduce DMA range map, supplanting dma_pfn_offset", so it only existed in > the dma-mapping/for-next branch anyway. Okay, alright then.

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-24 Thread Robin Murphy
On 2020-09-24 10:25, Joerg Roedel wrote: Hi Robin, On Thu, Sep 24, 2020 at 10:08:46AM +0100, Robin Murphy wrote: This should be fixed by https://lore.kernel.org/linux-iommu/daedc9364a19dc07487e4d07b8768b1e5934abd4.1600700881.git.robin.mur...@arm.com/T/#u (already in linux-next). Thanks! The

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-24 Thread Joerg Roedel
Hi Robin, On Thu, Sep 24, 2020 at 10:08:46AM +0100, Robin Murphy wrote: > This should be fixed by > https://lore.kernel.org/linux-iommu/daedc9364a19dc07487e4d07b8768b1e5934abd4.1600700881.git.robin.mur...@arm.com/T/#u > (already in linux-next). Thanks! The question remains why this goes through

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-24 Thread Robin Murphy
Driver [2.250338] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [2.256403] e1000e :01:00.0: Adding to iommu group 0 [2.261733] arm-smmu 500.iommu: Cannot accommodate DMA offset for IOMMU page tables [2.269752] Unable to handle kernel NULL pointer dereference at virtual

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-24 Thread Joerg Roedel
ing > [2.222141] hns3: Hisilicon Ethernet Network Driver for Hip08 > Family - version > [2.229371] hns3: Copyright (c) 2017 Huawei Corporation. > [2.234716] e1000: Intel(R) PRO/1000 Network Driver > [2.239598] e1000: Copyright (c) 1999-2006 Intel Corporation. > [2.24

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-21 Thread Robin Murphy
On 2020-09-21 14:20, Naresh Kamboju wrote: [...] [2.256403] e1000e :01:00.0: Adding to iommu group 0 [2.261733] arm-smmu 500.iommu: Cannot accommodate DMA offset for IOMMU page tables Ah, I know what's going on there - the dma_range_map stuff has overlooked a subtlety

arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-09-21 Thread Naresh Kamboju
: Copyright(c) 1999 - 2015 Intel Corporation. [2.256403] e1000e :01:00.0: Adding to iommu group 0 [2.261733] arm-smmu 500.iommu: Cannot accommodate DMA offset for IOMMU page tables [2.269752] Unable to handle kernel NULL pointer dereference at virtual address