1 What: /sys/class/accel/accel<n>/device/armcp_kernel_ver
4 Contact: ogabbay@kernel.org
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/accel/accel<n>/device/armcp_ver
12 Contact: ogabbay@kernel.org
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/accel/accel<n>/device/clk_max_freq_mhz
20 Contact: ogabbay@kernel.org
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/accel/accel<n>/device/clk_cur_freq_mhz
30 Contact: ogabbay@kernel.org
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/accel/accel<n>/device/cpld_ver
37 Contact: ogabbay@kernel.org
38 Description: Version of the Device's CPLD F/W
40 What: /sys/class/accel/accel<n>/device/cpucp_kernel_ver
43 Contact: ogabbay@kernel.org
44 Description: Version of the Linux kernel running on the device's CPU
46 What: /sys/class/accel/accel<n>/device/cpucp_ver
49 Contact: ogabbay@kernel.org
50 Description: Version of the application running on the device's CPU
52 What: /sys/class/accel/accel<n>/device/device_type
55 Contact: ogabbay@kernel.org
56 Description: Displays the code name of the device according to its type.
57 The supported values are: "GOYA"
59 What: /sys/class/accel/accel<n>/device/eeprom
62 Contact: ogabbay@kernel.org
63 Description: A binary file attribute that contains the contents of the
66 What: /sys/class/accel/accel<n>/device/fuse_ver
69 Contact: ogabbay@kernel.org
70 Description: Displays the device's version from the eFuse
72 What: /sys/class/accel/accel<n>/device/fw_os_ver
75 Contact: ogabbay@kernel.org
76 Description: Version of the firmware OS running on the device's CPU
78 What: /sys/class/accel/accel<n>/device/hard_reset
81 Contact: ogabbay@kernel.org
82 Description: Interface to trigger a hard-reset operation for the device.
83 Hard-reset will reset ALL internal components of the device
84 except for the PCI interface and the internal PLLs
86 What: /sys/class/accel/accel<n>/device/hard_reset_cnt
89 Contact: ogabbay@kernel.org
90 Description: Displays how many times the device have undergone a hard-reset
91 operation since the driver was loaded
93 What: /sys/class/accel/accel<n>/device/high_pll
96 Contact: ogabbay@kernel.org
97 Description: Allows the user to set the maximum clock frequency for MME, TPC
98 and IC when the power management profile is set to "automatic".
99 This property is valid only for the Goya ASIC family
101 What: /sys/class/accel/accel<n>/device/ic_clk
104 Contact: ogabbay@kernel.org
105 Description: Allows the user to set the maximum clock frequency, in Hz, of
106 the Interconnect fabric. Writes to this parameter affect the
107 device only when the power management profile is set to "manual"
108 mode. The device IC clock might be set to lower value than the
109 maximum. The user should read the ic_clk_curr to see the actual
110 frequency value of the IC. This property is valid only for the
113 What: /sys/class/accel/accel<n>/device/ic_clk_curr
116 Contact: ogabbay@kernel.org
117 Description: Displays the current clock frequency, in Hz, of the Interconnect
118 fabric. This property is valid only for the Goya ASIC family
120 What: /sys/class/accel/accel<n>/device/infineon_ver
123 Contact: ogabbay@kernel.org
124 Description: Version of the Device's power supply F/W code. Relevant only to GOYA and GAUDI
126 What: /sys/class/accel/accel<n>/device/max_power
129 Contact: ogabbay@kernel.org
130 Description: Allows the user to set the maximum power consumption of the
131 device in milliwatts.
133 What: /sys/class/accel/accel<n>/device/mme_clk
136 Contact: ogabbay@kernel.org
137 Description: Allows the user to set the maximum clock frequency, in Hz, of
138 the MME compute engine. Writes to this parameter affect the
139 device only when the power management profile is set to "manual"
140 mode. The device MME clock might be set to lower value than the
141 maximum. The user should read the mme_clk_curr to see the actual
142 frequency value of the MME. This property is valid only for the
145 What: /sys/class/accel/accel<n>/device/mme_clk_curr
148 Contact: ogabbay@kernel.org
149 Description: Displays the current clock frequency, in Hz, of the MME compute
150 engine. This property is valid only for the Goya ASIC family
152 What: /sys/class/accel/accel<n>/device/module_id
154 KernelVersion: not yet upstreamed
155 Contact: ogabbay@kernel.org
156 Description: Displays the device's module id
158 What: /sys/class/accel/accel<n>/device/parent_device
161 Contact: ttayar@habana.ai
162 Description: Displays the name of the parent device of the accel device
164 What: /sys/class/accel/accel<n>/device/pci_addr
167 Contact: ogabbay@kernel.org
168 Description: Displays the PCI address of the device. This is needed so the
169 user would be able to open a device based on its PCI address
171 What: /sys/class/accel/accel<n>/device/pm_mng_profile
174 Contact: ogabbay@kernel.org
175 Description: Power management profile. Values are "auto", "manual". In "auto"
176 mode, the driver will set the maximum clock frequency to a high
177 value when a user-space process opens the device's file (unless
178 it was already opened by another process). The driver will set
179 the max clock frequency to a low value when there are no user
180 processes that are opened on the device's file. In "manual"
181 mode, the user sets the maximum clock frequency by writing to
182 ic_clk, mme_clk and tpc_clk. This property is valid only for
185 What: /sys/class/accel/accel<n>/device/preboot_btl_ver
188 Contact: ogabbay@kernel.org
189 Description: Version of the device's preboot F/W code
191 What: /sys/class/accel/accel<n>/device/security_enabled
194 Contact: obitton@habana.ai
195 Description: Displays the device's security status
197 What: /sys/class/accel/accel<n>/device/soft_reset
200 Contact: ogabbay@kernel.org
201 Description: Interface to trigger a soft-reset operation for the device.
202 Soft-reset will reset only the compute and DMA engines of the
205 What: /sys/class/accel/accel<n>/device/soft_reset_cnt
208 Contact: ogabbay@kernel.org
209 Description: Displays how many times the device have undergone a soft-reset
210 operation since the driver was loaded
212 What: /sys/class/accel/accel<n>/device/status
215 Contact: ogabbay@kernel.org
216 Description: Status of the card:
218 * "operational" - Device is available for work.
219 * "in reset" - Device is going through reset, will be
221 * "disabled" - Device is not usable.
222 * "needs reset" - Device is not usable until a hard reset
224 * "in device creation" - Device is not available yet, as it
225 is still initializing.
226 * "in reset after device release" - Device is going through
227 a compute-reset which is executed after a device release
228 (relevant for Gaudi2 only).
230 What: /sys/class/accel/accel<n>/device/thermal_ver
233 Contact: ogabbay@kernel.org
234 Description: Version of the Device's thermal daemon
236 What: /sys/class/accel/accel<n>/device/tpc_clk
239 Contact: ogabbay@kernel.org
240 Description: Allows the user to set the maximum clock frequency, in Hz, of
241 the TPC compute engines. Writes to this parameter affect the
242 device only when the power management profile is set to "manual"
243 mode. The device TPC clock might be set to lower value than the
244 maximum. The user should read the tpc_clk_curr to see the actual
245 frequency value of the TPC. This property is valid only for
248 What: /sys/class/accel/accel<n>/device/tpc_clk_curr
251 Contact: ogabbay@kernel.org
252 Description: Displays the current clock frequency, in Hz, of the TPC compute
253 engines. This property is valid only for the Goya ASIC family
255 What: /sys/class/accel/accel<n>/device/uboot_ver
258 Contact: ogabbay@kernel.org
259 Description: Version of the u-boot running on the device's CPU
261 What: /sys/class/accel/accel<n>/device/vrm_ver
264 Contact: ogabbay@kernel.org
265 Description: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI