linux/drivers/iommu/arm/arm-smmu-v3
Kunkun Jiang 25c776dd03 iommu/arm-smmu-v3: Enable HTTU for stage1 with io-pgtable mapping
If io-pgtable quirk flag indicates support for hardware update of
dirty state, enable HA/HD bits in the SMMU CD and also set the DBM
bit in the page descriptor.

Now report the dirty page tracking capability of SMMUv3 and
select IOMMUFD_DRIVER for ARM_SMMU_V3 if IOMMUFD is enabled.

Co-developed-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Kunkun Jiang <jiangkunkun@huawei.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20240703101604.2576-6-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-07-03 15:45:47 +01:00
..
arm-smmu-v3-sva.c iommu/arm-smmu-v3: Put the SVA mmu notifier in the smmu_domain 2024-07-02 15:39:48 +01:00
arm-smmu-v3-test.c iommu/arm-smmu-v3: add missing MODULE_DESCRIPTION() macro 2024-07-02 17:13:54 +01:00
arm-smmu-v3.c iommu/arm-smmu-v3: Enable HTTU for stage1 with io-pgtable mapping 2024-07-03 15:45:47 +01:00
arm-smmu-v3.h iommu/arm-smmu-v3: Enable HTTU for stage1 with io-pgtable mapping 2024-07-03 15:45:47 +01:00
Makefile iommu/arm-smmu-v3: Use *-y instead of *-objs in Makefile 2024-06-05 13:59:38 +01:00