iommu/arm-smmu: Implement IOMMU_DOMAIN_BLOCKED
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 17 Oct 2023 18:11:42 +0000 (15:11 -0300)
committerWill Deacon <will@kernel.org>
Wed, 13 Dec 2023 13:03:29 +0000 (13:03 +0000)
commitbbbf11eea38c0cb167edc5ce5fe76324e87ad074
treec3edda7aa78165e912f1e52820f27179130b51f4
parent22bb7b41476a1b8dc282dc5b3ca5470090b52e46
iommu/arm-smmu: Implement IOMMU_DOMAIN_BLOCKED

Using the same design as IDENTITY setup a S2CR_TYPE_FAULT s2cr for the
device.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/3-v2-c86cc8c2230e+160bb-smmu_newapi_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.c