diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2015-03-30 16:13:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 10:17:03 -0400 |
commit | 3288731e628e0269c20d86e43b647d0b92f2b3fc (patch) | |
tree | 8498a606216db899bfd4a63e56fbf51c21c89019 /drivers/coresight | |
parent | 72f641fe6818a403aed52fb3a5b8a241ff76c24f (diff) |
coresight: Adding coresight support for arm64 architecture
Most CoreSight blocks are 64-bit ready. As such move configuration
entries from "arch/arm/Kconfig.config" to the driver's subdirectory
and source the newly created Kconfig from architecture specific
Kconfig.debug files.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/coresight')
-rw-r--r-- | drivers/coresight/Kconfig | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/drivers/coresight/Kconfig b/drivers/coresight/Kconfig new file mode 100644 index 000000000000..fc1f1ae7a49d --- /dev/null +++ b/drivers/coresight/Kconfig | |||
@@ -0,0 +1,61 @@ | |||
1 | # | ||
2 | # Coresight configuration | ||
3 | # | ||
4 | menuconfig CORESIGHT | ||
5 | bool "CoreSight Tracing Support" | ||
6 | select ARM_AMBA | ||
7 | help | ||
8 | This framework provides a kernel interface for the CoreSight debug | ||
9 | and trace drivers to register themselves with. It's intended to build | ||
10 | a topological view of the CoreSight components based on a DT | ||
11 | specification and configure the right serie of components when a | ||
12 | trace source gets enabled. | ||
13 | |||
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 | |||
23 | config CORESIGHT_LINK_AND_SINK_TMC | ||
24 | bool "Coresight generic TMC driver" | ||
25 | depends on CORESIGHT_LINKS_AND_SINKS | ||
26 | help | ||
27 | This enables support for the Trace Memory Controller driver. | ||
28 | Depending on its configuration the device can act as a link (embedded | ||
29 | trace router - ETR) or sink (embedded trace FIFO). The driver | ||
30 | complies with the generic implementation of the component without | ||
31 | special enhancement or added features. | ||
32 | |||
33 | config CORESIGHT_SINK_TPIU | ||
34 | bool "Coresight generic TPIU driver" | ||
35 | depends on CORESIGHT_LINKS_AND_SINKS | ||
36 | help | ||
37 | This enables support for the Trace Port Interface Unit driver, | ||
38 | responsible for bridging the gap between the on-chip coresight | ||
39 | components and a trace for bridging the gap between the on-chip | ||
40 | coresight components and a trace port collection engine, typically | ||
41 | connected to an external host for use case capturing more traces than | ||
42 | the on-board coresight memory can handle. | ||
43 | |||
44 | config CORESIGHT_SINK_ETBV10 | ||
45 | bool "Coresight ETBv1.0 driver" | ||
46 | depends on CORESIGHT_LINKS_AND_SINKS | ||
47 | help | ||
48 | This enables support for the Embedded Trace Buffer version 1.0 driver | ||
49 | that complies with the generic implementation of the component without | ||
50 | special enhancement or added features. | ||
51 | |||
52 | config CORESIGHT_SOURCE_ETM3X | ||
53 | bool "CoreSight Embedded Trace Macrocell 3.x driver" | ||
54 | depends on !ARM64 | ||
55 | select CORESIGHT_LINKS_AND_SINKS | ||
56 | help | ||
57 | This driver provides support for processor ETM3.x and PTM1.x modules, | ||
58 | which allows tracing the instructions that a processor is executing | ||
59 | This is primarily useful for instruction level tracing. Depending | ||
60 | the ETM version data tracing may also be available. | ||
61 | endif | ||