summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-30 06:51:50 -0400
committerWill Deacon <will.deacon@arm.com>2019-05-07 10:06:16 +0100
commita98d9ae937d256ed679a935fc82d9deaa710d98e (patch)
tree3982eb41c186c4f306f2187a7adf74d2ac274d84 /drivers/perf
parentb33f908811b7627015238e0dee9baf2b4c9d720d (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 'drivers/perf')
0 files changed, 0 insertions, 0 deletions