Kconfig 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # IBM Coherent Accelerator (CXL) compatible devices
  3. #
  4. config CXL_BASE
  5. bool
  6. default n
  7. select PPC_COPRO_BASE
  8. config CXL_AFU_DRIVER_OPS
  9. bool
  10. default n
  11. config CXL_LIB
  12. bool
  13. default n
  14. config CXL
  15. tristate "Support for IBM Coherent Accelerators (CXL)"
  16. depends on PPC_POWERNV && PCI_MSI && EEH
  17. select CXL_BASE
  18. select CXL_AFU_DRIVER_OPS
  19. select CXL_LIB
  20. default m
  21. help
  22. Select this option to enable driver support for IBM Coherent
  23. Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
  24. Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be
  25. coherently attached to a CPU via an MMU. This driver enables
  26. userspace programs to access these accelerators via /dev/cxl/afuM.N
  27. devices.
  28. CAPI adapters are found in POWER8 based systems.
  29. If unsure, say N.
  30. config CXL_BIMODAL
  31. bool "Support for bi-modal CAPI cards"
  32. depends on HOTPLUG_PCI_POWERNV = y && CXL || HOTPLUG_PCI_POWERNV = m && CXL = m
  33. default y
  34. help
  35. Select this option to enable support for bi-modal CAPI cards, such as
  36. the Mellanox CX-4.