Messages in this thread | | | Date | Tue, 1 Aug 2023 11:13:44 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v2 5/8] iommu/arm-smmu-v3: Skip cd sync if CD table isn't active |
| |
On Mon, Jul 31, 2023 at 06:48:15PM +0800, Michael Shavit wrote: > This commit explicitly keeps track of whether a CD table is installed in > an STE so that arm_smmu_sync_cd can skip the sync when unnecessary. This > was previously achieved through the domain->devices list, but we are > moving to a model where arm_smmu_sync_cd directly operates on a master > and the master's CD table instead of a domain. > > Signed-off-by: Michael Shavit <mshavit@google.com> > --- > > Changes in v2: > - Store field as a bit instead of a bool. Fix comment about STE being > live before the sync in write_ctx_desc().
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |