Re: [PATCH rc v8 6/8] iommu: Fix ATS invalidation timeouts during __iommu_remove_group_pasid()

Baolu Lu
2026-04-27T08:37:26Z

On 4/25/2026 9:15 AM, Nicolin Chen wrote:
> If a device is blocked, its PASID domains are already detached. Repeating
> iommu_remove_dev_pasid() is unnecessary and might trigger ATS invalidation
> timeouts.
>
> Skip the iommu_remove_dev_pasid() call upon gdev->blocked.
>
> Fixes: c279e83953d9 ("iommu: Introduce pci_dev_reset_iommu_prepare/done()")
> Cc:stable@vger.kernel.org
> Closes:https://sashiko.dev/#/patchset/20260407194644.171304-1-nicolinc%40nvidia.com
> Reviewed-by: Kevin Tian<kevin.tian@intel.com>
> Signed-off-by: Nicolin Chen<nicolinc@nvidia.com>
> ---
> drivers/iommu/iommu.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)