diff options
author | Kunkun Jiang <jiangkunkun@huawei.com> | 2024-07-03 11:16:04 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-03 15:45:47 +0100 |
commit | 25c776dd03b3e3ee16ad3402feabe20d811c7cb2 (patch) | |
tree | fd7be24ffa6776a789326b00c90233b5cbaaee30 /drivers/usb/cdns3/cdnsp-mem.c | |
parent | eb054d67b21a53f6ccf3af49a62fb99397b48fc2 (diff) |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-mem.c')
0 files changed, 0 insertions, 0 deletions