Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #
  2. # Coresight configuration
  3. #
  4. menuconfig CORESIGHT
  5. bool "CoreSight Tracing Support"
  6. select ARM_AMBA
  7. select PERF_EVENTS
  8. help
  9. This framework provides a kernel interface for the CoreSight debug
  10. and trace drivers to register themselves with. It's intended to build
  11. a topological view of the CoreSight components based on a DT
  12. specification and configure the right series of components when a
  13. trace source gets enabled.
  14. if CORESIGHT
  15. config CORESIGHT_LINKS_AND_SINKS
  16. bool "CoreSight Link and Sink drivers"
  17. help
  18. This enables support for CoreSight link and sink drivers that are
  19. responsible for transporting and collecting the trace data
  20. respectively. Link and sinks are dynamically aggregated with a trace
  21. entity at run time to form a complete trace path.
  22. config CORESIGHT_LINK_AND_SINK_TMC
  23. bool "Coresight generic TMC driver"
  24. depends on CORESIGHT_LINKS_AND_SINKS
  25. help
  26. This enables support for the Trace Memory Controller driver.
  27. Depending on its configuration the device can act as a link (embedded
  28. trace router - ETR) or sink (embedded trace FIFO). The driver
  29. complies with the generic implementation of the component without
  30. special enhancement or added features.
  31. config CORESIGHT_SINK_TPIU
  32. bool "Coresight generic TPIU driver"
  33. depends on CORESIGHT_LINKS_AND_SINKS
  34. help
  35. This enables support for the Trace Port Interface Unit driver,
  36. responsible for bridging the gap between the on-chip coresight
  37. components and a trace for bridging the gap between the on-chip
  38. coresight components and a trace port collection engine, typically
  39. connected to an external host for use case capturing more traces than
  40. the on-board coresight memory can handle.
  41. config CORESIGHT_SINK_ETBV10
  42. bool "Coresight ETBv1.0 driver"
  43. depends on CORESIGHT_LINKS_AND_SINKS
  44. help
  45. This enables support for the Embedded Trace Buffer version 1.0 driver
  46. that complies with the generic implementation of the component without
  47. special enhancement or added features.
  48. config CORESIGHT_SOURCE_ETM3X
  49. bool "CoreSight Embedded Trace Macrocell 3.x driver"
  50. depends on !ARM64
  51. select CORESIGHT_LINKS_AND_SINKS
  52. help
  53. This driver provides support for processor ETM3.x and PTM1.x modules,
  54. which allows tracing the instructions that a processor is executing
  55. This is primarily useful for instruction level tracing. Depending
  56. the ETM version data tracing may also be available.
  57. config CORESIGHT_SOURCE_ETM4X
  58. bool "CoreSight Embedded Trace Macrocell 4.x driver"
  59. depends on ARM64
  60. select CORESIGHT_LINKS_AND_SINKS
  61. help
  62. This driver provides support for the ETM4.x tracer module, tracing the
  63. instructions that a processor is executing. This is primarily useful
  64. for instruction level tracing. Depending on the implemented version
  65. data tracing may also be available.
  66. config CORESIGHT_QCOM_REPLICATOR
  67. bool "Qualcomm CoreSight Replicator driver"
  68. depends on CORESIGHT_LINKS_AND_SINKS
  69. help
  70. This enables support for Qualcomm CoreSight link driver. The
  71. programmable ATB replicator sends the ATB trace stream from the
  72. ETB/ETF to the TPIUi and ETR.
  73. config CORESIGHT_STM
  74. bool "CoreSight System Trace Macrocell driver"
  75. depends on (ARM && !(CPU_32v3 || CPU_32v4 || CPU_32v4T)) || ARM64
  76. select CORESIGHT_LINKS_AND_SINKS
  77. select STM
  78. help
  79. This driver provides support for hardware assisted software
  80. instrumentation based tracing. This is primarily used for
  81. logging useful software events or data coming from various entities
  82. in the system, possibly running different OSs
  83. endif