summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2016-04-29 08:55:22 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 11:54:30 (GMT)
commitb575c731fe58c1ecb1247c6a334ba6c7b4c0b480 (patch)
treefac95487154fecab05a0ea80f7e67030c6079298 /arch/powerpc/platforms/powernv/pci.h
parent7d623e42560ea69eb248d48a1b1b105f28807e6e (diff)
downloadlinux-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.tar.xz
powerpc/powernv/npu: Add set/unset window helpers
The upcoming NVLink passthrough support will require NPU code to cope with two DMA windows. This adds a pnv_npu_set_window() helper which programs 32bit window to the hardware. This also adds multilevel TCE support. This adds a pnv_npu_unset_window() helper which removes the DMA window from the hardware. This does not make difference now as the caller - pnv_npu_dma_set_bypass() - enables bypass in the hardware but the next patch will use it to manage TCE table lists for TCE Kill handling. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.h')
0 files changed, 0 insertions, 0 deletions