aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb.c
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2018-10-30 22:02:03 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-11-05 16:05:22 +1100
commit3182215dd0b2120fb942ed88430cfb7c12d583e0 (patch)
tree7dc67f9b41c5a535c0822eb641dc33a6769f0d62 /arch/powerpc/mm/slb.c
parentLinux 4.20-rc1 (diff)
downloadlinux-dev-3182215dd0b2120fb942ed88430cfb7c12d583e0.tar.xz
linux-dev-3182215dd0b2120fb942ed88430cfb7c12d583e0.zip
powerpc/powernv/npu: Remove NPU DMA ops
The NPU IOMMU is setup to mirror the parent PCIe device IOMMU setup. Therefore it does not make sense to call dma operations such as dma_map_page(), etc. directly on these devices. The existing dma_ops simply print a warning if they are ever called, however this is unnecessary and the warnings are likely to go unnoticed. It is instead simpler to remove these operations and let the generic DMA code print warnings (eg. via a NULL pointer deref) in cases of buggy drivers attempting dma operations on NVLink devices. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions