diff options
author | Alastair D'Silva <alastair@d-silva.org> | 2018-06-28 06:05:00 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-02 09:54:30 -0400 |
commit | c5828150067c47a97f30e690a472e0548d3ac97d (patch) | |
tree | 0057a133e3b09a65fb4ced567170e8f689075198 /include/misc | |
parent | 7dea6f2f053599d90f7894216db0dd0bedeb3a1c (diff) |
Revert "cxl: Add kernel API to allow a context to operate with relocate disabled"
Remove abandonned capi support for the Mellanox CX4.
The symbol 'cxl_set_translation_mode' is never called, so
ctx->real_mode is always false.
This reverts commit 7a0d85d313c2066712e530e668bc02bb741a685c.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/misc')
-rw-r--r-- | include/misc/cxl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/misc/cxl.h b/include/misc/cxl.h index b712be544f8c..82cc6ffafe2d 100644 --- a/include/misc/cxl.h +++ b/include/misc/cxl.h | |||
@@ -174,14 +174,6 @@ int cxl_afu_reset(struct cxl_context *ctx); | |||
174 | void cxl_set_master(struct cxl_context *ctx); | 174 | void cxl_set_master(struct cxl_context *ctx); |
175 | 175 | ||
176 | /* | 176 | /* |
177 | * Sets the context to use real mode memory accesses to operate with | ||
178 | * translation disabled. Note that this only makes sense for kernel contexts | ||
179 | * under bare metal, and will not work with virtualisation. May only be | ||
180 | * performed on stopped contexts. | ||
181 | */ | ||
182 | int cxl_set_translation_mode(struct cxl_context *ctx, bool real_mode); | ||
183 | |||
184 | /* | ||
185 | * Map and unmap the AFU Problem Space area. The amount and location mapped | 177 | * Map and unmap the AFU Problem Space area. The amount and location mapped |
186 | * depends on if this context is a master or slave. | 178 | * depends on if this context is a master or slave. |
187 | */ | 179 | */ |