mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 16:35:01 +07:00
25901632c9
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>
36 lines
799 B
Plaintext
36 lines
799 B
Plaintext
#
|
|
# IBM Coherent Accelerator (CXL) compatible devices
|
|
#
|
|
|
|
config CXL_BASE
|
|
bool
|
|
default n
|
|
select PPC_COPRO_BASE
|
|
|
|
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 && EEH
|
|
select CXL_BASE
|
|
select CXL_KERNEL_API
|
|
select CXL_EEH
|
|
default m
|
|
help
|
|
Select this option to enable driver support for IBM Coherent
|
|
Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
|
|
Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be
|
|
coherently attached to a CPU via an MMU. This driver enables
|
|
userspace programs to access these accelerators via /dev/cxl/afuM.N
|
|
devices.
|
|
|
|
CAPI adapters are found in POWER8 based systems.
|
|
|
|
If unsure, say N.
|