summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/Kconfig
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au1.ibm.com>2014-10-08 19:55:01 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2014-10-08 20:15:56 +1100
commit10542ca0156f60571ef41799d44d40dd4cb0a473 (patch)
treeb917dbb91e1e2b1cffd5a351cd16ff431cc16f41 /drivers/misc/cxl/Kconfig
parent4c6d9acce1f4ca815881f0e3adca192795eca1c5 (diff)
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>
Diffstat (limited to 'drivers/misc/cxl/Kconfig')
-rw-r--r--drivers/misc/cxl/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
new file mode 100644
index 000000000000..5cdd3199f97d
--- /dev/null
+++ b/drivers/misc/cxl/Kconfig
@@ -0,0 +1,8 @@
+#
+# IBM Coherent Accelerator (CXL) compatible devices
+#
+
+config CXL_BASE
+ bool
+ default n
+ select PPC_COPRO_BASE