Re: [PATCH 01/25] arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable

From: Catalin Marinas
Date: Fri May 03 2019 - 07:34:25 EST

On Tue, Apr 30, 2019 at 06:51:50AM -0400, Christoph Hellwig wrote:
> DMA allocations that can't sleep may return non-remapped addresses, but
> we do not properly handle them in the mmap and get_sgtable methods.
> Resolve non-vmalloc addresses using virt_to_page to handle this corner
> case.
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Robin Murphy <robin.murphy@xxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>