CONFIG_CXL_EEH is for CXL's EEH related code.

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

Reviewed-by: Cyril Bur <cyril...@gmail.com>
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
 drivers/misc/cxl/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index b6db9ebd52c2..c151fc1fe14c 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -11,11 +11,17 @@ config CXL_KERNEL_API
        bool
        default n
 
+config CXL_EEH
+       bool
+       default n
+       select EEH
+
 config CXL
        tristate "Support for IBM Coherent Accelerators (CXL)"
        depends on PPC_POWERNV && PCI_MSI
        select CXL_BASE
        select CXL_KERNEL_API
+       select CXL_EEH
        default m
        help
          Select this option to enable driver support for IBM Coherent
-- 
2.1.4

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to