sysfs-class-mic.txt 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. What: /sys/class/mic/
  2. Date: October 2013
  3. KernelVersion: 3.13
  4. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  5. Description:
  6. The mic class directory belongs to Intel MIC devices and
  7. provides information per MIC device. An Intel MIC device is a
  8. PCIe form factor add-in Coprocessor card based on the Intel Many
  9. Integrated Core (MIC) architecture that runs a Linux OS.
  10. What: /sys/class/mic/mic(x)
  11. Date: October 2013
  12. KernelVersion: 3.13
  13. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  14. Description:
  15. The directories /sys/class/mic/mic0, /sys/class/mic/mic1 etc.,
  16. represent MIC devices (0,1,..etc). Each directory has
  17. information specific to that MIC device.
  18. What: /sys/class/mic/mic(x)/family
  19. Date: October 2013
  20. KernelVersion: 3.13
  21. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  22. Description:
  23. Provides information about the Coprocessor family for an Intel
  24. MIC device. For example - "x100"
  25. What: /sys/class/mic/mic(x)/stepping
  26. Date: October 2013
  27. KernelVersion: 3.13
  28. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  29. Description:
  30. Provides information about the silicon stepping for an Intel
  31. MIC device. For example - "A0" or "B0"
  32. What: /sys/class/mic/mic(x)/state
  33. Date: October 2013
  34. KernelVersion: 3.13
  35. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  36. Description:
  37. When read, this entry provides the current state of an Intel
  38. MIC device in the context of the card OS. Possible values that
  39. will be read are:
  40. "offline" - The MIC device is ready to boot the card OS. On
  41. reading this entry after an OSPM resume, a "boot" has to be
  42. written to this entry if the card was previously shutdown
  43. during OSPM suspend.
  44. "online" - The MIC device has initiated booting a card OS.
  45. "shutting_down" - The card OS is shutting down.
  46. "reset_failed" - The MIC device has failed to reset.
  47. "suspending" - The MIC device is currently being prepared for
  48. suspend. On reading this entry, a "suspend" has to be written
  49. to the state sysfs entry to ensure the card is shutdown during
  50. OSPM suspend.
  51. "suspended" - The MIC device has been suspended.
  52. When written, this sysfs entry triggers different state change
  53. operations depending upon the current state of the card OS.
  54. Acceptable values are:
  55. "boot" - Boot the card OS image specified by the combination
  56. of firmware, ramdisk, cmdline and bootmode
  57. sysfs entries.
  58. "reset" - Initiates device reset.
  59. "shutdown" - Initiates card OS shutdown.
  60. "suspend" - Initiates card OS shutdown and also marks the card
  61. as suspended.
  62. What: /sys/class/mic/mic(x)/shutdown_status
  63. Date: October 2013
  64. KernelVersion: 3.13
  65. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  66. Description:
  67. An Intel MIC device runs a Linux OS during its operation. This
  68. OS can shutdown because of various reasons. When read, this
  69. entry provides the status on why the card OS was shutdown.
  70. Possible values are:
  71. "nop" - shutdown status is not applicable, when the card OS is
  72. "online"
  73. "crashed" - Shutdown because of a HW or SW crash.
  74. "halted" - Shutdown because of a halt command.
  75. "poweroff" - Shutdown because of a poweroff command.
  76. "restart" - Shutdown because of a restart command.
  77. What: /sys/class/mic/mic(x)/cmdline
  78. Date: October 2013
  79. KernelVersion: 3.13
  80. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  81. Description:
  82. An Intel MIC device runs a Linux OS during its operation. Before
  83. booting this card OS, it is possible to pass kernel command line
  84. options to configure various features in it, similar to
  85. self-bootable machines. When read, this entry provides
  86. information about the current kernel command line options set to
  87. boot the card OS. This entry can be written to change the
  88. existing kernel command line options. Typically, the user would
  89. want to read the current command line options, append new ones
  90. or modify existing ones and then write the whole kernel command
  91. line back to this entry.
  92. What: /sys/class/mic/mic(x)/firmware
  93. Date: October 2013
  94. KernelVersion: 3.13
  95. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  96. Description:
  97. When read, this sysfs entry provides the path name under
  98. /lib/firmware/ where the firmware image to be booted on the
  99. card can be found. The entry can be written to change the
  100. firmware image location under /lib/firmware/.
  101. What: /sys/class/mic/mic(x)/ramdisk
  102. Date: October 2013
  103. KernelVersion: 3.13
  104. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  105. Description:
  106. When read, this sysfs entry provides the path name under
  107. /lib/firmware/ where the ramdisk image to be used during card
  108. OS boot can be found. The entry can be written to change
  109. the ramdisk image location under /lib/firmware/.
  110. What: /sys/class/mic/mic(x)/bootmode
  111. Date: October 2013
  112. KernelVersion: 3.13
  113. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  114. Description:
  115. When read, this sysfs entry provides the current bootmode for
  116. the card. This sysfs entry can be written with the following
  117. valid strings:
  118. a) linux - Boot a Linux image.
  119. b) elf - Boot an elf image for flash updates.
  120. What: /sys/class/mic/mic(x)/log_buf_addr
  121. Date: October 2013
  122. KernelVersion: 3.13
  123. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  124. Description:
  125. An Intel MIC device runs a Linux OS during its operation. For
  126. debugging purpose and early kernel boot messages, the user can
  127. access the card OS log buffer via debugfs. When read, this entry
  128. provides the kernel virtual address of the buffer where the card
  129. OS log buffer can be read. This entry is written by the host
  130. configuration daemon to set the log buffer address. The correct
  131. log buffer address to be written can be found in the System.map
  132. file of the card OS.
  133. What: /sys/class/mic/mic(x)/log_buf_len
  134. Date: October 2013
  135. KernelVersion: 3.13
  136. Contact: Sudeep Dutt <sudeep.dutt@intel.com>
  137. Description:
  138. An Intel MIC device runs a Linux OS during its operation. For
  139. debugging purpose and early kernel boot messages, the user can
  140. access the card OS log buffer via debugfs. When read, this entry
  141. provides the kernel virtual address where the card OS log buffer
  142. length can be read. This entry is written by host configuration
  143. daemon to set the log buffer length address. The correct log
  144. buffer length address to be written can be found in the
  145. System.map file of the card OS.