xref: /openbmc/linux/drivers/misc/cxl/Kconfig (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
210542ca0SIan Munsie#
310542ca0SIan Munsie# IBM Coherent Accelerator (CXL) compatible devices
410542ca0SIan Munsie#
510542ca0SIan Munsie
610542ca0SIan Munsieconfig CXL_BASE
710542ca0SIan Munsie	bool
810542ca0SIan Munsie	select PPC_COPRO_BASE
9*c2857374SNicholas Piggin	select PPC_64S_HASH_MMU
10881632c9SIan Munsie
11881632c9SIan Munsieconfig CXL
12881632c9SIan Munsie	tristate "Support for IBM Coherent Accelerators (CXL)"
1325901632SDaniel Axtens	depends on PPC_POWERNV && PCI_MSI && EEH
14881632c9SIan Munsie	select CXL_BASE
15881632c9SIan Munsie	default m
16881632c9SIan Munsie	help
17881632c9SIan Munsie	  Select this option to enable driver support for IBM Coherent
18881632c9SIan Munsie	  Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
19881632c9SIan Munsie	  Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
20881632c9SIan Munsie	  coherently attached to a CPU via an MMU.  This driver enables
21881632c9SIan Munsie	  userspace programs to access these accelerators via /dev/cxl/afuM.N
22881632c9SIan Munsie	  devices.
23881632c9SIan Munsie
24881632c9SIan Munsie	  CAPI adapters are found in POWER8 based systems.
25881632c9SIan Munsie
26881632c9SIan Munsie	  If unsure, say N.
27