[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241107171237.GA539304@nvidia.com>
Date: Thu, 7 Nov 2024 13:12:37 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Zhangfei Gao <zhangfei.gao@...aro.org>
Cc: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
jean-philippe <jean-philippe@...aro.org>, baolu.lu@...ux.intel.com,
shamiali2008@...il.com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iommufd: modify iommufd_fault_iopf_enable limitation
On Thu, Nov 07, 2024 at 04:37:11AM +0000, Zhangfei Gao wrote:
> iommufd_fault_iopf_enable has limitation to PRI on PCI/SRIOV VFs
> because the PRI might be a shared resource and current iommu
> subsystem is not ready to support enabling/disabling PRI on a VF
> without any impact on others.
>
> However, we have devices that appear as PCI but are actually on the
> AMBA bus. These fake PCI devices have PASID capability, support
> stall as well as SRIOV, so remove the limitation for these devices.
>
> Co-developed-by: Lu Baolu <baolu.lu@...ux.intel.com>
> Signed-off-by: Lu Baolu <baolu.lu@...ux.intel.com>
> Signed-off-by: Zhangfei Gao <zhangfei.gao@...aro.org>
> Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>
> ---
> drivers/iommu/iommufd/fault.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
Applied to iommufd thanks
Jason
Powered by blists - more mailing lists