diff options
author | Christoph Hellwig <[email protected]> | 2019-04-30 06:51:50 -0400 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-05-07 10:06:16 +0100 |
commit | a98d9ae937d256ed679a935fc82d9deaa710d98e (patch) | |
tree | 3982eb41c186c4f306f2187a7adf74d2ac274d84 /tools/perf/scripts/python/exported-sql-viewer.py | |
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: <[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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions