* [PATCH] cxl: Add CXL_KERNEL_API config option
[not found] ` <1434436498.17070.27.camel@neuling.org>
@ 2015-06-16 6:45 ` Michael Neuling
0 siblings, 0 replies; only message in thread
From: Michael Neuling @ 2015-06-16 6:45 UTC (permalink / raw)
To: Michael Ellerman
Cc: Matthew R. Ochs, Manoj N.Kumar, Brian King, linuxppc-dev,
James.Bottomley, Benjamin Herrenschmidt
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 pow=
erpc
tree. Hence all trees will be bisectable at all times.
Signed-off-by: Michael Neuling <mikey@neuling.org>
diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index a990b39..b6db9eb 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -7,10 +7,15 @@ config CXL_BASE
default n
select PPC_COPRO_BASE
=20
+config CXL_KERNEL_API
+ bool
+ default n
+
config CXL
tristate "Support for IBM Coherent Accelerators (CXL)"
depends on PPC_POWERNV && PCI_MSI
select CXL_BASE
+ select CXL_KERNEL_API
default m
help
Select this option to enable driver support for IBM Coherent
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-16 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150613160038.367B18EE112@bedivere.hansenpartnership.com>
[not found] ` <1434235143.5042.63.camel@neuling.org>
[not found] ` <3746D390-571E-4D17-83A3-4D0D36335929@ellerman.id.au>
[not found] ` <1434244818.5042.68.camel@neuling.org>
[not found] ` <1434379526.2170.57.camel@HansenPartnership.com>
[not found] ` <1434436498.17070.27.camel@neuling.org>
2015-06-16 6:45 ` [PATCH] cxl: Add CXL_KERNEL_API config option Michael Neuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).