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 7a0d85d313.

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>
This commit is contained in:
Alastair D'Silva 2018-06-28 12:05:00 +02:00 committed by Michael Ellerman
parent 7dea6f2f05
commit c582815006
5 changed files with 2 additions and 32 deletions

View file

@ -173,14 +173,6 @@ int cxl_afu_reset(struct cxl_context *ctx);
*/
void cxl_set_master(struct cxl_context *ctx);
/*
* Sets the context to use real mode memory accesses to operate with
* translation disabled. Note that this only makes sense for kernel contexts
* under bare metal, and will not work with virtualisation. May only be
* performed on stopped contexts.
*/
int cxl_set_translation_mode(struct cxl_context *ctx, bool real_mode);
/*
* Map and unmap the AFU Problem Space area. The amount and location mapped
* depends on if this context is a master or slave.