mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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:
committed by
Michael Ellerman
parent
7dea6f2f05
commit
c582815006
@@ -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.
|
||||
|
Reference in New Issue
Block a user