Kconfig 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config STM
  3. tristate "System Trace Module devices"
  4. select CONFIGFS_FS
  5. select SRCU
  6. help
  7. A System Trace Module (STM) is a device exporting data in System
  8. Trace Protocol (STP) format as defined by MIPI STP standards.
  9. Examples of such devices are Intel(R) Trace Hub and Coresight STM.
  10. Say Y here to enable System Trace Module device support.
  11. if STM
  12. config STM_PROTO_BASIC
  13. tristate "Basic STM framing protocol driver"
  14. default CONFIG_STM
  15. help
  16. This is a simple framing protocol for sending data over STM
  17. devices. This was the protocol that the STM framework used
  18. exclusively until the MIPI SyS-T support was added. Use this
  19. driver for compatibility with your existing STM setup.
  20. The receiving side only needs to be able to decode the MIPI
  21. STP protocol in order to extract the data.
  22. If you want to be able to use the basic protocol or want the
  23. backwards compatibility for your existing setup, say Y.
  24. config STM_PROTO_SYS_T
  25. tristate "MIPI SyS-T STM framing protocol driver"
  26. default CONFIG_STM
  27. help
  28. This is an implementation of MIPI SyS-T protocol to be used
  29. over the STP transport. In addition to the data payload, it
  30. also carries additional metadata for time correlation, better
  31. means of trace source identification, etc.
  32. The receiving side must be able to decode this protocol in
  33. addition to the MIPI STP, in order to extract the data.
  34. If you don't know what this is, say N.
  35. config STM_PROTO_OST
  36. tristate "MIPI OST STM framing protocol driver"
  37. default CONFIG_STM
  38. help
  39. This is an implementation of MIPI OST protocol to be used
  40. over the STP transport. In addition to the data payload, it
  41. also carries additional metadata for entity, better
  42. means of trace source identification, etc.
  43. The receiving side must be able to decode this protocol in
  44. addition to the MIPI STP, in order to extract the data.
  45. If you don't know what this is, say N.
  46. config STM_DUMMY
  47. tristate "Dummy STM driver"
  48. help
  49. This is a simple dummy device that pretends to be an stm device
  50. and discards your data. Use for stm class testing.
  51. If you don't know what this is, say N.
  52. config STM_SOURCE_CONSOLE
  53. tristate "Kernel console over STM devices"
  54. help
  55. This is a kernel space trace source that sends kernel log
  56. messages to trace hosts over STM devices.
  57. If you want to send kernel console messages over STM devices,
  58. say Y.
  59. config STM_SOURCE_HEARTBEAT
  60. tristate "Heartbeat over STM devices"
  61. help
  62. This is a kernel space trace source that sends periodic
  63. heartbeat messages to trace hosts over STM devices. It is
  64. also useful for testing stm class drivers and the stm class
  65. framework itself.
  66. If you want to send heartbeat messages over STM devices,
  67. say Y.
  68. config STM_SOURCE_FTRACE
  69. tristate "Copy the output from kernel Ftrace to STM engine"
  70. depends on TRACING
  71. help
  72. This option can be used to copy the output from kernel Ftrace
  73. to STM engine. Enabling this option will introduce a slight
  74. timing effect.
  75. If you want to send kernel Ftrace messages over STM devices,
  76. say Y.
  77. endif