diff options
author | Leonardo Bras <leobras.c@gmail.com> | 2020-08-05 00:04:54 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-08 22:57:11 +1000 |
commit | 74d0b3994e147a2b503170b5e02f1d07dc086586 (patch) | |
tree | 1e8edd6a28f285d0f9cc41a24872968a893c657d /arch/powerpc/platforms/powermac/pci.c | |
parent | 80f0251231131d164eddab78d2b6c1b8e37d0093 (diff) |
powerpc/pseries/iommu: Move window-removing part of remove_ddw into remove_dma_window
Move the window-removing part of remove_ddw into a new function
(remove_dma_window), so it can be used to remove other DMA windows.
It's useful for removing DMA windows that don't create DIRECT64_PROPNAME
property, like the default DMA window from the device, which uses
"ibm,dma-window".
Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Tested-by: David Dai <zdai@linux.vnet.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200805030455.123024-4-leobras.c@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/powermac/pci.c')
0 files changed, 0 insertions, 0 deletions