[PATCH v5 3/7] iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array

Nicolin Chen nicolinc at nvidia.com
Mon Nov 24 14:41:15 PST 2025


On Mon, Nov 24, 2025 at 09:42:31PM +0000, Will Deacon wrote:
> On Sat, Nov 08, 2025 at 12:08:04AM -0800, Nicolin Chen wrote:

> > +EXPORT_SYMBOL_IF_KUNIT(arm_smmu_invs_merge);
> 
> There's nothing really SMMU-specific about this data structure manipulation.
> Do you think we can abstract the invalidation array concept into a library
> which other IOMMU drivers could use too?

Yea, I am trying to shift to that at this moment, hopefully to
combine the iotlb tag (asid/vmid) allocation as well. We do see
it could be quite useful in AMD driver already.

And I will address the other remarks of yours.

Thanks
Nicolin



More information about the linux-arm-kernel mailing list