forked from Minki/linux
39f4034693
Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that produce, switch and output trace data from multiple hardware and software sources over several types of trace output ports encoded in System Trace Protocol (MIPI STPv2) and is intended to perform full system debugging. For these subdevices, we create a bus, where they can be discovered and configured by userspace software. This patch creates this bus infrastructure, three types of devices (source, output, switch), resource allocation, some callback mechanisms to facilitate communication between the subdevices' drivers and some common sysfs attributes. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 lines
544 B
Plaintext
14 lines
544 B
Plaintext
What: /sys/bus/intel_th/devices/<intel_th_id>-<device><id>/active
|
|
Date: June 2015
|
|
KernelVersion: 4.3
|
|
Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com>
|
|
Description: (RW) Writes of 1 or 0 enable or disable trace output to this
|
|
output device. Reads return current status.
|
|
|
|
What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/port
|
|
Date: June 2015
|
|
KernelVersion: 4.3
|
|
Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com>
|
|
Description: (RO) Port number, corresponding to this output device on the
|
|
switch (GTH).
|