sysfs-bus-intel_th-devices-msc 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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. What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
  7. Date: June 2015
  8. KernelVersion: 4.3
  9. Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com>
  10. Description: (RW) Configure MSC operating mode:
  11. - "single", for contiguous buffer mode (high-order alloc);
  12. - "multi", for multiblock mode;
  13. - "ExI", for DCI handler mode;
  14. - "debug", for debug mode.
  15. If operating mode changes, existing buffer is deallocated,
  16. provided there are no active users and tracing is not enabled,
  17. otherwise the write will fail.
  18. What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
  19. Date: June 2015
  20. KernelVersion: 4.3
  21. Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com>
  22. Description: (RW) Configure MSC buffer size for "single" or "multi" modes.
  23. In single mode, this is a single number of pages, has to be
  24. power of 2. In multiblock mode, this is a comma-separated list
  25. of numbers of pages for each window to be allocated. Number of
  26. windows is not limited.
  27. Writing to this file deallocates existing buffer (provided
  28. there are no active users and tracing is not enabled) and then
  29. allocates a new one.