1 What: /sys/class/habanalabs/hl<n>/armcp_kernel_ver
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
9 What: /sys/class/habanalabs/hl<n>/armcp_ver
12 Contact: oded.gabbay@gmail.com
13 Description: Version of the application running on the device's CPU
14 Will be DEPRECATED in Linux kernel version 5.10, and be
15 replaced with cpucp_ver
17 What: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz
19 KernelVersion: not yet upstreamed
20 Contact: oded.gabbay@gmail.com
21 Description: Allows the user to set the maximum clock frequency, in MHz.
22 The device clock might be set to lower value than the maximum.
23 The user should read the clk_cur_freq_mhz to see the actual
24 frequency value of the device clock. This property is valid
25 only for the Gaudi ASIC family
27 What: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz
29 KernelVersion: not yet upstreamed
30 Contact: oded.gabbay@gmail.com
31 Description: Displays the current frequency, in MHz, of the device clock.
32 This property is valid only for the Gaudi ASIC family
34 What: /sys/class/habanalabs/hl<n>/cpld_ver
37 Contact: oded.gabbay@gmail.com
38 Description: Version of the Device's CPLD F/W
40 What: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver
43 Contact: oded.gabbay@gmail.com
44 Description: Version of the Linux kernel running on the device's CPU
46 What: /sys/class/habanalabs/hl<n>/cpucp_ver
49 Contact: oded.gabbay@gmail.com
50 Description: Version of the application running on the device's CPU
52 What: /sys/class/habanalabs/hl<n>/device_type
55 Contact: oded.gabbay@gmail.com
56 Description: Displays the code name of the device according to its type.
57 The supported values are: "GOYA"
59 What: /sys/class/habanalabs/hl<n>/eeprom
62 Contact: oded.gabbay@gmail.com
63 Description: A binary file attribute that contains the contents of the
66 What: /sys/class/habanalabs/hl<n>/fuse_ver
69 Contact: oded.gabbay@gmail.com
70 Description: Displays the device's version from the eFuse
72 What: /sys/class/habanalabs/hl<n>/hard_reset
75 Contact: oded.gabbay@gmail.com
76 Description: Interface to trigger a hard-reset operation for the device.
77 Hard-reset will reset ALL internal components of the device
78 except for the PCI interface and the internal PLLs
80 What: /sys/class/habanalabs/hl<n>/hard_reset_cnt
83 Contact: oded.gabbay@gmail.com
84 Description: Displays how many times the device have undergone a hard-reset
85 operation since the driver was loaded
87 What: /sys/class/habanalabs/hl<n>/high_pll
90 Contact: oded.gabbay@gmail.com
91 Description: Allows the user to set the maximum clock frequency for MME, TPC
92 and IC when the power management profile is set to "automatic".
93 This property is valid only for the Goya ASIC family
95 What: /sys/class/habanalabs/hl<n>/ic_clk
98 Contact: oded.gabbay@gmail.com
99 Description: Allows the user to set the maximum clock frequency, in Hz, of
100 the Interconnect fabric. Writes to this parameter affect the
101 device only when the power management profile is set to "manual"
102 mode. The device IC clock might be set to lower value than the
103 maximum. The user should read the ic_clk_curr to see the actual
104 frequency value of the IC. This property is valid only for the
107 What: /sys/class/habanalabs/hl<n>/ic_clk_curr
110 Contact: oded.gabbay@gmail.com
111 Description: Displays the current clock frequency, in Hz, of the Interconnect
112 fabric. This property is valid only for the Goya ASIC family
114 What: /sys/class/habanalabs/hl<n>/infineon_ver
117 Contact: oded.gabbay@gmail.com
118 Description: Version of the Device's power supply F/W code
120 What: /sys/class/habanalabs/hl<n>/max_power
123 Contact: oded.gabbay@gmail.com
124 Description: Allows the user to set the maximum power consumption of the
125 device in milliwatts.
127 What: /sys/class/habanalabs/hl<n>/mme_clk
130 Contact: oded.gabbay@gmail.com
131 Description: Allows the user to set the maximum clock frequency, in Hz, of
132 the MME compute engine. Writes to this parameter affect the
133 device only when the power management profile is set to "manual"
134 mode. The device MME clock might be set to lower value than the
135 maximum. The user should read the mme_clk_curr to see the actual
136 frequency value of the MME. This property is valid only for the
139 What: /sys/class/habanalabs/hl<n>/mme_clk_curr
142 Contact: oded.gabbay@gmail.com
143 Description: Displays the current clock frequency, in Hz, of the MME compute
144 engine. This property is valid only for the Goya ASIC family
146 What: /sys/class/habanalabs/hl<n>/pci_addr
149 Contact: oded.gabbay@gmail.com
150 Description: Displays the PCI address of the device. This is needed so the
151 user would be able to open a device based on its PCI address
153 What: /sys/class/habanalabs/hl<n>/pm_mng_profile
156 Contact: oded.gabbay@gmail.com
157 Description: Power management profile. Values are "auto", "manual". In "auto"
158 mode, the driver will set the maximum clock frequency to a high
159 value when a user-space process opens the device's file (unless
160 it was already opened by another process). The driver will set
161 the max clock frequency to a low value when there are no user
162 processes that are opened on the device's file. In "manual"
163 mode, the user sets the maximum clock frequency by writing to
164 ic_clk, mme_clk and tpc_clk. This property is valid only for
167 What: /sys/class/habanalabs/hl<n>/preboot_btl_ver
170 Contact: oded.gabbay@gmail.com
171 Description: Version of the device's preboot F/W code
173 What: /sys/class/habanalabs/hl<n>/soft_reset
176 Contact: oded.gabbay@gmail.com
177 Description: Interface to trigger a soft-reset operation for the device.
178 Soft-reset will reset only the compute and DMA engines of the
181 What: /sys/class/habanalabs/hl<n>/soft_reset_cnt
184 Contact: oded.gabbay@gmail.com
185 Description: Displays how many times the device have undergone a soft-reset
186 operation since the driver was loaded
188 What: /sys/class/habanalabs/hl<n>/status
191 Contact: oded.gabbay@gmail.com
192 Description: Status of the card: "Operational", "Malfunction", "In reset".
194 What: /sys/class/habanalabs/hl<n>/thermal_ver
197 Contact: oded.gabbay@gmail.com
198 Description: Version of the Device's thermal daemon
200 What: /sys/class/habanalabs/hl<n>/tpc_clk
203 Contact: oded.gabbay@gmail.com
204 Description: Allows the user to set the maximum clock frequency, in Hz, of
205 the TPC compute engines. Writes to this parameter affect the
206 device only when the power management profile is set to "manual"
207 mode. The device TPC clock might be set to lower value than the
208 maximum. The user should read the tpc_clk_curr to see the actual
209 frequency value of the TPC. This property is valid only for
212 What: /sys/class/habanalabs/hl<n>/tpc_clk_curr
215 Contact: oded.gabbay@gmail.com
216 Description: Displays the current clock frequency, in Hz, of the TPC compute
217 engines. This property is valid only for the Goya ASIC family
219 What: /sys/class/habanalabs/hl<n>/uboot_ver
222 Contact: oded.gabbay@gmail.com
223 Description: Version of the u-boot running on the device's CPU