x86's common alloc_coherent (dma_alloc_coherent in dma-mapping.h) setsup the gfp flag according to the device dma_mask but AMD IOMMU doesn'tneed it for devices that the IOMMU can do virtual mappings for. Thispatch avoids unnecessary low zone allocation.