| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap | 
 | 2 | Date:		June 2015 | 
 | 3 | KernelVersion:	4.3 | 
 | 4 | Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com> | 
 | 5 | Description:	(RW) Configure MSC buffer wrapping. 1 == wrapping enabled. | 
 | 6 |  | 
 | 7 | What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode | 
 | 8 | Date:		June 2015 | 
 | 9 | KernelVersion:	4.3 | 
 | 10 | Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com> | 
 | 11 | Description:	(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 | 		  - any of the currently loaded buffer sinks. | 
 | 17 | 		If operating mode changes, existing buffer is deallocated, | 
 | 18 | 		provided there are no active users and tracing is not enabled, | 
 | 19 | 		otherwise the write will fail. | 
 | 20 |  | 
 | 21 | What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages | 
 | 22 | Date:		June 2015 | 
 | 23 | KernelVersion:	4.3 | 
 | 24 | Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com> | 
 | 25 | Description:	(RW) Configure MSC buffer size for "single" or "multi" modes. | 
 | 26 | 		In single mode, this is a single number of pages, has to be | 
 | 27 | 		power of 2. In multiblock mode, this is a comma-separated list | 
 | 28 | 		of numbers of pages for each window to be allocated. Number of | 
 | 29 | 		windows is not limited. | 
 | 30 | 		Writing to this file deallocates existing buffer (provided | 
 | 31 | 		there are no active users and tracing is not enabled) and then | 
 | 32 | 		allocates a new one. | 
 | 33 |  | 
 | 34 | What:		/sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/win_switch | 
 | 35 | Date:		May 2019 | 
 | 36 | KernelVersion:	5.2 | 
 | 37 | Contact:	Alexander Shishkin <alexander.shishkin@linux.intel.com> | 
 | 38 | Description:	(RW) Trigger window switch for the MSC's buffer, in | 
 | 39 | 		multi-window mode. In "multi" mode, accepts writes of "1", thereby | 
 | 40 | 		triggering a window switch for the buffer. Returns an error in any | 
 | 41 | 		other operating mode or attempts to write something other than "1". | 
 | 42 |  |