sysfs-driver-habanalabs 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. What: /sys/class/habanalabs/hl<n>/armcp_kernel_ver
  2. Date: Jan 2019
  3. KernelVersion: 5.1
  4. Contact: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: not yet upstreamed
  18. Contact: oded.gabbay@gmail.com
  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: not yet upstreamed
  27. Contact: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  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: oded.gabbay@gmail.com
  61. Description: Displays the device's version from the eFuse
  62. What: /sys/class/habanalabs/hl<n>/hard_reset
  63. Date: Jan 2019
  64. KernelVersion: 5.1
  65. Contact: oded.gabbay@gmail.com
  66. Description: Interface to trigger a hard-reset operation for the device.
  67. Hard-reset will reset ALL internal components of the device
  68. except for the PCI interface and the internal PLLs
  69. What: /sys/class/habanalabs/hl<n>/hard_reset_cnt
  70. Date: Jan 2019
  71. KernelVersion: 5.1
  72. Contact: oded.gabbay@gmail.com
  73. Description: Displays how many times the device have undergone a hard-reset
  74. operation since the driver was loaded
  75. What: /sys/class/habanalabs/hl<n>/high_pll
  76. Date: Jan 2019
  77. KernelVersion: 5.1
  78. Contact: oded.gabbay@gmail.com
  79. Description: Allows the user to set the maximum clock frequency for MME, TPC
  80. and IC when the power management profile is set to "automatic".
  81. This property is valid only for the Goya ASIC family
  82. What: /sys/class/habanalabs/hl<n>/ic_clk
  83. Date: Jan 2019
  84. KernelVersion: 5.1
  85. Contact: oded.gabbay@gmail.com
  86. Description: Allows the user to set the maximum clock frequency, in Hz, of
  87. the Interconnect fabric. Writes to this parameter affect the
  88. device only when the power management profile is set to "manual"
  89. mode. The device IC clock might be set to lower value than the
  90. maximum. The user should read the ic_clk_curr to see the actual
  91. frequency value of the IC. This property is valid only for the
  92. Goya ASIC family
  93. What: /sys/class/habanalabs/hl<n>/ic_clk_curr
  94. Date: Jan 2019
  95. KernelVersion: 5.1
  96. Contact: oded.gabbay@gmail.com
  97. Description: Displays the current clock frequency, in Hz, of the Interconnect
  98. fabric. This property is valid only for the Goya ASIC family
  99. What: /sys/class/habanalabs/hl<n>/infineon_ver
  100. Date: Jan 2019
  101. KernelVersion: 5.1
  102. Contact: oded.gabbay@gmail.com
  103. Description: Version of the Device's power supply F/W code
  104. What: /sys/class/habanalabs/hl<n>/max_power
  105. Date: Jan 2019
  106. KernelVersion: 5.1
  107. Contact: oded.gabbay@gmail.com
  108. Description: Allows the user to set the maximum power consumption of the
  109. device in milliwatts.
  110. What: /sys/class/habanalabs/hl<n>/mme_clk
  111. Date: Jan 2019
  112. KernelVersion: 5.1
  113. Contact: oded.gabbay@gmail.com
  114. Description: Allows the user to set the maximum clock frequency, in Hz, of
  115. the MME compute engine. Writes to this parameter affect the
  116. device only when the power management profile is set to "manual"
  117. mode. The device MME clock might be set to lower value than the
  118. maximum. The user should read the mme_clk_curr to see the actual
  119. frequency value of the MME. This property is valid only for the
  120. Goya ASIC family
  121. What: /sys/class/habanalabs/hl<n>/mme_clk_curr
  122. Date: Jan 2019
  123. KernelVersion: 5.1
  124. Contact: oded.gabbay@gmail.com
  125. Description: Displays the current clock frequency, in Hz, of the MME compute
  126. engine. This property is valid only for the Goya ASIC family
  127. What: /sys/class/habanalabs/hl<n>/pci_addr
  128. Date: Jan 2019
  129. KernelVersion: 5.1
  130. Contact: oded.gabbay@gmail.com
  131. Description: Displays the PCI address of the device. This is needed so the
  132. user would be able to open a device based on its PCI address
  133. What: /sys/class/habanalabs/hl<n>/pm_mng_profile
  134. Date: Jan 2019
  135. KernelVersion: 5.1
  136. Contact: oded.gabbay@gmail.com
  137. Description: Power management profile. Values are "auto", "manual". In "auto"
  138. mode, the driver will set the maximum clock frequency to a high
  139. value when a user-space process opens the device's file (unless
  140. it was already opened by another process). The driver will set
  141. the max clock frequency to a low value when there are no user
  142. processes that are opened on the device's file. In "manual"
  143. mode, the user sets the maximum clock frequency by writing to
  144. ic_clk, mme_clk and tpc_clk. This property is valid only for
  145. the Goya ASIC family
  146. What: /sys/class/habanalabs/hl<n>/preboot_btl_ver
  147. Date: Jan 2019
  148. KernelVersion: 5.1
  149. Contact: oded.gabbay@gmail.com
  150. Description: Version of the device's preboot F/W code
  151. What: /sys/class/habanalabs/hl<n>/soft_reset
  152. Date: Jan 2019
  153. KernelVersion: 5.1
  154. Contact: oded.gabbay@gmail.com
  155. Description: Interface to trigger a soft-reset operation for the device.
  156. Soft-reset will reset only the compute and DMA engines of the
  157. device
  158. What: /sys/class/habanalabs/hl<n>/soft_reset_cnt
  159. Date: Jan 2019
  160. KernelVersion: 5.1
  161. Contact: oded.gabbay@gmail.com
  162. Description: Displays how many times the device have undergone a soft-reset
  163. operation since the driver was loaded
  164. What: /sys/class/habanalabs/hl<n>/status
  165. Date: Jan 2019
  166. KernelVersion: 5.1
  167. Contact: oded.gabbay@gmail.com
  168. Description: Status of the card: "Operational", "Malfunction", "In reset".
  169. What: /sys/class/habanalabs/hl<n>/thermal_ver
  170. Date: Jan 2019
  171. KernelVersion: 5.1
  172. Contact: oded.gabbay@gmail.com
  173. Description: Version of the Device's thermal daemon
  174. What: /sys/class/habanalabs/hl<n>/tpc_clk
  175. Date: Jan 2019
  176. KernelVersion: 5.1
  177. Contact: oded.gabbay@gmail.com
  178. Description: Allows the user to set the maximum clock frequency, in Hz, of
  179. the TPC compute engines. Writes to this parameter affect the
  180. device only when the power management profile is set to "manual"
  181. mode. The device TPC clock might be set to lower value than the
  182. maximum. The user should read the tpc_clk_curr to see the actual
  183. frequency value of the TPC. This property is valid only for
  184. Goya ASIC family
  185. What: /sys/class/habanalabs/hl<n>/tpc_clk_curr
  186. Date: Jan 2019
  187. KernelVersion: 5.1
  188. Contact: oded.gabbay@gmail.com
  189. Description: Displays the current clock frequency, in Hz, of the TPC compute
  190. engines. This property is valid only for the Goya ASIC family
  191. What: /sys/class/habanalabs/hl<n>/uboot_ver
  192. Date: Jan 2019
  193. KernelVersion: 5.1
  194. Contact: oded.gabbay@gmail.com
  195. Description: Version of the u-boot running on the device's CPU