On 07/28/17 at 01:14pm, Joerg Roedel wrote: > On Fri, Jul 28, 2017 at 05:06:19PM +0800, Baoquan He wrote: > > Do you mean the allocation of amd_iommu_dev_table in > > early_amd_iommu_init() also need be addressed for 1st kernel? Seems we > > don't make sure that for 1st kernel, like adding GFP_DMA32 flag when > > allocate amd_iommu_dev_table in amd_iommu_dev_table > > early_amd_iommu_init(). > > Yes, exactly, the first device table also needs to be allocated with > GFP_DMA32 so that it ends up below 4GB.
Got it, will do. Thanks! _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu