Re: [PATCH kernel v3 11/22] powerpc/pseries/npu: Enable platform support

2018-11-18 Thread Alexey Kardashevskiy
On 16/11/2018 16:25, David Gibson wrote: > On Tue, Nov 13, 2018 at 07:28:12PM +1100, Alexey Kardashevskiy wrote: >> We already changed NPU API for GPUs to not to call OPAL and the remaining >> bit is initializing NPU structures. >> >> This uses a new QEMU capability which marks NPU-enabled

Re: [PATCH kernel v3 11/22] powerpc/pseries/npu: Enable platform support

2018-11-15 Thread David Gibson
On Tue, Nov 13, 2018 at 07:28:12PM +1100, Alexey Kardashevskiy wrote: > We already changed NPU API for GPUs to not to call OPAL and the remaining > bit is initializing NPU structures. > > This uses a new QEMU capability which marks NPU-enabled vPHBs as > "IBM,npu-vphb" and initializes an NPU

[PATCH kernel v3 11/22] powerpc/pseries/npu: Enable platform support

2018-11-13 Thread Alexey Kardashevskiy
We already changed NPU API for GPUs to not to call OPAL and the remaining bit is initializing NPU structures. This uses a new QEMU capability which marks NPU-enabled vPHBs as "IBM,npu-vphb" and initializes an NPU structure per vPHB. Signed-off-by: Alexey Kardashevskiy ---