[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8e9d96af-0a1d-493b-9ad6-154330902216@linux.intel.com>
Date: Mon, 2 Sep 2024 10:37:37 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>, Jason Gunthorpe <jgg@...pe.ca>,
Kevin Tian <kevin.tian@...el.com>, Yi Liu <yi.l.liu@...el.com>
Cc: baolu.lu@...ux.intel.com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] iommu/vt-d: Move PCI PASID enablement to probe
path
On 8/19/24 1:18 PM, Lu Baolu wrote:
> Currently, PCI PASID is enabled alongside PCI ATS when an iommu domain is
> attached to the device and disabled when the device transitions to block
> translation mode. This approach is inappropriate as PCI PASID is a device
> feature independent of the type of the attached domain.
>
> Enable PCI PASID during the IOMMU device probe and disables it during the
> release path.
>
> Suggested-by: Yi Liu<yi.l.liu@...el.com>
> Signed-off-by: Lu Baolu<baolu.lu@...ux.intel.com>
> Reviewed-by: Yi Liu<yi.l.liu@...el.com>
> ---
> drivers/iommu/intel/iommu.c | 29 +++++++++++++++--------------
> 1 file changed, 15 insertions(+), 14 deletions(-)
Queued for v6.12-rc1.
Thanks,
baolu
Powered by blists - more mailing lists