Thread (22 messages) 22 messages, 4 authors, 2023-08-21

Re: [PATCH v6 09/10] iommu/arm-smmu-v3: Skip cd sync if CD table isn't active

From: Will Deacon <will@kernel.org>
Date: 2023-08-21 10:42:56
Also in: linux-iommu, lkml

On Mon, Aug 21, 2023 at 06:16:08PM +0800, Michael Shavit wrote:
On Wed, Aug 16, 2023 at 9:20 PM Michael Shavit [off-list ref] wrote:
quoted
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.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Nicolin Chen <redacted>
Signed-off-by: Michael Shavit <redacted>
---
Happy to drop this commit if we don't think it's useful.
Hi Will,
Do you have any recommendations for keeping or dropping this commit in
the end? It's only purpose is to minimize any potential performance
impact from the refactor but can certainly be dropped if you don't
think it's worth the complication.
I'd prefer to drop it unless somebody can measure the benefits that it
brings.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help