Re: [PATCH v2] iommu/arm-smmu-v3: Batch ATC invalidation commands

2020-02-18 Thread Will Deacon
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 submi

Re: [PATCH v2] iommu/arm-smmu-v3: Batch ATC invalidation commands

2020-02-17 Thread Jean-Philippe Brucker
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

[PATCH v2] iommu/arm-smmu-v3: Batch ATC invalidation commands

2020-02-13 Thread Rob Herring
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