summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-10-03 02:05:06 +0200
committerMark Brown <broonie@kernel.org>2026-10-03 02:05:06 +0200
commit0ffa262de2bee00d2346f58fc93c03dd2c1b6fbe (patch)
tree35940cb16ade2f4dcac207cbda9088bafb3c2d89 /include/linux
parent51da7f2c332907224cb9f1ae7a90c1a7d816a9e8 (diff)
parent54dadb030c7e2350957855d3995de05ae02c2e66 (diff)
downloadlinux-next-0ffa262de2bee00d2346f58fc93c03dd2c1b6fbe.tar.gz
linux-next-0ffa262de2bee00d2346f58fc93c03dd2c1b6fbe.zip
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/iommu.h6
-rw-r--r--include/linux/iommufd.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index ac43b8b93f14..05f7cee1375e 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -773,8 +773,10 @@ struct iommu_ops {
* passes in the cache invalidation requests, in form
* of a driver data structure. The driver must update
* array->entry_num to report the number of handled
- * invalidation requests. The driver data structure
- * must be defined in include/uapi/linux/iommufd.h
+ * invalidation requests. A driver may handle fewer than
+ * the requested, in which case the core re-invokes the
+ * op for the remainder. The driver data structure must
+ * be defined in include/uapi/linux/iommufd.h
* @iova_to_phys: translate iova to physical address
* @enforce_cache_coherency: Prevent any kind of DMA from bypassing IOMMU_CACHE,
* including no-snoop TLPs on PCIe or other platform
diff --git a/include/linux/iommufd.h b/include/linux/iommufd.h
index 6e7efe83bc5d..3087f5b2def8 100644
--- a/include/linux/iommufd.h
+++ b/include/linux/iommufd.h
@@ -154,6 +154,8 @@ struct iommufd_hw_queue {
* The @array passes in the cache invalidation requests, in
* form of a driver data structure. A driver must update the
* array->entry_num to report the number of handled requests.
+ * A driver may handle fewer than the requested entry_num, in
+ * which case the core re-invokes the op for the remainder.
* The data structure of the array entry must be defined in
* include/uapi/linux/iommufd.h
* @vdevice_size: Size of the driver-defined vDEVICE structure per this vIOMMU