xref: /linux/Documentation/ABI/testing/sysfs-bus-intel_th-devices-msc (revision 374ed5429346a021c8e2d26fafce14c5b15dedd0)
1What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap
2Date:		June 2015
3KernelVersion:	4.3
4Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
5Description:	(RW) Configure MSC buffer wrapping. 1 == wrapping enabled.
6
7What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
8Date:		June 2015
9KernelVersion:	4.3
10Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
11Description:	(RW) Configure MSC operating mode:
12		  - "single", for contiguous buffer mode (high-order alloc);
13		  - "multi", for multiblock mode;
14		  - "ExI", for DCI handler mode;
15		  - "debug", for debug mode.
16		If operating mode changes, existing buffer is deallocated,
17		provided there are no active users and tracing is not enabled,
18		otherwise the write will fail.
19
20What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
21Date:		June 2015
22KernelVersion:	4.3
23Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
24Description:	(RW) Configure MSC buffer size for "single" or "multi" modes.
25		In single mode, this is a single number of pages, has to be
26		power of 2. In multiblock mode, this is a comma-separated list
27		of numbers of pages for each window to be allocated. Number of
28		windows is not limited.
29		Writing to this file deallocates existing buffer (provided
30		there are no active users and tracing is not enabled) and then
31		allocates a new one.
32
33What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/win_switch
34Date:		May 2019
35KernelVersion:	5.2
36Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
37Description:	(RW) Trigger window switch for the MSC's buffer, in
38		multi-window mode. In "multi" mode, accepts writes of "1", thereby
39		triggering a window switch for the buffer. Returns an error in any
40		other operating mode or attempts to write something other than "1".
41
42