iommu/arm-smmu-v3: Batch context descriptor invalidation
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Mon, 24 Feb 2020 16:58:45 +0000 (17:58 +0100)
committerWill Deacon <will@kernel.org>
Wed, 18 Mar 2020 21:32:25 +0000 (21:32 +0000)
commitedd0351e7bc49555d8b5ad8438a65a7ca262c9f0
treeb5fb39cdb40ceafed79eeeac4b2481b44f45a83c
parent4ce8da453640147101bda418640394637c1a7cfc
iommu/arm-smmu-v3: Batch context descriptor invalidation

Rather than publishing one command at a time when invalidating a context
descriptor, batch the commands for all SIDs in the domain.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c