diff options
author | 2019-04-30 06:51:50 -0400 | |
---|---|---|
committer | 2019-05-07 10:06:16 +0100 | |
commit | a98d9ae937d256ed679a935fc82d9deaa710d98e (patch) | |
tree | 3982eb41c186c4f306f2187a7adf74d2ac274d84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-next/core (diff) | |
download | wireguard-linux-a98d9ae937d256ed679a935fc82d9deaa710d98e.tar.xz wireguard-linux-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: <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions