diff options
| author | Christoph Hellwig <[email protected]> | 2019-04-30 10:51:50 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2019-05-07 09:06:16 +0000 |
| commit | a98d9ae937d256ed679a935fc82d9deaa710d98e (patch) | |
| tree | 3982eb41c186c4f306f2187a7adf74d2ac274d84 /lib/test_stackinit.c | |
| parent | Merge branch 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-a98d9ae937d256ed679a935fc82d9deaa710d98e.tar.gz kernel-a98d9ae937d256ed679a935fc82d9deaa710d98e.zip | |
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: <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
