diff options
author | Christoph Hellwig <[email protected]> | 2019-04-03 21:34:34 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2019-04-10 21:42:04 +0200 |
commit | 2a29e9f6b9b499f1fc5f4a48220dc3f4428499f9 (patch) | |
tree | 621a4c367696e9ddd877e037a867cf689207ff1f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 15ade5d2e7775667cf191cf2f94327a4889f8b9d (diff) |
sparc64/pci_sun4v: fix ATU checks for large DMA masks
Now that we allow drivers to always need to set larger than required
DMA masks we need to be a little more careful in the sun4v PCI iommu
driver to chose when to select the ATU support - a larger DMA mask
can be set even when the platform does not support ATU, so we always
have to check if it is avaiable before using it. Add a little helper
for that and use it in all the places where we make ATU usage decisions
based on the DMA mask.
Fixes: 24132a419c68 ("sparc64/pci_sun4v: allow large DMA masks")
Reported-by: Meelis Roos <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Meelis Roos <[email protected]>
Acked-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions