diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-04-29 11:55:22 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 14:54:30 +0300 |
commit | b575c731fe58c1ecb1247c6a334ba6c7b4c0b480 (patch) | |
tree | fac95487154fecab05a0ea80f7e67030c6079298 /arch/powerpc/platforms/Makefile | |
parent | 7d623e42560ea69eb248d48a1b1b105f28807e6e (diff) | |
download | linux-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/Makefile')
0 files changed, 0 insertions, 0 deletions