diff options
| author | Christoph Hellwig <[email protected]> | 2019-04-10 16:50:14 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-04-11 15:37:21 +0000 |
| commit | 7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb (patch) | |
| tree | 1bedb06bb178ee7ae09a0189416ff1122c5fdcea /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | iommu/amd: Use pci_prg_resp_pasid_required() (diff) | |
| download | kernel-7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb.tar.gz kernel-7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb.zip | |
iommu/amd: Remove the leftover of bypass support
The AMD iommu dma_ops are only attached on a per-device basis when an
actual translation is needed. Remove the leftover bypass support which
in parts was already broken (e.g. it always returns 0 from ->map_sg).
Use the opportunity to remove a few local variables and move assignments
into the declaration line where they were previously separated by the
bypass check.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
