xref: /linux/drivers/hwtracing/intel_th/Kconfig (revision ba82664c134ef7ab97808f09a3c5e894b0a4900d)
139f40346SAlexander Shishkinconfig INTEL_TH
239f40346SAlexander Shishkin	tristate "Intel(R) Trace Hub controller"
339f40346SAlexander Shishkin	help
439f40346SAlexander Shishkin	  Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
539f40346SAlexander Shishkin	  produce, switch and output trace data from multiple hardware and
639f40346SAlexander Shishkin	  software sources over several types of trace output ports encoded
739f40346SAlexander Shishkin	  in System Trace Protocol (MIPI STPv2) and is intended to perform
839f40346SAlexander Shishkin	  full system debugging.
939f40346SAlexander Shishkin
1039f40346SAlexander Shishkin	  This option enables intel_th bus and common code used by TH
1139f40346SAlexander Shishkin	  subdevices to interact with each other and hardware and for
1239f40346SAlexander Shishkin	  platform glue layers to drive Intel TH devices.
1339f40346SAlexander Shishkin
1439f40346SAlexander Shishkin	  Say Y here to enable Intel(R) Trace Hub controller support.
1539f40346SAlexander Shishkin
1639f40346SAlexander Shishkinif INTEL_TH
1739f40346SAlexander Shishkin
182b0b16d3SAlexander Shishkinconfig INTEL_TH_PCI
192b0b16d3SAlexander Shishkin	tristate "Intel(R) Trace Hub PCI controller"
202b0b16d3SAlexander Shishkin	depends on PCI
212b0b16d3SAlexander Shishkin	help
222b0b16d3SAlexander Shishkin	  Intel(R) Trace Hub may exist as a PCI device. This option enables
232b0b16d3SAlexander Shishkin	  support glue layer for PCI-based Intel TH.
242b0b16d3SAlexander Shishkin
252b0b16d3SAlexander Shishkin	  Say Y here to enable PCI Intel TH support.
262b0b16d3SAlexander Shishkin
27b27a6a3fSAlexander Shishkinconfig INTEL_TH_GTH
28b27a6a3fSAlexander Shishkin	tristate "Intel(R) Trace Hub Global Trace Hub"
29b27a6a3fSAlexander Shishkin	help
30b27a6a3fSAlexander Shishkin	  Global Trace Hub (GTH) is the central component of the
31b27a6a3fSAlexander Shishkin	  Intel TH infrastructure and acts as a switch for source
32b27a6a3fSAlexander Shishkin	  and output devices. This driver is required for other
33b27a6a3fSAlexander Shishkin	  Intel TH subdevices to initialize.
34b27a6a3fSAlexander Shishkin
35b27a6a3fSAlexander Shishkin	  Say Y here to enable GTH subdevice of Intel(R) Trace Hub.
36b27a6a3fSAlexander Shishkin
37f04e449fSAlexander Shishkinconfig INTEL_TH_STH
38f04e449fSAlexander Shishkin	tristate "Intel(R) Trace Hub Software Trace Hub support"
39f04e449fSAlexander Shishkin	depends on STM
40f04e449fSAlexander Shishkin	help
41f04e449fSAlexander Shishkin	  Software Trace Hub (STH) enables trace data from software
42f04e449fSAlexander Shishkin	  trace sources to be sent out via Intel(R) Trace Hub. It
43f04e449fSAlexander Shishkin	  uses stm class device to interface with its sources.
44f04e449fSAlexander Shishkin
45f04e449fSAlexander Shishkin	  Say Y here to enable STH subdevice of Intel(R) Trace Hub.
46f04e449fSAlexander Shishkin
47*ba82664cSAlexander Shishkinconfig INTEL_TH_MSU
48*ba82664cSAlexander Shishkin	tristate "Intel(R) Trace Hub Memory Storage Unit"
49*ba82664cSAlexander Shishkin	help
50*ba82664cSAlexander Shishkin	  Memory Storage Unit (MSU) trace output device enables
51*ba82664cSAlexander Shishkin	  storing STP traces to system memory. It supports single
52*ba82664cSAlexander Shishkin	  and multiblock modes of operation and provides read()
53*ba82664cSAlexander Shishkin	  and mmap() access to the collected data.
54*ba82664cSAlexander Shishkin
55*ba82664cSAlexander Shishkin	  Say Y here to enable MSU output device for Intel TH.
56*ba82664cSAlexander Shishkin
5739f40346SAlexander Shishkinconfig INTEL_TH_DEBUG
5839f40346SAlexander Shishkin	bool "Intel(R) Trace Hub debugging"
5939f40346SAlexander Shishkin	depends on DEBUG_FS
6039f40346SAlexander Shishkin	help
6139f40346SAlexander Shishkin	  Say Y here to enable debugging.
6239f40346SAlexander Shishkin
6339f40346SAlexander Shishkinendif
64