[PATCH 00/11] powerpv/powernv: Restore pnv_npu_try_dma_set_bypass()
Reza Arbab
arbab at linux.ibm.com
Thu Oct 31 05:08:51 AEDT 2019
On Wed, Oct 30, 2019 at 06:53:41PM +0100, Christoph Hellwig wrote:
>How do you even use this code? Nothing in the kernel even calls
>dma_set_mask for NPU devices, as we only suport vfio pass through.
You use it by calling dma_set_mask() for the *GPU* device. The purpose
of pnv_npu_try_dma_set_bypass() is to then propagate the same bypass
configuration to all the NPU devices associated with that GPU.
--
Reza Arbab
More information about the Linuxppc-dev
mailing list