[PATCH v3 5/8] iommu/arm-smmu-v3: Precompute the invalidation commands

Nicolin Chen nicolinc at nvidia.com
Tue Jul 14 14:42:41 PDT 2026


On Tue, Jul 14, 2026 at 03:46:05PM -0300, Jason Gunthorpe wrote:
> Store the required cmd data in the tlbi and just copy it out when
> processing each item in the invs list. The cmd form only depends on
> if the instance supports RIL or not, otherwise it is always the same.
> 
> This avoids redundant calculations for each invs entry.
> 
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>

Reviewed-by: Nicolin Chen <nicolinc at nvidia.com>



More information about the linux-arm-kernel mailing list