diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2022-05-13 10:04:22 -0600 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2022-05-13 10:04:22 -0600 |
| commit | c5e8c39282def775b707ccb5dfe644bd081aa7a8 (patch) | |
| tree | 7496889d295df196e0560d777a36dfe36c54c884 /include/linux/device | |
| parent | ff806cbd90bd2cc3d08a026e26157e5b5a6b5e03 (diff) | |
| parent | 0286300e60455534b23f4b86ce79247829ceddb8 (diff) | |
Merge remote-tracking branch 'iommu/vfio-notifier-fix' into v5.19/vfio/next
Merge IOMMU dependencies for vfio.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/device')
| -rw-r--r-- | include/linux/device/bus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device/bus.h b/include/linux/device/bus.h index a039ab809753..d8b29ccd07e5 100644 --- a/include/linux/device/bus.h +++ b/include/linux/device/bus.h @@ -59,6 +59,8 @@ struct fwnode_handle; * bus supports. * @dma_configure: Called to setup DMA configuration on a device on * this bus. + * @dma_cleanup: Called to cleanup DMA configuration on a device on + * this bus. * @pm: Power management operations of this bus, callback the specific * device driver's pm-ops. * @iommu_ops: IOMMU specific operations for this bus, used to attach IOMMU @@ -103,6 +105,7 @@ struct bus_type { int (*num_vf)(struct device *dev); int (*dma_configure)(struct device *dev); + void (*dma_cleanup)(struct device *dev); const struct dev_pm_ops *pm; |
