Commit 25901632 authored by Daniel Axtens's avatar Daniel Axtens Committed by Michael Ellerman

cxl: Add CONFIG_CXL_EEH symbol

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: default avatarCyril Bur <cyrilbur@gmail.com>
Signed-off-by: default avatarDaniel Axtens <dja@axtens.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 9e8df8a2
...@@ -11,11 +11,16 @@ config CXL_KERNEL_API ...@@ -11,11 +11,16 @@ config CXL_KERNEL_API
bool bool
default n default n
config CXL_EEH
bool
default n
config CXL config CXL
tristate "Support for IBM Coherent Accelerators (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_BASE
select CXL_KERNEL_API select CXL_KERNEL_API
select CXL_EEH
default m default m
help help
Select this option to enable driver support for IBM Coherent Select this option to enable driver support for IBM Coherent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment