[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240626134929.GW791043@ziepe.ca>
Date: Wed, 26 Jun 2024 10:49:29 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: "Tian, Kevin" <kevin.tian@...el.com>
Cc: Lu Baolu <baolu.lu@...ux.intel.com>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
"iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iommu/vt-d: Refactor PCI PRI enabling/disabling callbacks
On Wed, Jun 26, 2024 at 06:53:04AM +0000, Tian, Kevin wrote:
> btw in concept PRI will not be enabled/disabled when there are
> PASIDs of this device being actively attached.
Please don't bake such an assumption in.
non-PRI paging domains can be attached to a PASID and should not
enable PRI.
PRI is enabled when the first PRI domain is attached to a RID/PASID
and disabled when the last PRI domain is detached.
Jason
Powered by blists - more mailing lists