Re: iommu/io-pgtable-arm-v7s: About pagetable 33bit PA

2018-11-09 Thread Nicolas Boichat
Hi Robin/Yong, On Fri, Nov 9, 2018 at 3:51 PM Yong Wu wrote: > > On Thu, 2018-11-08 at 13:49 +, Robin Murphy wrote: > > On 08/11/2018 07:31, Yong Wu wrote: > > > Hi Robin, > > > > > > After the commit ad67f5a6545f ("arm64: replace ZONE_DMA with > > > ZONE_DMA32"), we don't have ZONE_DMA in aa

Re: iommu/io-pgtable-arm-v7s: About pagetable 33bit PA

2018-11-08 Thread Yong Wu
On Thu, 2018-11-08 at 13:49 +, Robin Murphy wrote: > On 08/11/2018 07:31, Yong Wu wrote: > > Hi Robin, > > > > After the commit ad67f5a6545f ("arm64: replace ZONE_DMA with > > ZONE_DMA32"), we don't have ZONE_DMA in aarch64, but > > __arm_v7s_alloc_table[1] use the GFP_DMA to expect the physic

Re: iommu/io-pgtable-arm-v7s: About pagetable 33bit PA

2018-11-08 Thread Robin Murphy
On 08/11/2018 07:31, Yong Wu wrote: Hi Robin, After the commit ad67f5a6545f ("arm64: replace ZONE_DMA with ZONE_DMA32"), we don't have ZONE_DMA in aarch64, but __arm_v7s_alloc_table[1] use the GFP_DMA to expect the physical address of pagetable should be 32bit. Right now we meet a issue that th

iommu/io-pgtable-arm-v7s: About pagetable 33bit PA

2018-11-07 Thread Yong Wu
Hi Robin, After the commit ad67f5a6545f ("arm64: replace ZONE_DMA with ZONE_DMA32"), we don't have ZONE_DMA in aarch64, but __arm_v7s_alloc_table[1] use the GFP_DMA to expect the physical address of pagetable should be 32bit. Right now we meet a issue that the lvl1 pagetable PA is 0x1_3ab6_ i