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
438622dfefSAlexander ShishkinWhat:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/stop_on_full
448622dfefSAlexander ShishkinDate:		March 2020
458622dfefSAlexander ShishkinKernelVersion:	5.7
468622dfefSAlexander ShishkinContact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
478622dfefSAlexander ShishkinDescription:	(RW) Configure whether trace stops when the last available window
488622dfefSAlexander Shishkin		becomes full (1/y/Y) or wraps around and continues until the next
498622dfefSAlexander Shishkin		window becomes available again (0/n/N).
508622dfefSAlexander Shishkin
51