summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2016-04-29 10:55:22 +0200
committerMichael Ellerman2016-05-11 13:54:30 +0200
commitb575c731fe58c1ecb1247c6a334ba6c7b4c0b480 (patch)
treefac95487154fecab05a0ea80f7e67030c6079298 /arch/powerpc/platforms/powernv/pci.h
parentpowerpc/powernv/ioda2: Export debug helper pe_level_printk() (diff)
downloadkernel-qcow2-linux-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.tar.gz
kernel-qcow2-linux-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.tar.xz
kernel-qcow2-linux-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.zip
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