Re: [PATCH] dma/idxd: add support for multi-process when using VFIO

2023-05-24 Thread Thomas Monjalon
17/05/2023 12:17, Burakov, Anatoly: > On 5/15/2023 5:29 PM, Bruce Richardson wrote: > > When using vfio-pci/uio for hardware access, we need to avoid > > reinitializing the hardware when mapping from a secondary process. > > Instead, just configure the function pointers and reuse the data > > mappi

Re: [PATCH] dma/idxd: add support for multi-process when using VFIO

2023-05-17 Thread Burakov, Anatoly
On 5/15/2023 5:29 PM, Bruce Richardson wrote: When using vfio-pci/uio for hardware access, we need to avoid reinitializing the hardware when mapping from a secondary process. Instead, just configure the function pointers and reuse the data mappings from the primary process. With the code change,

[PATCH] dma/idxd: add support for multi-process when using VFIO

2023-05-15 Thread Bruce Richardson
When using vfio-pci/uio for hardware access, we need to avoid reinitializing the hardware when mapping from a secondary process. Instead, just configure the function pointers and reuse the data mappings from the primary process. With the code change, update driver doc with the information that vfi