diff options
| author | Oliver O'Halloran <[email protected]> | 2020-07-22 16:57:01 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-26 23:34:21 +1000 |
| commit | 7a52ffabe867c0d93e47af113e5107340974047a (patch) | |
| tree | f79a314ef6297966c655e76f2d5b5efd94184098 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5609ffddd19dd52019d78b197e86b0331aeef8ae (diff) | |
powerpc/powernv/pci: Always tear down DMA windows on PE release
Currently we have these two functions:
pnv_pci_ioda2_release_dma_pe(), and
pnv_pci_ioda2_release_pe_dma()
The first is used when tearing down VF PEs and the other is used for normal
devices. There's very little difference between the two though. The latter
(non-VF) will skip a call to pnv_pci_ioda2_unset_window() unless
CONFIG_IOMMU_API=y is set. There's no real point in doing this so fold the
two together.
Signed-off-by: Oliver O'Halloran <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions