summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-intel_th-devices-msc
blob: b940c5d91cf7a37e32cbf92690cf830712c671de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap
Date:		June 2015
KernelVersion:	4.3
Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
Description:	(RW) Configure MSC buffer wrapping. 1 == wrapping enabled.

What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
Date:		June 2015
KernelVersion:	4.3
Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
Description:	(RW) Configure MSC operating mode:
		  - "single", for contiguous buffer mode (high-order alloc);
		  - "multi", for multiblock mode;
		  - "ExI", for DCI handler mode;
		  - "debug", for debug mode.
		If operating mode changes, existing buffer is deallocated,
		provided there are no active users and tracing is not enabled,
		otherwise the write will fail.

What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
Date:		June 2015
KernelVersion:	4.3
Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com>
Description:	(RW) Configure MSC buffer size for "single" or "multi" modes.
		In single mode, this is a single number of pages, has to be
		power of 2. In multiblock mode, this is a comma-separated list
		of numbers of pages for each window to be allocated. Number of
		windows is not limited.
		Writing to this file deallocates existing buffer (provided
		there are no active users and tracing is not enabled) and then
		allocates a new one.