cxl: Add base builtin support

This adds the base cxl support that cannot be built as a module. Specifically
it adds the cxl callbacks that are called from the core powerpc mm code which
must always exist irrespective of if the cxl module is loaded or not. This is
similar to how cell works with CONFIG_SPU_BASE.

This adds a cxl_slbia() call (similar to spu_flush_all_slbs()) which checks if
the cxl module is loaded and in use, returning immediately if it is not. If it
is in use it calls into the cxl SLB invalidation code.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
此提交包含在:
Ian Munsie
2014-10-08 19:55:01 +11:00
提交者 Michael Ellerman
父節點 4c6d9acce1
當前提交 10542ca015
共有 5 個檔案被更改,包括 97 行新增0 行删除

8
drivers/misc/cxl/Kconfig 一般檔案
查看文件

@@ -0,0 +1,8 @@
#
# IBM Coherent Accelerator (CXL) compatible devices
#
config CXL_BASE
bool
default n
select PPC_COPRO_BASE