]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/arm-smmu: Add context init implementation hook
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Aug 2019 18:37:37 +0000 (19:37 +0100)
committerWill Deacon <will@kernel.org>
Mon, 19 Aug 2019 15:52:48 +0000 (16:52 +0100)
commitba7e4a08bbf7441664b3d140671db8d08ea15f22
treecf41667c5367ffeebd4a7e8e27d60cc8a7fbe1e2
parent62b993a36e4c2d60669beb3d1afe038ed44a41ec
iommu/arm-smmu: Add context init implementation hook

Allocating and initialising a context for a domain is another point
where certain implementations are known to want special behaviour.
Currently the other half of the Cavium workaround comes into play here,
so let's finish the job to get the whole thing right out of the way.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-impl.c
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h