162306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/armcp_kernel_ver 262306a36Sopenharmony_ciDate: Jan 2019 362306a36Sopenharmony_ciKernelVersion: 5.1 462306a36Sopenharmony_ciContact: ogabbay@kernel.org 562306a36Sopenharmony_ciDescription: Version of the Linux kernel running on the device's CPU. 662306a36Sopenharmony_ci Will be DEPRECATED in Linux kernel version 5.10, and be 762306a36Sopenharmony_ci replaced with cpucp_kernel_ver 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/armcp_ver 1062306a36Sopenharmony_ciDate: Jan 2019 1162306a36Sopenharmony_ciKernelVersion: 5.1 1262306a36Sopenharmony_ciContact: ogabbay@kernel.org 1362306a36Sopenharmony_ciDescription: Version of the application running on the device's CPU 1462306a36Sopenharmony_ci Will be DEPRECATED in Linux kernel version 5.10, and be 1562306a36Sopenharmony_ci replaced with cpucp_ver 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz 1862306a36Sopenharmony_ciDate: Jun 2019 1962306a36Sopenharmony_ciKernelVersion: 5.7 2062306a36Sopenharmony_ciContact: ogabbay@kernel.org 2162306a36Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in MHz. 2262306a36Sopenharmony_ci The device clock might be set to lower value than the maximum. 2362306a36Sopenharmony_ci The user should read the clk_cur_freq_mhz to see the actual 2462306a36Sopenharmony_ci frequency value of the device clock. This property is valid 2562306a36Sopenharmony_ci only for the Gaudi ASIC family 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz 2862306a36Sopenharmony_ciDate: Jun 2019 2962306a36Sopenharmony_ciKernelVersion: 5.7 3062306a36Sopenharmony_ciContact: ogabbay@kernel.org 3162306a36Sopenharmony_ciDescription: Displays the current frequency, in MHz, of the device clock. 3262306a36Sopenharmony_ci This property is valid only for the Gaudi ASIC family 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpld_ver 3562306a36Sopenharmony_ciDate: Jan 2019 3662306a36Sopenharmony_ciKernelVersion: 5.1 3762306a36Sopenharmony_ciContact: ogabbay@kernel.org 3862306a36Sopenharmony_ciDescription: Version of the Device's CPLD F/W 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver 4162306a36Sopenharmony_ciDate: Oct 2020 4262306a36Sopenharmony_ciKernelVersion: 5.10 4362306a36Sopenharmony_ciContact: ogabbay@kernel.org 4462306a36Sopenharmony_ciDescription: Version of the Linux kernel running on the device's CPU 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpucp_ver 4762306a36Sopenharmony_ciDate: Oct 2020 4862306a36Sopenharmony_ciKernelVersion: 5.10 4962306a36Sopenharmony_ciContact: ogabbay@kernel.org 5062306a36Sopenharmony_ciDescription: Version of the application running on the device's CPU 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/device_type 5362306a36Sopenharmony_ciDate: Jan 2019 5462306a36Sopenharmony_ciKernelVersion: 5.1 5562306a36Sopenharmony_ciContact: ogabbay@kernel.org 5662306a36Sopenharmony_ciDescription: Displays the code name of the device according to its type. 5762306a36Sopenharmony_ci The supported values are: "GOYA" 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/eeprom 6062306a36Sopenharmony_ciDate: Jan 2019 6162306a36Sopenharmony_ciKernelVersion: 5.1 6262306a36Sopenharmony_ciContact: ogabbay@kernel.org 6362306a36Sopenharmony_ciDescription: A binary file attribute that contains the contents of the 6462306a36Sopenharmony_ci on-board EEPROM 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/fuse_ver 6762306a36Sopenharmony_ciDate: Jan 2019 6862306a36Sopenharmony_ciKernelVersion: 5.1 6962306a36Sopenharmony_ciContact: ogabbay@kernel.org 7062306a36Sopenharmony_ciDescription: Displays the device's version from the eFuse 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/fw_os_ver 7362306a36Sopenharmony_ciDate: Dec 2021 7462306a36Sopenharmony_ciKernelVersion: 5.18 7562306a36Sopenharmony_ciContact: ogabbay@kernel.org 7662306a36Sopenharmony_ciDescription: Version of the firmware OS running on the device's CPU 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/hard_reset 7962306a36Sopenharmony_ciDate: Jan 2019 8062306a36Sopenharmony_ciKernelVersion: 5.1 8162306a36Sopenharmony_ciContact: ogabbay@kernel.org 8262306a36Sopenharmony_ciDescription: Interface to trigger a hard-reset operation for the device. 8362306a36Sopenharmony_ci Hard-reset will reset ALL internal components of the device 8462306a36Sopenharmony_ci except for the PCI interface and the internal PLLs 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/hard_reset_cnt 8762306a36Sopenharmony_ciDate: Jan 2019 8862306a36Sopenharmony_ciKernelVersion: 5.1 8962306a36Sopenharmony_ciContact: ogabbay@kernel.org 9062306a36Sopenharmony_ciDescription: Displays how many times the device have undergone a hard-reset 9162306a36Sopenharmony_ci operation since the driver was loaded 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/high_pll 9462306a36Sopenharmony_ciDate: Jan 2019 9562306a36Sopenharmony_ciKernelVersion: 5.1 9662306a36Sopenharmony_ciContact: ogabbay@kernel.org 9762306a36Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency for MME, TPC 9862306a36Sopenharmony_ci and IC when the power management profile is set to "automatic". 9962306a36Sopenharmony_ci This property is valid only for the Goya ASIC family 10062306a36Sopenharmony_ci 10162306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/ic_clk 10262306a36Sopenharmony_ciDate: Jan 2019 10362306a36Sopenharmony_ciKernelVersion: 5.1 10462306a36Sopenharmony_ciContact: ogabbay@kernel.org 10562306a36Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 10662306a36Sopenharmony_ci the Interconnect fabric. Writes to this parameter affect the 10762306a36Sopenharmony_ci device only when the power management profile is set to "manual" 10862306a36Sopenharmony_ci mode. The device IC clock might be set to lower value than the 10962306a36Sopenharmony_ci maximum. The user should read the ic_clk_curr to see the actual 11062306a36Sopenharmony_ci frequency value of the IC. This property is valid only for the 11162306a36Sopenharmony_ci Goya ASIC family 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/ic_clk_curr 11462306a36Sopenharmony_ciDate: Jan 2019 11562306a36Sopenharmony_ciKernelVersion: 5.1 11662306a36Sopenharmony_ciContact: ogabbay@kernel.org 11762306a36Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the Interconnect 11862306a36Sopenharmony_ci fabric. This property is valid only for the Goya ASIC family 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/infineon_ver 12162306a36Sopenharmony_ciDate: Jan 2019 12262306a36Sopenharmony_ciKernelVersion: 5.1 12362306a36Sopenharmony_ciContact: ogabbay@kernel.org 12462306a36Sopenharmony_ciDescription: Version of the Device's power supply F/W code. Relevant only to GOYA and GAUDI 12562306a36Sopenharmony_ci 12662306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/max_power 12762306a36Sopenharmony_ciDate: Jan 2019 12862306a36Sopenharmony_ciKernelVersion: 5.1 12962306a36Sopenharmony_ciContact: ogabbay@kernel.org 13062306a36Sopenharmony_ciDescription: Allows the user to set the maximum power consumption of the 13162306a36Sopenharmony_ci device in milliwatts. 13262306a36Sopenharmony_ci 13362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/mme_clk 13462306a36Sopenharmony_ciDate: Jan 2019 13562306a36Sopenharmony_ciKernelVersion: 5.1 13662306a36Sopenharmony_ciContact: ogabbay@kernel.org 13762306a36Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 13862306a36Sopenharmony_ci the MME compute engine. Writes to this parameter affect the 13962306a36Sopenharmony_ci device only when the power management profile is set to "manual" 14062306a36Sopenharmony_ci mode. The device MME clock might be set to lower value than the 14162306a36Sopenharmony_ci maximum. The user should read the mme_clk_curr to see the actual 14262306a36Sopenharmony_ci frequency value of the MME. This property is valid only for the 14362306a36Sopenharmony_ci Goya ASIC family 14462306a36Sopenharmony_ci 14562306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/mme_clk_curr 14662306a36Sopenharmony_ciDate: Jan 2019 14762306a36Sopenharmony_ciKernelVersion: 5.1 14862306a36Sopenharmony_ciContact: ogabbay@kernel.org 14962306a36Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the MME compute 15062306a36Sopenharmony_ci engine. This property is valid only for the Goya ASIC family 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/pci_addr 15362306a36Sopenharmony_ciDate: Jan 2019 15462306a36Sopenharmony_ciKernelVersion: 5.1 15562306a36Sopenharmony_ciContact: ogabbay@kernel.org 15662306a36Sopenharmony_ciDescription: Displays the PCI address of the device. This is needed so the 15762306a36Sopenharmony_ci user would be able to open a device based on its PCI address 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/pm_mng_profile 16062306a36Sopenharmony_ciDate: Jan 2019 16162306a36Sopenharmony_ciKernelVersion: 5.1 16262306a36Sopenharmony_ciContact: ogabbay@kernel.org 16362306a36Sopenharmony_ciDescription: Power management profile. Values are "auto", "manual". In "auto" 16462306a36Sopenharmony_ci mode, the driver will set the maximum clock frequency to a high 16562306a36Sopenharmony_ci value when a user-space process opens the device's file (unless 16662306a36Sopenharmony_ci it was already opened by another process). The driver will set 16762306a36Sopenharmony_ci the max clock frequency to a low value when there are no user 16862306a36Sopenharmony_ci processes that are opened on the device's file. In "manual" 16962306a36Sopenharmony_ci mode, the user sets the maximum clock frequency by writing to 17062306a36Sopenharmony_ci ic_clk, mme_clk and tpc_clk. This property is valid only for 17162306a36Sopenharmony_ci the Goya ASIC family 17262306a36Sopenharmony_ci 17362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/preboot_btl_ver 17462306a36Sopenharmony_ciDate: Jan 2019 17562306a36Sopenharmony_ciKernelVersion: 5.1 17662306a36Sopenharmony_ciContact: ogabbay@kernel.org 17762306a36Sopenharmony_ciDescription: Version of the device's preboot F/W code 17862306a36Sopenharmony_ci 17962306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/security_enabled 18062306a36Sopenharmony_ciDate: Oct 2022 18162306a36Sopenharmony_ciKernelVersion: 6.1 18262306a36Sopenharmony_ciContact: obitton@habana.ai 18362306a36Sopenharmony_ciDescription: Displays the device's security status 18462306a36Sopenharmony_ci 18562306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/soft_reset 18662306a36Sopenharmony_ciDate: Jan 2019 18762306a36Sopenharmony_ciKernelVersion: 5.1 18862306a36Sopenharmony_ciContact: ogabbay@kernel.org 18962306a36Sopenharmony_ciDescription: Interface to trigger a soft-reset operation for the device. 19062306a36Sopenharmony_ci Soft-reset will reset only the compute and DMA engines of the 19162306a36Sopenharmony_ci device 19262306a36Sopenharmony_ci 19362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/soft_reset_cnt 19462306a36Sopenharmony_ciDate: Jan 2019 19562306a36Sopenharmony_ciKernelVersion: 5.1 19662306a36Sopenharmony_ciContact: ogabbay@kernel.org 19762306a36Sopenharmony_ciDescription: Displays how many times the device have undergone a soft-reset 19862306a36Sopenharmony_ci operation since the driver was loaded 19962306a36Sopenharmony_ci 20062306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/status 20162306a36Sopenharmony_ciDate: Jan 2019 20262306a36Sopenharmony_ciKernelVersion: 5.1 20362306a36Sopenharmony_ciContact: ogabbay@kernel.org 20462306a36Sopenharmony_ciDescription: Status of the card: 20562306a36Sopenharmony_ci 20662306a36Sopenharmony_ci * "operational" - Device is available for work. 20762306a36Sopenharmony_ci * "in reset" - Device is going through reset, will be 20862306a36Sopenharmony_ci available shortly. 20962306a36Sopenharmony_ci * "disabled" - Device is not usable. 21062306a36Sopenharmony_ci * "needs reset" - Device is not usable until a hard reset 21162306a36Sopenharmony_ci is initiated. 21262306a36Sopenharmony_ci * "in device creation" - Device is not available yet, as it 21362306a36Sopenharmony_ci is still initializing. 21462306a36Sopenharmony_ci * "in reset after device release" - Device is going through 21562306a36Sopenharmony_ci a compute-reset which is executed after a device release 21662306a36Sopenharmony_ci (relevant for Gaudi2 only). 21762306a36Sopenharmony_ci 21862306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/thermal_ver 21962306a36Sopenharmony_ciDate: Jan 2019 22062306a36Sopenharmony_ciKernelVersion: 5.1 22162306a36Sopenharmony_ciContact: ogabbay@kernel.org 22262306a36Sopenharmony_ciDescription: Version of the Device's thermal daemon 22362306a36Sopenharmony_ci 22462306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/tpc_clk 22562306a36Sopenharmony_ciDate: Jan 2019 22662306a36Sopenharmony_ciKernelVersion: 5.1 22762306a36Sopenharmony_ciContact: ogabbay@kernel.org 22862306a36Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 22962306a36Sopenharmony_ci the TPC compute engines. Writes to this parameter affect the 23062306a36Sopenharmony_ci device only when the power management profile is set to "manual" 23162306a36Sopenharmony_ci mode. The device TPC clock might be set to lower value than the 23262306a36Sopenharmony_ci maximum. The user should read the tpc_clk_curr to see the actual 23362306a36Sopenharmony_ci frequency value of the TPC. This property is valid only for 23462306a36Sopenharmony_ci Goya ASIC family 23562306a36Sopenharmony_ci 23662306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/tpc_clk_curr 23762306a36Sopenharmony_ciDate: Jan 2019 23862306a36Sopenharmony_ciKernelVersion: 5.1 23962306a36Sopenharmony_ciContact: ogabbay@kernel.org 24062306a36Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the TPC compute 24162306a36Sopenharmony_ci engines. This property is valid only for the Goya ASIC family 24262306a36Sopenharmony_ci 24362306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/uboot_ver 24462306a36Sopenharmony_ciDate: Jan 2019 24562306a36Sopenharmony_ciKernelVersion: 5.1 24662306a36Sopenharmony_ciContact: ogabbay@kernel.org 24762306a36Sopenharmony_ciDescription: Version of the u-boot running on the device's CPU 24862306a36Sopenharmony_ci 24962306a36Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/vrm_ver 25062306a36Sopenharmony_ciDate: Jan 2022 25162306a36Sopenharmony_ciKernelVersion: 5.17 25262306a36Sopenharmony_ciContact: ogabbay@kernel.org 25362306a36Sopenharmony_ciDescription: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI 254