aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/Makefile
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/Makefile
parentpowerpc/mm: Add hooks for cxl (diff)
downloadlinux-dev-10542ca0156f60571ef41799d44d40dd4cb0a473.tar.xz
linux-dev-10542ca0156f60571ef41799d44d40dd4cb0a473.zip
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/Makefile')
-rw-r--r--drivers/misc/cxl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/cxl/Makefile b/drivers/misc/cxl/Makefile
new file mode 100644
index 000000000000..e30ad0ab0cf5
--- /dev/null
+++ b/drivers/misc/cxl/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_CXL_BASE) += base.o