xref: /linux/Documentation/ABI/testing/sysfs-bus-intel_th-devices-msc (revision ba82664c134ef7ab97808f09a3c5e894b0a4900d)
1*ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap
2*ba82664cSAlexander ShishkinDate:		June 2015
3*ba82664cSAlexander ShishkinKernelVersion:	4.3
4*ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
5*ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC buffer wrapping. 1 == wrapping enabled.
6*ba82664cSAlexander Shishkin
7*ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
8*ba82664cSAlexander ShishkinDate:		June 2015
9*ba82664cSAlexander ShishkinKernelVersion:	4.3
10*ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
11*ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC operating mode:
12*ba82664cSAlexander Shishkin		  - "single", for contiguous buffer mode (high-order alloc);
13*ba82664cSAlexander Shishkin		  - "multi", for multiblock mode;
14*ba82664cSAlexander Shishkin		  - "ExI", for DCI handler mode;
15*ba82664cSAlexander Shishkin		  - "debug", for debug mode.
16*ba82664cSAlexander Shishkin		If operating mode changes, existing buffer is deallocated,
17*ba82664cSAlexander Shishkin		provided there are no active users and tracing is not enabled,
18*ba82664cSAlexander Shishkin		otherwise the write will fail.
19*ba82664cSAlexander Shishkin
20*ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
21*ba82664cSAlexander ShishkinDate:		June 2015
22*ba82664cSAlexander ShishkinKernelVersion:	4.3
23*ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
24*ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC buffer size for "single" or "multi" modes.
25*ba82664cSAlexander Shishkin		In single mode, this is a single number of pages, has to be
26*ba82664cSAlexander Shishkin		power of 2. In multiblock mode, this is a comma-separated list
27*ba82664cSAlexander Shishkin		of numbers of pages for each window to be allocated. Number of
28*ba82664cSAlexander Shishkin		windows is not limited.
29*ba82664cSAlexander Shishkin		Writing to this file deallocates existing buffer (provided
30*ba82664cSAlexander Shishkin		there are no active users and tracing is not enabled) and then
31*ba82664cSAlexander Shishkin		allocates a new one.
32*ba82664cSAlexander Shishkin
33*ba82664cSAlexander Shishkin
34