Re: [PATCH v4 08/18] iommufd: Add capabilities to IOMMU_GET_HW_INFO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 19, 2023 at 10:55:57AM +0100, Joao Martins wrote:

> I added this below. It is relatively brief as I expect people to read what each
> of the API do. Unless I should be expanding in length here?
> 
> diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h
> index ef8a1243eb57..43ed2f208503 100644
> --- a/include/uapi/linux/iommufd.h
> +++ b/include/uapi/linux/iommufd.h
> @@ -422,6 +422,12 @@ enum iommu_hw_info_type {
>  /**
>   * enum iommufd_hw_info_capabilities
>   * @IOMMU_CAP_DIRTY_TRACKING: IOMMU hardware support for dirty tracking
> + *                            If available, it means the following APIs
> + *                            are supported:
> + *
> + *                                   IOMMU_HWPT_GET_DIRTY_IOVA
> + *                                   IOMMU_HWPT_SET_DIRTY
> + *
>   */

That seems fine, thanks

Jason



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux