xref: /linux/drivers/hwtracing/intel_th/Kconfig (revision 4ab5a5d2a4a2289c2af07accbec7170ca5671f41)
1config INTEL_TH
2	tristate "Intel(R) Trace Hub controller"
3	depends on HAS_DMA && HAS_IOMEM
4	help
5	  Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
6	  produce, switch and output trace data from multiple hardware and
7	  software sources over several types of trace output ports encoded
8	  in System Trace Protocol (MIPI STPv2) and is intended to perform
9	  full system debugging.
10
11	  This option enables intel_th bus and common code used by TH
12	  subdevices to interact with each other and hardware and for
13	  platform glue layers to drive Intel TH devices.
14
15	  Say Y here to enable Intel(R) Trace Hub controller support.
16
17if INTEL_TH
18
19config INTEL_TH_PCI
20	tristate "Intel(R) Trace Hub PCI controller"
21	depends on PCI
22	help
23	  Intel(R) Trace Hub may exist as a PCI device. This option enables
24	  support glue layer for PCI-based Intel TH.
25
26	  Say Y here to enable PCI Intel TH support.
27
28config INTEL_TH_ACPI
29	tristate "Intel(R) Trace Hub ACPI controller"
30	depends on ACPI
31	help
32	  Intel(R) Trace Hub may exist as an ACPI device. This option enables
33	  support glue layer for ACPI-based Intel TH. This typically implies
34	  'host debugger' mode, that is, the trace configuration and capture
35	  is handled by an external debug host and corresponding controls will
36	  not be available on the target.
37
38	  Say Y here to enable ACPI Intel TH support.
39
40config INTEL_TH_GTH
41	tristate "Intel(R) Trace Hub Global Trace Hub"
42	help
43	  Global Trace Hub (GTH) is the central component of the
44	  Intel TH infrastructure and acts as a switch for source
45	  and output devices. This driver is required for other
46	  Intel TH subdevices to initialize.
47
48	  Say Y here to enable GTH subdevice of Intel(R) Trace Hub.
49
50config INTEL_TH_STH
51	tristate "Intel(R) Trace Hub Software Trace Hub support"
52	depends on STM
53	help
54	  Software Trace Hub (STH) enables trace data from software
55	  trace sources to be sent out via Intel(R) Trace Hub. It
56	  uses stm class device to interface with its sources.
57
58	  Say Y here to enable STH subdevice of Intel(R) Trace Hub.
59
60config INTEL_TH_MSU
61	tristate "Intel(R) Trace Hub Memory Storage Unit"
62	help
63	  Memory Storage Unit (MSU) trace output device enables
64	  storing STP traces to system memory. It supports single
65	  and multiblock modes of operation and provides read()
66	  and mmap() access to the collected data.
67
68	  Say Y here to enable MSU output device for Intel TH.
69
70config INTEL_TH_PTI
71	tristate "Intel(R) Trace Hub PTI output"
72	help
73	  Parallel Trace Interface unit (PTI) is a trace output device
74	  of Intel TH architecture that facilitates STP trace output via
75	  a PTI port.
76
77	  Say Y to enable PTI output of Intel TH data.
78
79config INTEL_TH_DEBUG
80	bool "Intel(R) Trace Hub debugging"
81	depends on DEBUG_FS
82	help
83	  Say Y here to enable debugging.
84
85endif
86