diff options
| author | Oliver O'Halloran <oohall@gmail.com> | 2020-07-22 16:57:01 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 23:34:21 +1000 |
| commit | 7a52ffabe867c0d93e47af113e5107340974047a (patch) | |
| tree | f79a314ef6297966c655e76f2d5b5efd94184098 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | powerpc/powernv/pci: Add pci_bus_to_pnvhb() helper (diff) | |
| download | linux-7a52ffabe867c0d93e47af113e5107340974047a.tar.gz linux-7a52ffabe867c0d93e47af113e5107340974047a.zip | |
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 <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722065715.1432738-2-oohall@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
