[PATCH v1 1/4] iommu: Add IOMMU_SYS_CACHE flag for system cache control
From: Manoj Vishwanathan
Date: Mon Aug 26 2024 - 03:17:19 EST
This flag indicates whether the associated page should be cached in the
system's cache hierarchy.
Signed-off-by: Manoj Vishwanathan <manojvishy@xxxxxxxxxx>
---
include/linux/iommu.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 04cbdae0052e..ca895c83c24f 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -31,6 +31,12 @@
*/
#define IOMMU_PRIV (1 << 5)
+/*
+ * Flag to indicate whether the associated page should be cached in the
+ * system's cache hierarchy.
+ */
+#define IOMMU_SYS_CACHE (1 << 6)
+
struct iommu_ops;
struct iommu_group;
struct bus_type;
--
2.46.0.295.g3b9ea8a38a-goog