83 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config STM3 tristate "System Trace Module devices"4 select CONFIGFS_FS5 help6 A System Trace Module (STM) is a device exporting data in System7 Trace Protocol (STP) format as defined by MIPI STP standards.8 Examples of such devices are Intel(R) Trace Hub and Coresight STM.9 10 Say Y here to enable System Trace Module device support.11 12if STM13 14config STM_PROTO_BASIC15 tristate "Basic STM framing protocol driver"16 default CONFIG_STM17 help18 This is a simple framing protocol for sending data over STM19 devices. This was the protocol that the STM framework used20 exclusively until the MIPI SyS-T support was added. Use this21 driver for compatibility with your existing STM setup.22 23 The receiving side only needs to be able to decode the MIPI24 STP protocol in order to extract the data.25 26 If you want to be able to use the basic protocol or want the27 backwards compatibility for your existing setup, say Y.28 29config STM_PROTO_SYS_T30 tristate "MIPI SyS-T STM framing protocol driver"31 default CONFIG_STM32 help33 This is an implementation of MIPI SyS-T protocol to be used34 over the STP transport. In addition to the data payload, it35 also carries additional metadata for time correlation, better36 means of trace source identification, etc.37 38 The receiving side must be able to decode this protocol in39 addition to the MIPI STP, in order to extract the data.40 41 If you don't know what this is, say N.42 43config STM_DUMMY44 tristate "Dummy STM driver"45 help46 This is a simple dummy device that pretends to be an stm device47 and discards your data. Use for stm class testing.48 49 If you don't know what this is, say N.50 51config STM_SOURCE_CONSOLE52 tristate "Kernel console over STM devices"53 help54 This is a kernel space trace source that sends kernel log55 messages to trace hosts over STM devices.56 57 If you want to send kernel console messages over STM devices,58 say Y.59 60config STM_SOURCE_HEARTBEAT61 tristate "Heartbeat over STM devices"62 help63 This is a kernel space trace source that sends periodic64 heartbeat messages to trace hosts over STM devices. It is65 also useful for testing stm class drivers and the stm class66 framework itself.67 68 If you want to send heartbeat messages over STM devices,69 say Y.70 71config STM_SOURCE_FTRACE72 tristate "Copy the output from kernel Ftrace to STM engine"73 depends on TRACING74 help75 This option can be used to copy the output from kernel Ftrace76 to STM engine. Enabling this option will introduce a slight77 timing effect.78 79 If you want to send kernel Ftrace messages over STM devices,80 say Y.81 82endif83