cxl: Add CONFIG_CXL_EEH symbol
authorDaniel Axtens <dja@axtens.net>
Fri, 14 Aug 2015 07:41:27 +0000 (17:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 17 Aug 2015 03:56:29 +0000 (13:56 +1000)
CONFIG_CXL_EEH is for CXL's EEH related code.

Other drivers can depend on or #ifdef on this symbol to configure
PERST behaviour, allowing CXL to participate in the EEH process.

Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/Kconfig

index b6db9eb..8756d06 100644 (file)
@@ -11,11 +11,16 @@ config CXL_KERNEL_API
        bool
        default n
 
+config CXL_EEH
+       bool
+       default n
+
 config CXL
        tristate "Support for IBM Coherent Accelerators (CXL)"
-       depends on PPC_POWERNV && PCI_MSI
+       depends on PPC_POWERNV && PCI_MSI && EEH
        select CXL_BASE
        select CXL_KERNEL_API
+       select CXL_EEH
        default m
        help
          Select this option to enable driver support for IBM Coherent