1ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap
2ba82664cSAlexander ShishkinDate:		June 2015
3ba82664cSAlexander ShishkinKernelVersion:	4.3
4ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
5ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC buffer wrapping. 1 == wrapping enabled.
6ba82664cSAlexander Shishkin
7ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
8ba82664cSAlexander ShishkinDate:		June 2015
9ba82664cSAlexander ShishkinKernelVersion:	4.3
10ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
11ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC operating mode:
12ba82664cSAlexander Shishkin		  - "single", for contiguous buffer mode (high-order alloc);
13ba82664cSAlexander Shishkin		  - "multi", for multiblock mode;
14ba82664cSAlexander Shishkin		  - "ExI", for DCI handler mode;
15615c164dSAlexander Shishkin		  - "debug", for debug mode;
16615c164dSAlexander Shishkin		  - any of the currently loaded buffer sinks.
17ba82664cSAlexander Shishkin		If operating mode changes, existing buffer is deallocated,
18ba82664cSAlexander Shishkin		provided there are no active users and tracing is not enabled,
19ba82664cSAlexander Shishkin		otherwise the write will fail.
20ba82664cSAlexander Shishkin
21ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
22ba82664cSAlexander ShishkinDate:		June 2015
23ba82664cSAlexander ShishkinKernelVersion:	4.3
24ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
25ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC buffer size for "single" or "multi" modes.
26ba82664cSAlexander Shishkin		In single mode, this is a single number of pages, has to be
27ba82664cSAlexander Shishkin		power of 2. In multiblock mode, this is a comma-separated list
28ba82664cSAlexander Shishkin		of numbers of pages for each window to be allocated. Number of
29ba82664cSAlexander Shishkin		windows is not limited.
30ba82664cSAlexander Shishkin		Writing to this file deallocates existing buffer (provided
31ba82664cSAlexander Shishkin		there are no active users and tracing is not enabled) and then
32ba82664cSAlexander Shishkin		allocates a new one.
33ba82664cSAlexander Shishkin
346cac7866SAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/win_switch
356cac7866SAlexander ShishkinDate:		May 2019
366cac7866SAlexander ShishkinKernelVersion:	5.2
376cac7866SAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
386cac7866SAlexander ShishkinDescription:	(RW) Trigger window switch for the MSC's buffer, in
396cac7866SAlexander Shishkin		multi-window mode. In "multi" mode, accepts writes of "1", thereby
406cac7866SAlexander Shishkin		triggering a window switch for the buffer. Returns an error in any
416cac7866SAlexander Shishkin		other operating mode or attempts to write something other than "1".
42ba82664cSAlexander Shishkin
43