diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-04-29 18:55:22 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 21:54:30 +1000 |
commit | b575c731fe58c1ecb1247c6a334ba6c7b4c0b480 (patch) | |
tree | fac95487154fecab05a0ea80f7e67030c6079298 /arch/nios2/Makefile | |
parent | 7d623e42560ea69eb248d48a1b1b105f28807e6e (diff) | |
download | op-kernel-dev-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.zip op-kernel-dev-b575c731fe58c1ecb1247c6a334ba6c7b4c0b480.tar.gz |
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/nios2/Makefile')
0 files changed, 0 insertions, 0 deletions