Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Zhangfei Gao
Hi, Baolu On Fri, 18 Oct 2024 at 09:58, Baolu Lu wrote: > > On 2024/10/17 21:08, Jason Gunthorpe wrote: > > On Thu, Oct 17, 2024 at 08:35:24PM +0800, Zhangfei Gao wrote: > > > >> Yes, you are right > >> I am using SRIOV vf and stall feature, so is_virtfn == true > >> > >> Our ACC devices are fa

Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Baolu Lu
On 2024/10/17 21:08, Jason Gunthorpe wrote: On Thu, Oct 17, 2024 at 08:35:24PM +0800, Zhangfei Gao wrote: Yes, you are right I am using SRIOV vf and stall feature, so is_virtfn == true Our ACC devices are fake pci endpoint devices which supports stall, And they also supports sriov So I have

Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Jason Gunthorpe
On Thu, Oct 17, 2024 at 08:35:24PM +0800, Zhangfei Gao wrote: > Yes, you are right > I am using SRIOV vf and stall feature, so is_virtfn == true > > Our ACC devices are fake pci endpoint devices which supports stall, > And they also supports sriov > > So I have to ignore the limitation. I see,

RE: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Zhangfei Gao > Sent: Thursday, October 17, 2024 1:35 PM > To: Jason Gunthorpe > Cc: Lu Baolu ; Kevin Tian > ; Joerg Roedel ; Will Deacon > ; Robin Murphy ; Jean- > Philippe Brucker ; Nicolin Chen > ; Yi Liu ; Jacob Pan > ; Joel Granados > ; io...@lists.linux

Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Zhangfei Gao
On Thu, 17 Oct 2024 at 20:05, Jason Gunthorpe wrote: > > On Thu, Oct 17, 2024 at 09:44:18AM +0800, Zhangfei Gao wrote: > > On Wed, 16 Oct 2024 at 23:25, Jason Gunthorpe wrote: > > > > > > On Wed, Oct 16, 2024 at 09:58:36AM +0800, Zhangfei Gao wrote: > > > > On Tue, 15 Oct 2024 at 20:54, Jason Gun

Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-17 Thread Jason Gunthorpe
On Thu, Oct 17, 2024 at 09:44:18AM +0800, Zhangfei Gao wrote: > On Wed, 16 Oct 2024 at 23:25, Jason Gunthorpe wrote: > > > > On Wed, Oct 16, 2024 at 09:58:36AM +0800, Zhangfei Gao wrote: > > > On Tue, 15 Oct 2024 at 20:54, Jason Gunthorpe wrote: > > > > > > > > On Tue, Oct 15, 2024 at 11:19:33AM