[PATCH v1 01/16] iommufd/viommu: Add IOMMUFD_OBJ_VIOMMU and IOMMU_VIOMMU_ALLOC ioctl
Nicolin Chen
nicolinc at nvidia.com
Wed Aug 14 09:50:26 PDT 2024
On Wed, Aug 07, 2024 at 01:10:42PM -0700, Nicolin Chen wrote:
> /**
> @@ -876,4 +877,33 @@ struct iommu_fault_alloc {
> __u32 out_fault_fd;
> };
> #define IOMMU_FAULT_QUEUE_ALLOC _IO(IOMMUFD_TYPE, IOMMUFD_CMD_FAULT_QUEUE_ALLOC)
> +
> +/**
> + * enum iommu_viommu_type - Virtual IOMMU Type
> + * @IOMMU_VIOMMU_TYPE_DEFAULT: Core-managed VIOMMU type
> + */
> +enum iommu_viommu_type {
> + IOMMU_VIOMMU_TYPE_DEFAULT,
This needs a "= 0x0". I fixed locally along with others in this series.
Nicolin
More information about the linux-arm-kernel
mailing list