summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2019-10-08 17:33:57 +0300
committerChristoph Hellwig <hch@lst.de>2019-10-18 18:19:20 +0300
commit9c24eaf81cc44d4bb38081c99eafd72ed85cf7f3 (patch)
treec7308459daee66e24068e6b1bd9e685553e36dd9 /tools/perf/scripts/python/export-to-sqlite.py
parent0e2adab6cf285c41e825b6c74a3aa61324d1132c (diff)
downloadlinux-9c24eaf81cc44d4bb38081c99eafd72ed85cf7f3.tar.xz
iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMU
We must return a mask covering the full physical RAM when bypassing the IOMMU mapping. Also, in iommu_need_mapping, we need to check using dma_direct_get_required_mask to ensure that the device's dma_mask can cover physical RAM before deciding to bypass IOMMU mapping. Based on an earlier patch from Christoph Hellwig. Fixes: 249baa547901 ("dma-mapping: provide a better default ->get_required_mask") Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Acked-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions