[PATCH v8 08/15] iommufd: Add a vDEVICE operation ioctl framework

Tian, Kevin kevin.tian at intel.com
Thu Nov 5 23:24:10 PST 2026


> From: Aneesh Kumar K.V (Arm) <aneesh.kumar at kernel.org>
> Sent: Thursday, November 5, 2026 12:16 AM
> 
> @@ -11,6 +11,7 @@ iommufd-y := \
>  	viommu.o
> 
>  iommufd-$(CONFIG_IOMMUFD_NOIOMMU) += hwpt_noiommu.o
> +
>  iommufd-$(CONFIG_IOMMUFD_TEST) += selftest.o

unnecessary blank line

> @@ -453,6 +453,7 @@ union ucmd_buffer {
>  	struct iommu_veventq_alloc veventq;
>  	struct iommu_vfio_ioas vfio_ioas;
>  	struct iommu_viommu_alloc viommu;
> +	struct iommu_vdevice_op vdevice_op;

in alphabetical order

> @@ -516,6 +517,8 @@ static const struct iommufd_ioctl_op
> iommufd_ioctl_ops[] = {
>  		 __reserved),
>  	IOCTL_OP(IOMMU_VIOMMU_ALLOC, iommufd_viommu_alloc_ioctl,
>  		 struct iommu_viommu_alloc, out_viommu_id),
> +	IOCTL_OP(IOMMU_VDEVICE_OP, iommufd_vdevice_op_ioctl,
> +		 struct iommu_vdevice_op, resp_uptr),

ditto




More information about the linux-arm-kernel mailing list