Re: [RFC PATCH v1 08/38] iommufd/tsm: Add tsm_op iommufd ioctls

Bjorn Helgaas
2025-08-04T22:25:51Z

On Mon, Jul 28, 2025 at 07:21:45PM +0530, Aneesh Kumar K.V (Arm) wrote:
> Add operations bind and unbind used to bind a TDI to the secure guest.

> +++ b/include/uapi/linux/iommufd.h

> +#define IOMMU_VDEVICE_TSM_OP _IO(IOMMUFD_TYPE, IOMMUFD_CMD_VDEVICE_TSM_OP)
> +#define IOMMU_VDEICE_TSM_BIND 0x1
> +#define IOMMU_VDEICE_TSM_UNBIND 0x2

s/VDEICE/VDEVICE/