Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxl: Add CXL_KERNEL_API config option

Add CXL_KERNEL_API config option so drivers which depend on this new
functionality won't be enabled until this is visible.

This is useful for merging the cxlflash driver which comes in via the SCSI
tree. The cxlflash driver can depend on CXL_KERNEL_API, hence it won't be
enabled in the SCSI tree until this new config option is merged via the powerpc
tree. Hence all trees will be bisectable at all times.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Michael Neuling and committed by
Michael Ellerman
e0fcdc20 5c89a87d

+5
+5
drivers/misc/cxl/Kconfig
··· 7 7 default n 8 8 select PPC_COPRO_BASE 9 9 10 + config CXL_KERNEL_API 11 + bool 12 + default n 13 + 10 14 config CXL 11 15 tristate "Support for IBM Coherent Accelerators (CXL)" 12 16 depends on PPC_POWERNV && PCI_MSI 13 17 select CXL_BASE 18 + select CXL_KERNEL_API 14 19 default m 15 20 help 16 21 Select this option to enable driver support for IBM Coherent