aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMike Rapoport <[email protected]>2021-09-30 04:30:38 +0300
committerWill Deacon <[email protected]>2021-10-01 14:54:45 +0100
commita9c38c5d267cb94871dfa2de5539c92025c855d7 (patch)
tree012387d007ec90b73ed0546f34b0d20b1acccdc5 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
dma-mapping: remove bogus test for pfn_valid from dma_map_resource
dma_map_resource() uses pfn_valid() to ensure the range is not RAM. However, pfn_valid() only checks for availability of the memory map for a PFN but it does not ensure that the PFN is actually backed by RAM. As dma_map_resource() is the only method in DMA mapping APIs that has this check, simply drop the pfn_valid() test from dma_map_resource(). Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Mike Rapoport <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: David Hildenbrand <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions