RE: [PATCH v5 11/20] vfio/platform: Allow the selection of a given iommu backend

2023-11-10 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Sent: Friday, November 10, 2023 4:50 PM >Subject: Re: [PATCH v5 11/20] vfio/platform: Allow the selection of a given >iommu backend > >On 11/9/23 12:45, Zhenzhong Duan wrote: >> Now we support two types of io

Re: [PATCH v5 11/20] vfio/platform: Allow the selection of a given iommu backend

2023-11-10 Thread Cédric Le Goater
On 11/9/23 12:45, Zhenzhong Duan wrote: Now we support two types of iommu backends, let's add the capability to select one of them. This depends on whether an iommufd object has been linked with the vfio-platform device: If the user wants to use the legacy backend, it shall not link the vfio-pla

[PATCH v5 11/20] vfio/platform: Allow the selection of a given iommu backend

2023-11-09 Thread Zhenzhong Duan
Now we support two types of iommu backends, let's add the capability to select one of them. This depends on whether an iommufd object has been linked with the vfio-platform device: If the user wants to use the legacy backend, it shall not link the vfio-platform device with any iommufd object: -d