diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-30 06:51:50 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-05-07 10:06:16 +0100 |
commit | a98d9ae937d256ed679a935fc82d9deaa710d98e (patch) | |
tree | 3982eb41c186c4f306f2187a7adf74d2ac274d84 /arch/arm64/mm/init.c | |
parent | b33f908811b7627015238e0dee9baf2b4c9d720d (diff) |
arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
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.
Cc: <stable@vger.kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm/init.c')
0 files changed, 0 insertions, 0 deletions