sysfs-driver-habanalabs 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. What: /sys/class/habanalabs/hl<n>/armcp_kernel_ver
  2. Date: Jan 2019
  3. KernelVersion: 5.1
  4. Contact: [email protected]
  5. Description: Version of the Linux kernel running on the device's CPU.
  6. Will be DEPRECATED in Linux kernel version 5.10, and be
  7. replaced with cpucp_kernel_ver
  8. What: /sys/class/habanalabs/hl<n>/armcp_ver
  9. Date: Jan 2019
  10. KernelVersion: 5.1
  11. Contact: [email protected]
  12. Description: Version of the application running on the device's CPU
  13. Will be DEPRECATED in Linux kernel version 5.10, and be
  14. replaced with cpucp_ver
  15. What: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz
  16. Date: Jun 2019
  17. KernelVersion: 5.7
  18. Contact: [email protected]
  19. Description: Allows the user to set the maximum clock frequency, in MHz.
  20. The device clock might be set to lower value than the maximum.
  21. The user should read the clk_cur_freq_mhz to see the actual
  22. frequency value of the device clock. This property is valid
  23. only for the Gaudi ASIC family
  24. What: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz
  25. Date: Jun 2019
  26. KernelVersion: 5.7
  27. Contact: [email protected]
  28. Description: Displays the current frequency, in MHz, of the device clock.
  29. This property is valid only for the Gaudi ASIC family
  30. What: /sys/class/habanalabs/hl<n>/cpld_ver
  31. Date: Jan 2019
  32. KernelVersion: 5.1
  33. Contact: [email protected]
  34. Description: Version of the Device's CPLD F/W
  35. What: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver
  36. Date: Oct 2020
  37. KernelVersion: 5.10
  38. Contact: [email protected]
  39. Description: Version of the Linux kernel running on the device's CPU
  40. What: /sys/class/habanalabs/hl<n>/cpucp_ver
  41. Date: Oct 2020
  42. KernelVersion: 5.10
  43. Contact: [email protected]
  44. Description: Version of the application running on the device's CPU
  45. What: /sys/class/habanalabs/hl<n>/device_type
  46. Date: Jan 2019
  47. KernelVersion: 5.1
  48. Contact: [email protected]
  49. Description: Displays the code name of the device according to its type.
  50. The supported values are: "GOYA"
  51. What: /sys/class/habanalabs/hl<n>/eeprom
  52. Date: Jan 2019
  53. KernelVersion: 5.1
  54. Contact: [email protected]
  55. Description: A binary file attribute that contains the contents of the
  56. on-board EEPROM
  57. What: /sys/class/habanalabs/hl<n>/fuse_ver
  58. Date: Jan 2019
  59. KernelVersion: 5.1
  60. Contact: [email protected]
  61. Description: Displays the device's version from the eFuse
  62. What: /sys/class/habanalabs/hl<n>/fw_os_ver
  63. Date: Dec 2021
  64. KernelVersion: 5.18
  65. Contact: [email protected]
  66. Description: Version of the firmware OS running on the device's CPU
  67. What: /sys/class/habanalabs/hl<n>/hard_reset
  68. Date: Jan 2019
  69. KernelVersion: 5.1
  70. Contact: [email protected]
  71. Description: Interface to trigger a hard-reset operation for the device.
  72. Hard-reset will reset ALL internal components of the device
  73. except for the PCI interface and the internal PLLs
  74. What: /sys/class/habanalabs/hl<n>/hard_reset_cnt
  75. Date: Jan 2019
  76. KernelVersion: 5.1
  77. Contact: [email protected]
  78. Description: Displays how many times the device have undergone a hard-reset
  79. operation since the driver was loaded
  80. What: /sys/class/habanalabs/hl<n>/high_pll
  81. Date: Jan 2019
  82. KernelVersion: 5.1
  83. Contact: [email protected]
  84. Description: Allows the user to set the maximum clock frequency for MME, TPC
  85. and IC when the power management profile is set to "automatic".
  86. This property is valid only for the Goya ASIC family
  87. What: /sys/class/habanalabs/hl<n>/ic_clk
  88. Date: Jan 2019
  89. KernelVersion: 5.1
  90. Contact: [email protected]
  91. Description: Allows the user to set the maximum clock frequency, in Hz, of
  92. the Interconnect fabric. Writes to this parameter affect the
  93. device only when the power management profile is set to "manual"
  94. mode. The device IC clock might be set to lower value than the
  95. maximum. The user should read the ic_clk_curr to see the actual
  96. frequency value of the IC. This property is valid only for the
  97. Goya ASIC family
  98. What: /sys/class/habanalabs/hl<n>/ic_clk_curr
  99. Date: Jan 2019
  100. KernelVersion: 5.1
  101. Contact: [email protected]
  102. Description: Displays the current clock frequency, in Hz, of the Interconnect
  103. fabric. This property is valid only for the Goya ASIC family
  104. What: /sys/class/habanalabs/hl<n>/infineon_ver
  105. Date: Jan 2019
  106. KernelVersion: 5.1
  107. Contact: [email protected]
  108. Description: Version of the Device's power supply F/W code. Relevant only to GOYA and GAUDI
  109. What: /sys/class/habanalabs/hl<n>/max_power
  110. Date: Jan 2019
  111. KernelVersion: 5.1
  112. Contact: [email protected]
  113. Description: Allows the user to set the maximum power consumption of the
  114. device in milliwatts.
  115. What: /sys/class/habanalabs/hl<n>/mme_clk
  116. Date: Jan 2019
  117. KernelVersion: 5.1
  118. Contact: [email protected]
  119. Description: Allows the user to set the maximum clock frequency, in Hz, of
  120. the MME compute engine. Writes to this parameter affect the
  121. device only when the power management profile is set to "manual"
  122. mode. The device MME clock might be set to lower value than the
  123. maximum. The user should read the mme_clk_curr to see the actual
  124. frequency value of the MME. This property is valid only for the
  125. Goya ASIC family
  126. What: /sys/class/habanalabs/hl<n>/mme_clk_curr
  127. Date: Jan 2019
  128. KernelVersion: 5.1
  129. Contact: [email protected]
  130. Description: Displays the current clock frequency, in Hz, of the MME compute
  131. engine. This property is valid only for the Goya ASIC family
  132. What: /sys/class/habanalabs/hl<n>/pci_addr
  133. Date: Jan 2019
  134. KernelVersion: 5.1
  135. Contact: [email protected]
  136. Description: Displays the PCI address of the device. This is needed so the
  137. user would be able to open a device based on its PCI address
  138. What: /sys/class/habanalabs/hl<n>/pm_mng_profile
  139. Date: Jan 2019
  140. KernelVersion: 5.1
  141. Contact: [email protected]
  142. Description: Power management profile. Values are "auto", "manual". In "auto"
  143. mode, the driver will set the maximum clock frequency to a high
  144. value when a user-space process opens the device's file (unless
  145. it was already opened by another process). The driver will set
  146. the max clock frequency to a low value when there are no user
  147. processes that are opened on the device's file. In "manual"
  148. mode, the user sets the maximum clock frequency by writing to
  149. ic_clk, mme_clk and tpc_clk. This property is valid only for
  150. the Goya ASIC family
  151. What: /sys/class/habanalabs/hl<n>/preboot_btl_ver
  152. Date: Jan 2019
  153. KernelVersion: 5.1
  154. Contact: [email protected]
  155. Description: Version of the device's preboot F/W code
  156. What: /sys/class/habanalabs/hl<n>/security_enabled
  157. Date: Oct 2022
  158. KernelVersion: 6.1
  159. Contact: [email protected]
  160. Description: Displays the device's security status
  161. What: /sys/class/habanalabs/hl<n>/soft_reset
  162. Date: Jan 2019
  163. KernelVersion: 5.1
  164. Contact: [email protected]
  165. Description: Interface to trigger a soft-reset operation for the device.
  166. Soft-reset will reset only the compute and DMA engines of the
  167. device
  168. What: /sys/class/habanalabs/hl<n>/soft_reset_cnt
  169. Date: Jan 2019
  170. KernelVersion: 5.1
  171. Contact: [email protected]
  172. Description: Displays how many times the device have undergone a soft-reset
  173. operation since the driver was loaded
  174. What: /sys/class/habanalabs/hl<n>/status
  175. Date: Jan 2019
  176. KernelVersion: 5.1
  177. Contact: [email protected]
  178. Description: Status of the card: "Operational", "Malfunction", "In reset".
  179. What: /sys/class/habanalabs/hl<n>/thermal_ver
  180. Date: Jan 2019
  181. KernelVersion: 5.1
  182. Contact: [email protected]
  183. Description: Version of the Device's thermal daemon
  184. What: /sys/class/habanalabs/hl<n>/tpc_clk
  185. Date: Jan 2019
  186. KernelVersion: 5.1
  187. Contact: [email protected]
  188. Description: Allows the user to set the maximum clock frequency, in Hz, of
  189. the TPC compute engines. Writes to this parameter affect the
  190. device only when the power management profile is set to "manual"
  191. mode. The device TPC clock might be set to lower value than the
  192. maximum. The user should read the tpc_clk_curr to see the actual
  193. frequency value of the TPC. This property is valid only for
  194. Goya ASIC family
  195. What: /sys/class/habanalabs/hl<n>/tpc_clk_curr
  196. Date: Jan 2019
  197. KernelVersion: 5.1
  198. Contact: [email protected]
  199. Description: Displays the current clock frequency, in Hz, of the TPC compute
  200. engines. This property is valid only for the Goya ASIC family
  201. What: /sys/class/habanalabs/hl<n>/uboot_ver
  202. Date: Jan 2019
  203. KernelVersion: 5.1
  204. Contact: [email protected]
  205. Description: Version of the u-boot running on the device's CPU
  206. What: /sys/class/habanalabs/hl<n>/vrm_ver
  207. Date: Jan 2022
  208. KernelVersion: 5.17
  209. Contact: [email protected]
  210. Description: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI