aboutsummaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
Diffstat (limited to 'include/misc')
-rw-r--r--include/misc/cxl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/misc/cxl.h b/include/misc/cxl.h
index 7d5e2613c7b8..56560c5781b4 100644
--- a/include/misc/cxl.h
+++ b/include/misc/cxl.h
@@ -127,6 +127,14 @@ int cxl_afu_reset(struct cxl_context *ctx);
127void cxl_set_master(struct cxl_context *ctx); 127void cxl_set_master(struct cxl_context *ctx);
128 128
129/* 129/*
130 * Sets the context to use real mode memory accesses to operate with
131 * translation disabled. Note that this only makes sense for kernel contexts
132 * under bare metal, and will not work with virtualisation. May only be
133 * performed on stopped contexts.
134 */
135int cxl_set_translation_mode(struct cxl_context *ctx, bool real_mode);
136
137/*
130 * Map and unmap the AFU Problem Space area. The amount and location mapped 138 * Map and unmap the AFU Problem Space area. The amount and location mapped
131 * depends on if this context is a master or slave. 139 * depends on if this context is a master or slave.
132 */ 140 */