]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Add base builtin support
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 8 Oct 2014 08:55:01 +0000 (19:55 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Oct 2014 09:15:56 +0000 (20:15 +1100)
commit8e9c740d831f12b0a83bff9046149e51e2fc1e2b
treeb917dbb91e1e2b1cffd5a351cd16ff431cc16f41
parent790fb82961db98290326e80a84faaa4ad7d28346
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>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/cxl/Kconfig [new file with mode: 0644]
drivers/misc/cxl/Makefile [new file with mode: 0644]
drivers/misc/cxl/base.c [new file with mode: 0644]