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;
15ba82664cSAlexander Shishkin		  - "debug", for debug mode.
16ba82664cSAlexander Shishkin		If operating mode changes, existing buffer is deallocated,
17ba82664cSAlexander Shishkin		provided there are no active users and tracing is not enabled,
18ba82664cSAlexander Shishkin		otherwise the write will fail.
19ba82664cSAlexander Shishkin
20ba82664cSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
21ba82664cSAlexander ShishkinDate:		June 2015
22ba82664cSAlexander ShishkinKernelVersion:	4.3
23ba82664cSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
24ba82664cSAlexander ShishkinDescription:	(RW) Configure MSC buffer size for "single" or "multi" modes.
25ba82664cSAlexander Shishkin		In single mode, this is a single number of pages, has to be
26ba82664cSAlexander Shishkin		power of 2. In multiblock mode, this is a comma-separated list
27ba82664cSAlexander Shishkin		of numbers of pages for each window to be allocated. Number of
28ba82664cSAlexander Shishkin		windows is not limited.
29ba82664cSAlexander Shishkin		Writing to this file deallocates existing buffer (provided
30ba82664cSAlexander Shishkin		there are no active users and tracing is not enabled) and then
31ba82664cSAlexander Shishkin		allocates a new one.
32ba82664cSAlexander Shishkin
336cac7866SAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/win_switch
346cac7866SAlexander ShishkinDate:		May 2019
356cac7866SAlexander ShishkinKernelVersion:	5.2
366cac7866SAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
376cac7866SAlexander ShishkinDescription:	(RW) Trigger window switch for the MSC's buffer, in
386cac7866SAlexander Shishkin		multi-window mode. In "multi" mode, accepts writes of "1", thereby
396cac7866SAlexander Shishkin		triggering a window switch for the buffer. Returns an error in any
406cac7866SAlexander Shishkin		other operating mode or attempts to write something other than "1".
41ba82664cSAlexander Shishkin
42