On Mon, Feb 17, 2020 at 07:29:18PM +0100, Jean-Philippe Brucker wrote: > On Thu, Feb 13, 2020 at 02:56:00PM -0600, Rob Herring wrote: > > Similar to commit 2af2e72b18b4 ("iommu/arm-smmu-v3: Defer TLB > > invalidation until ->iotlb_sync()"), build up a list of ATC invalidation > > commands and submit them all at once to the command queue instead of > > one-by-one. > > > > As there is only one caller of arm_smmu_atc_inv_master() left, we can > > simplify it and avoid passing in struct arm_smmu_cmdq_ent. > > > > Cc: Jean-Philippe Brucker <jean-phili...@linaro.org> > > Cc: Will Deacon <w...@kernel.org> > > Cc: Robin Murphy <robin.mur...@arm.com> > > Cc: Joerg Roedel <j...@8bytes.org> > > Signed-off-by: Rob Herring <r...@kernel.org> > > Reviewed-by: Jean-Philippe Brucker <jean-phili...@linaro.org> > > > Since I'm adding a third user of cmdq batching [1], I had a go at > factoring them. I can send the attached patch with my next version, if it > looks OK.
Yes, the idea looks good to me. Feel free to pick this stuff into a series so that I can review it for 5.7. Will _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu