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