arm64: mte: add in-kernel tag fault handler
[linux-2.6-microblaze.git] / include / linux / mdev.h
index 0ce30ca..9004375 100644 (file)
@@ -72,6 +72,9 @@ struct device *mdev_get_iommu_device(struct device *dev);
  * @mmap:              mmap callback
  *                     @mdev: mediated device structure
  *                     @vma: vma structure
+ * @request:           request callback to release device
+ *                     @mdev: mediated device structure
+ *                     @count: request sequence number
  * Parent device that support mediated device should be registered with mdev
  * module with mdev_parent_ops structure.
  **/
@@ -92,6 +95,7 @@ struct mdev_parent_ops {
        long    (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
                         unsigned long arg);
        int     (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
+       void    (*request)(struct mdev_device *mdev, unsigned int count);
 };
 
 /* interface for exporting mdev supported type attributes */