1d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/armcp_kernel_ver 2d91389bcSOded GabbayDate: Jan 2019 3d91389bcSOded GabbayKernelVersion: 5.1 42f8db5a1SOded GabbayContact: ogabbay@kernel.org 52f55342cSOded GabbayDescription: Version of the Linux kernel running on the device's CPU. 62f55342cSOded Gabbay Will be DEPRECATED in Linux kernel version 5.10, and be 72f55342cSOded Gabbay replaced with cpucp_kernel_ver 8d91389bcSOded Gabbay 9d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/armcp_ver 10d91389bcSOded GabbayDate: Jan 2019 11d91389bcSOded GabbayKernelVersion: 5.1 122f8db5a1SOded GabbayContact: ogabbay@kernel.org 13d91389bcSOded GabbayDescription: Version of the application running on the device's CPU 142f55342cSOded Gabbay Will be DEPRECATED in Linux kernel version 5.10, and be 152f55342cSOded Gabbay replaced with cpucp_ver 16d91389bcSOded Gabbay 17bcaf4152SOded GabbayWhat: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz 18bcaf4152SOded GabbayDate: Jun 2019 1978da23cbSOded GabbayKernelVersion: 5.7 202f8db5a1SOded GabbayContact: ogabbay@kernel.org 21bcaf4152SOded GabbayDescription: Allows the user to set the maximum clock frequency, in MHz. 22bcaf4152SOded Gabbay The device clock might be set to lower value than the maximum. 23bcaf4152SOded Gabbay The user should read the clk_cur_freq_mhz to see the actual 24bcaf4152SOded Gabbay frequency value of the device clock. This property is valid 25bcaf4152SOded Gabbay only for the Gaudi ASIC family 26bcaf4152SOded Gabbay 27bcaf4152SOded GabbayWhat: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz 28bcaf4152SOded GabbayDate: Jun 2019 2978da23cbSOded GabbayKernelVersion: 5.7 302f8db5a1SOded GabbayContact: ogabbay@kernel.org 31bcaf4152SOded GabbayDescription: Displays the current frequency, in MHz, of the device clock. 32bcaf4152SOded Gabbay This property is valid only for the Gaudi ASIC family 33bcaf4152SOded Gabbay 34d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/cpld_ver 35d91389bcSOded GabbayDate: Jan 2019 36d91389bcSOded GabbayKernelVersion: 5.1 372f8db5a1SOded GabbayContact: ogabbay@kernel.org 38d91389bcSOded GabbayDescription: Version of the Device's CPLD F/W 39d91389bcSOded Gabbay 402f55342cSOded GabbayWhat: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver 412f55342cSOded GabbayDate: Oct 2020 422f55342cSOded GabbayKernelVersion: 5.10 432f8db5a1SOded GabbayContact: ogabbay@kernel.org 442f55342cSOded GabbayDescription: Version of the Linux kernel running on the device's CPU 452f55342cSOded Gabbay 462f55342cSOded GabbayWhat: /sys/class/habanalabs/hl<n>/cpucp_ver 472f55342cSOded GabbayDate: Oct 2020 482f55342cSOded GabbayKernelVersion: 5.10 492f8db5a1SOded GabbayContact: ogabbay@kernel.org 502f55342cSOded GabbayDescription: Version of the application running on the device's CPU 512f55342cSOded Gabbay 52d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/device_type 53d91389bcSOded GabbayDate: Jan 2019 54d91389bcSOded GabbayKernelVersion: 5.1 552f8db5a1SOded GabbayContact: ogabbay@kernel.org 56d91389bcSOded GabbayDescription: Displays the code name of the device according to its type. 57d91389bcSOded Gabbay The supported values are: "GOYA" 58d91389bcSOded Gabbay 59d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/eeprom 60d91389bcSOded GabbayDate: Jan 2019 61d91389bcSOded GabbayKernelVersion: 5.1 622f8db5a1SOded GabbayContact: ogabbay@kernel.org 63d91389bcSOded GabbayDescription: A binary file attribute that contains the contents of the 64d91389bcSOded Gabbay on-board EEPROM 65d91389bcSOded Gabbay 66d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/fuse_ver 67d91389bcSOded GabbayDate: Jan 2019 68d91389bcSOded GabbayKernelVersion: 5.1 692f8db5a1SOded GabbayContact: ogabbay@kernel.org 70d91389bcSOded GabbayDescription: Displays the device's version from the eFuse 71d91389bcSOded Gabbay 724c01e524SRajaravi Krishna KattaWhat: /sys/class/habanalabs/hl<n>/fw_os_ver 734c01e524SRajaravi Krishna KattaDate: Dec 2021 744c01e524SRajaravi Krishna KattaKernelVersion: 5.18 754c01e524SRajaravi Krishna KattaContact: ogabbay@kernel.org 764c01e524SRajaravi Krishna KattaDescription: Version of the firmware OS running on the device's CPU 774c01e524SRajaravi Krishna Katta 78d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/hard_reset 79d91389bcSOded GabbayDate: Jan 2019 80d91389bcSOded GabbayKernelVersion: 5.1 812f8db5a1SOded GabbayContact: ogabbay@kernel.org 82d91389bcSOded GabbayDescription: Interface to trigger a hard-reset operation for the device. 83d91389bcSOded Gabbay Hard-reset will reset ALL internal components of the device 84d91389bcSOded Gabbay except for the PCI interface and the internal PLLs 85d91389bcSOded Gabbay 86d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/hard_reset_cnt 87d91389bcSOded GabbayDate: Jan 2019 88d91389bcSOded GabbayKernelVersion: 5.1 892f8db5a1SOded GabbayContact: ogabbay@kernel.org 90d91389bcSOded GabbayDescription: Displays how many times the device have undergone a hard-reset 91d91389bcSOded Gabbay operation since the driver was loaded 92d91389bcSOded Gabbay 93d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/high_pll 94d91389bcSOded GabbayDate: Jan 2019 95d91389bcSOded GabbayKernelVersion: 5.1 962f8db5a1SOded GabbayContact: ogabbay@kernel.org 97d91389bcSOded GabbayDescription: Allows the user to set the maximum clock frequency for MME, TPC 98d91389bcSOded Gabbay and IC when the power management profile is set to "automatic". 99209257feSOded Gabbay This property is valid only for the Goya ASIC family 100d91389bcSOded Gabbay 101d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/ic_clk 102d91389bcSOded GabbayDate: Jan 2019 103d91389bcSOded GabbayKernelVersion: 5.1 1042f8db5a1SOded GabbayContact: ogabbay@kernel.org 10597a1aa00SOded GabbayDescription: Allows the user to set the maximum clock frequency, in Hz, of 10697a1aa00SOded Gabbay the Interconnect fabric. Writes to this parameter affect the 10797a1aa00SOded Gabbay device only when the power management profile is set to "manual" 10897a1aa00SOded Gabbay mode. The device IC clock might be set to lower value than the 109d91389bcSOded Gabbay maximum. The user should read the ic_clk_curr to see the actual 11097a1aa00SOded Gabbay frequency value of the IC. This property is valid only for the 11197a1aa00SOded Gabbay Goya ASIC family 112d91389bcSOded Gabbay 113d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/ic_clk_curr 114d91389bcSOded GabbayDate: Jan 2019 115d91389bcSOded GabbayKernelVersion: 5.1 1162f8db5a1SOded GabbayContact: ogabbay@kernel.org 11797a1aa00SOded GabbayDescription: Displays the current clock frequency, in Hz, of the Interconnect 11897a1aa00SOded Gabbay fabric. This property is valid only for the Goya ASIC family 119d91389bcSOded Gabbay 120d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/infineon_ver 121d91389bcSOded GabbayDate: Jan 2019 122d91389bcSOded GabbayKernelVersion: 5.1 1232f8db5a1SOded GabbayContact: ogabbay@kernel.org 124b62ff1a4SOded GabbayDescription: Version of the Device's power supply F/W code. Relevant only to GOYA and GAUDI 125d91389bcSOded Gabbay 126d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/max_power 127d91389bcSOded GabbayDate: Jan 2019 128d91389bcSOded GabbayKernelVersion: 5.1 1292f8db5a1SOded GabbayContact: ogabbay@kernel.org 130d91389bcSOded GabbayDescription: Allows the user to set the maximum power consumption of the 131d91389bcSOded Gabbay device in milliwatts. 132d91389bcSOded Gabbay 133d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/mme_clk 134d91389bcSOded GabbayDate: Jan 2019 135d91389bcSOded GabbayKernelVersion: 5.1 1362f8db5a1SOded GabbayContact: ogabbay@kernel.org 13797a1aa00SOded GabbayDescription: Allows the user to set the maximum clock frequency, in Hz, of 13897a1aa00SOded Gabbay the MME compute engine. Writes to this parameter affect the 13997a1aa00SOded Gabbay device only when the power management profile is set to "manual" 14097a1aa00SOded Gabbay mode. The device MME clock might be set to lower value than the 141d91389bcSOded Gabbay maximum. The user should read the mme_clk_curr to see the actual 14297a1aa00SOded Gabbay frequency value of the MME. This property is valid only for the 14397a1aa00SOded Gabbay Goya ASIC family 144d91389bcSOded Gabbay 145d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/mme_clk_curr 146d91389bcSOded GabbayDate: Jan 2019 147d91389bcSOded GabbayKernelVersion: 5.1 1482f8db5a1SOded GabbayContact: ogabbay@kernel.org 14997a1aa00SOded GabbayDescription: Displays the current clock frequency, in Hz, of the MME compute 15097a1aa00SOded Gabbay engine. This property is valid only for the Goya ASIC family 151d91389bcSOded Gabbay 152d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/pci_addr 153d91389bcSOded GabbayDate: Jan 2019 154d91389bcSOded GabbayKernelVersion: 5.1 1552f8db5a1SOded GabbayContact: ogabbay@kernel.org 156d91389bcSOded GabbayDescription: Displays the PCI address of the device. This is needed so the 157d91389bcSOded Gabbay user would be able to open a device based on its PCI address 158d91389bcSOded Gabbay 159d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/pm_mng_profile 160d91389bcSOded GabbayDate: Jan 2019 161d91389bcSOded GabbayKernelVersion: 5.1 1622f8db5a1SOded GabbayContact: ogabbay@kernel.org 163d91389bcSOded GabbayDescription: Power management profile. Values are "auto", "manual". In "auto" 164d91389bcSOded Gabbay mode, the driver will set the maximum clock frequency to a high 165d91389bcSOded Gabbay value when a user-space process opens the device's file (unless 166d91389bcSOded Gabbay it was already opened by another process). The driver will set 167d91389bcSOded Gabbay the max clock frequency to a low value when there are no user 168d91389bcSOded Gabbay processes that are opened on the device's file. In "manual" 169d91389bcSOded Gabbay mode, the user sets the maximum clock frequency by writing to 170209257feSOded Gabbay ic_clk, mme_clk and tpc_clk. This property is valid only for 171209257feSOded Gabbay the Goya ASIC family 172d91389bcSOded Gabbay 173d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/preboot_btl_ver 174d91389bcSOded GabbayDate: Jan 2019 175d91389bcSOded GabbayKernelVersion: 5.1 1762f8db5a1SOded GabbayContact: ogabbay@kernel.org 177d91389bcSOded GabbayDescription: Version of the device's preboot F/W code 178d91389bcSOded Gabbay 1796457271fSOfir BittonWhat: /sys/class/habanalabs/hl<n>/security_enabled 1806457271fSOfir BittonDate: Oct 2022 1816457271fSOfir BittonKernelVersion: 6.1 1826457271fSOfir BittonContact: obitton@habana.ai 1836457271fSOfir BittonDescription: Displays the device's security status 1846457271fSOfir Bitton 185d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/soft_reset 186d91389bcSOded GabbayDate: Jan 2019 187d91389bcSOded GabbayKernelVersion: 5.1 1882f8db5a1SOded GabbayContact: ogabbay@kernel.org 189d91389bcSOded GabbayDescription: Interface to trigger a soft-reset operation for the device. 190d91389bcSOded Gabbay Soft-reset will reset only the compute and DMA engines of the 191d91389bcSOded Gabbay device 192d91389bcSOded Gabbay 193d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/soft_reset_cnt 194d91389bcSOded GabbayDate: Jan 2019 195d91389bcSOded GabbayKernelVersion: 5.1 1962f8db5a1SOded GabbayContact: ogabbay@kernel.org 197d91389bcSOded GabbayDescription: Displays how many times the device have undergone a soft-reset 198d91389bcSOded Gabbay operation since the driver was loaded 199d91389bcSOded Gabbay 200d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/status 201d91389bcSOded GabbayDate: Jan 2019 202d91389bcSOded GabbayKernelVersion: 5.1 2032f8db5a1SOded GabbayContact: ogabbay@kernel.org 204b86b73ecSOfir BittonDescription: Status of the card: 205*4dc7c580SBagas Sanjaya 206*4dc7c580SBagas Sanjaya * "operational" - Device is available for work. 207*4dc7c580SBagas Sanjaya * "in reset" - Device is going through reset, will be 208*4dc7c580SBagas Sanjaya available shortly. 209*4dc7c580SBagas Sanjaya * "disabled" - Device is not usable. 210*4dc7c580SBagas Sanjaya * "needs reset" - Device is not usable until a hard reset 211*4dc7c580SBagas Sanjaya is initiated. 212*4dc7c580SBagas Sanjaya * "in device creation" - Device is not available yet, as it 213*4dc7c580SBagas Sanjaya is still initializing. 214*4dc7c580SBagas Sanjaya * "in reset after device release" - Device is going through 215b86b73ecSOfir Bitton a compute-reset which is executed after a device release 216b86b73ecSOfir Bitton (relevant for Gaudi2 only). 217d91389bcSOded Gabbay 218d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/thermal_ver 219d91389bcSOded GabbayDate: Jan 2019 220d91389bcSOded GabbayKernelVersion: 5.1 2212f8db5a1SOded GabbayContact: ogabbay@kernel.org 222d91389bcSOded GabbayDescription: Version of the Device's thermal daemon 223d91389bcSOded Gabbay 224d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/tpc_clk 225d91389bcSOded GabbayDate: Jan 2019 226d91389bcSOded GabbayKernelVersion: 5.1 2272f8db5a1SOded GabbayContact: ogabbay@kernel.org 22897a1aa00SOded GabbayDescription: Allows the user to set the maximum clock frequency, in Hz, of 22997a1aa00SOded Gabbay the TPC compute engines. Writes to this parameter affect the 23097a1aa00SOded Gabbay device only when the power management profile is set to "manual" 23197a1aa00SOded Gabbay mode. The device TPC clock might be set to lower value than the 232d91389bcSOded Gabbay maximum. The user should read the tpc_clk_curr to see the actual 23397a1aa00SOded Gabbay frequency value of the TPC. This property is valid only for 23497a1aa00SOded Gabbay Goya ASIC family 235d91389bcSOded Gabbay 236d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/tpc_clk_curr 237d91389bcSOded GabbayDate: Jan 2019 238d91389bcSOded GabbayKernelVersion: 5.1 2392f8db5a1SOded GabbayContact: ogabbay@kernel.org 24097a1aa00SOded GabbayDescription: Displays the current clock frequency, in Hz, of the TPC compute 24197a1aa00SOded Gabbay engines. This property is valid only for the Goya ASIC family 242d91389bcSOded Gabbay 243d91389bcSOded GabbayWhat: /sys/class/habanalabs/hl<n>/uboot_ver 244d91389bcSOded GabbayDate: Jan 2019 245d91389bcSOded GabbayKernelVersion: 5.1 2462f8db5a1SOded GabbayContact: ogabbay@kernel.org 247d91389bcSOded GabbayDescription: Version of the u-boot running on the device's CPU 248b62ff1a4SOded Gabbay 249b62ff1a4SOded GabbayWhat: /sys/class/habanalabs/hl<n>/vrm_ver 250b62ff1a4SOded GabbayDate: Jan 2022 25178da23cbSOded GabbayKernelVersion: 5.17 252b62ff1a4SOded GabbayContact: ogabbay@kernel.org 253b62ff1a4SOded GabbayDescription: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI 254