[PATCH v3 2/4] iommu/io-pgtable-arm: Add read_and_clear_dirty() support
Tian, Kevin
kevin.tian at intel.com
Wed May 22 20:30:04 PDT 2024
> From: Jason Gunthorpe <jgg at nvidia.com>
> Sent: Thursday, May 23, 2024 1:51 AM
>
> diff --git a/drivers/iommu/iommufd/iommufd_private.h
> b/drivers/iommu/iommufd/iommufd_private.h
> index 991f864d1f9bc1..de3761e15cab54 100644
> --- a/drivers/iommu/iommufd/iommufd_private.h
> +++ b/drivers/iommu/iommufd/iommufd_private.h
> @@ -52,6 +52,7 @@ struct io_pagetable {
> /* IOVA that cannot be allocated, struct iopt_reserved */
> struct rb_root_cached reserved_itree;
> u8 disable_large_pages;
> + u8 dirty_tracking_enabled;
> unsigned long iova_alignment;
> };
>
should it be a hwpt flag instead?
More information about the linux-arm-kernel
mailing list