[PATCH v5 6/9] iommu/arm-smmu-v3: Precompute the invalidation commands
Jason Gunthorpe
jgg at nvidia.com
Mon Sep 7 08:19:53 PDT 2026
On Mon, Sep 07, 2026 at 02:27:52PM +0000, Mostafa Saleh wrote:
> On Tue, Sep 01, 2026 at 02:49:55PM -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.
>
> As I mentioned on v2, I don’t see a value for this without smmu
> sharing over the same domain, as this just adds extra complexity IMHO,
> but that's up to Robin and Will.
Nicolin already has a series that does exactly this, waiting for stuff
already on the list to get merged before posting it. I'd rather have
things organized in the way we know we need them..
Otherwise we need to go around and change this stuff again..
Jason
More information about the linux-arm-kernel
mailing list