aboutsummaryrefslogtreecommitdiff
path: root/lib/trace_readwrite.c
diff options
context:
space:
mode:
authorJoao Martins <[email protected]>2024-07-03 11:16:03 +0100
committerWill Deacon <[email protected]>2024-07-03 15:45:47 +0100
commiteb054d67b21a53f6ccf3af49a62fb99397b48fc2 (patch)
tree494814db7fe62ae87cc2d5fdc7d4e773926f0880 /lib/trace_readwrite.c
parent4fe88fd8b4aecb7f9680bf898811db76b94095a9 (diff)
iommu/arm-smmu-v3: Add support for dirty tracking in domain alloc
This provides all the infrastructure to enable dirty tracking if the hardware has the capability and domain alloc request for it. Also, add a device_iommu_capable() check in iommufd core for IOMMU_CAP_DIRTY_TRACKING before we request a user domain with dirty tracking support. Please note, we still report no support for IOMMU_CAP_DIRTY_TRACKING as it will finally be enabled in a subsequent patch. Signed-off-by: Joao Martins <[email protected]> Reviewed-by: Ryan Roberts <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Shameer Kolothum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/trace_readwrite.c')
0 files changed, 0 insertions, 0 deletions