18c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/armcp_kernel_ver 28c2ecf20Sopenharmony_ciDate: Jan 2019 38c2ecf20Sopenharmony_ciKernelVersion: 5.1 48c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 58c2ecf20Sopenharmony_ciDescription: Version of the Linux kernel running on the device's CPU. 68c2ecf20Sopenharmony_ci Will be DEPRECATED in Linux kernel version 5.10, and be 78c2ecf20Sopenharmony_ci replaced with cpucp_kernel_ver 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/armcp_ver 108c2ecf20Sopenharmony_ciDate: Jan 2019 118c2ecf20Sopenharmony_ciKernelVersion: 5.1 128c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 138c2ecf20Sopenharmony_ciDescription: Version of the application running on the device's CPU 148c2ecf20Sopenharmony_ci Will be DEPRECATED in Linux kernel version 5.10, and be 158c2ecf20Sopenharmony_ci replaced with cpucp_ver 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz 188c2ecf20Sopenharmony_ciDate: Jun 2019 198c2ecf20Sopenharmony_ciKernelVersion: not yet upstreamed 208c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 218c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in MHz. 228c2ecf20Sopenharmony_ci The device clock might be set to lower value than the maximum. 238c2ecf20Sopenharmony_ci The user should read the clk_cur_freq_mhz to see the actual 248c2ecf20Sopenharmony_ci frequency value of the device clock. This property is valid 258c2ecf20Sopenharmony_ci only for the Gaudi ASIC family 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz 288c2ecf20Sopenharmony_ciDate: Jun 2019 298c2ecf20Sopenharmony_ciKernelVersion: not yet upstreamed 308c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 318c2ecf20Sopenharmony_ciDescription: Displays the current frequency, in MHz, of the device clock. 328c2ecf20Sopenharmony_ci This property is valid only for the Gaudi ASIC family 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpld_ver 358c2ecf20Sopenharmony_ciDate: Jan 2019 368c2ecf20Sopenharmony_ciKernelVersion: 5.1 378c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 388c2ecf20Sopenharmony_ciDescription: Version of the Device's CPLD F/W 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver 418c2ecf20Sopenharmony_ciDate: Oct 2020 428c2ecf20Sopenharmony_ciKernelVersion: 5.10 438c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 448c2ecf20Sopenharmony_ciDescription: Version of the Linux kernel running on the device's CPU 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/cpucp_ver 478c2ecf20Sopenharmony_ciDate: Oct 2020 488c2ecf20Sopenharmony_ciKernelVersion: 5.10 498c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 508c2ecf20Sopenharmony_ciDescription: Version of the application running on the device's CPU 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/device_type 538c2ecf20Sopenharmony_ciDate: Jan 2019 548c2ecf20Sopenharmony_ciKernelVersion: 5.1 558c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 568c2ecf20Sopenharmony_ciDescription: Displays the code name of the device according to its type. 578c2ecf20Sopenharmony_ci The supported values are: "GOYA" 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/eeprom 608c2ecf20Sopenharmony_ciDate: Jan 2019 618c2ecf20Sopenharmony_ciKernelVersion: 5.1 628c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 638c2ecf20Sopenharmony_ciDescription: A binary file attribute that contains the contents of the 648c2ecf20Sopenharmony_ci on-board EEPROM 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/fuse_ver 678c2ecf20Sopenharmony_ciDate: Jan 2019 688c2ecf20Sopenharmony_ciKernelVersion: 5.1 698c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 708c2ecf20Sopenharmony_ciDescription: Displays the device's version from the eFuse 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/hard_reset 738c2ecf20Sopenharmony_ciDate: Jan 2019 748c2ecf20Sopenharmony_ciKernelVersion: 5.1 758c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 768c2ecf20Sopenharmony_ciDescription: Interface to trigger a hard-reset operation for the device. 778c2ecf20Sopenharmony_ci Hard-reset will reset ALL internal components of the device 788c2ecf20Sopenharmony_ci except for the PCI interface and the internal PLLs 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/hard_reset_cnt 818c2ecf20Sopenharmony_ciDate: Jan 2019 828c2ecf20Sopenharmony_ciKernelVersion: 5.1 838c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 848c2ecf20Sopenharmony_ciDescription: Displays how many times the device have undergone a hard-reset 858c2ecf20Sopenharmony_ci operation since the driver was loaded 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/high_pll 888c2ecf20Sopenharmony_ciDate: Jan 2019 898c2ecf20Sopenharmony_ciKernelVersion: 5.1 908c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 918c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency for MME, TPC 928c2ecf20Sopenharmony_ci and IC when the power management profile is set to "automatic". 938c2ecf20Sopenharmony_ci This property is valid only for the Goya ASIC family 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/ic_clk 968c2ecf20Sopenharmony_ciDate: Jan 2019 978c2ecf20Sopenharmony_ciKernelVersion: 5.1 988c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 998c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 1008c2ecf20Sopenharmony_ci the Interconnect fabric. Writes to this parameter affect the 1018c2ecf20Sopenharmony_ci device only when the power management profile is set to "manual" 1028c2ecf20Sopenharmony_ci mode. The device IC clock might be set to lower value than the 1038c2ecf20Sopenharmony_ci maximum. The user should read the ic_clk_curr to see the actual 1048c2ecf20Sopenharmony_ci frequency value of the IC. This property is valid only for the 1058c2ecf20Sopenharmony_ci Goya ASIC family 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/ic_clk_curr 1088c2ecf20Sopenharmony_ciDate: Jan 2019 1098c2ecf20Sopenharmony_ciKernelVersion: 5.1 1108c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1118c2ecf20Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the Interconnect 1128c2ecf20Sopenharmony_ci fabric. This property is valid only for the Goya ASIC family 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/infineon_ver 1158c2ecf20Sopenharmony_ciDate: Jan 2019 1168c2ecf20Sopenharmony_ciKernelVersion: 5.1 1178c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1188c2ecf20Sopenharmony_ciDescription: Version of the Device's power supply F/W code 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/max_power 1218c2ecf20Sopenharmony_ciDate: Jan 2019 1228c2ecf20Sopenharmony_ciKernelVersion: 5.1 1238c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1248c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum power consumption of the 1258c2ecf20Sopenharmony_ci device in milliwatts. 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/mme_clk 1288c2ecf20Sopenharmony_ciDate: Jan 2019 1298c2ecf20Sopenharmony_ciKernelVersion: 5.1 1308c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1318c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 1328c2ecf20Sopenharmony_ci the MME compute engine. Writes to this parameter affect the 1338c2ecf20Sopenharmony_ci device only when the power management profile is set to "manual" 1348c2ecf20Sopenharmony_ci mode. The device MME clock might be set to lower value than the 1358c2ecf20Sopenharmony_ci maximum. The user should read the mme_clk_curr to see the actual 1368c2ecf20Sopenharmony_ci frequency value of the MME. This property is valid only for the 1378c2ecf20Sopenharmony_ci Goya ASIC family 1388c2ecf20Sopenharmony_ci 1398c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/mme_clk_curr 1408c2ecf20Sopenharmony_ciDate: Jan 2019 1418c2ecf20Sopenharmony_ciKernelVersion: 5.1 1428c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1438c2ecf20Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the MME compute 1448c2ecf20Sopenharmony_ci engine. This property is valid only for the Goya ASIC family 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/pci_addr 1478c2ecf20Sopenharmony_ciDate: Jan 2019 1488c2ecf20Sopenharmony_ciKernelVersion: 5.1 1498c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1508c2ecf20Sopenharmony_ciDescription: Displays the PCI address of the device. This is needed so the 1518c2ecf20Sopenharmony_ci user would be able to open a device based on its PCI address 1528c2ecf20Sopenharmony_ci 1538c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/pm_mng_profile 1548c2ecf20Sopenharmony_ciDate: Jan 2019 1558c2ecf20Sopenharmony_ciKernelVersion: 5.1 1568c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1578c2ecf20Sopenharmony_ciDescription: Power management profile. Values are "auto", "manual". In "auto" 1588c2ecf20Sopenharmony_ci mode, the driver will set the maximum clock frequency to a high 1598c2ecf20Sopenharmony_ci value when a user-space process opens the device's file (unless 1608c2ecf20Sopenharmony_ci it was already opened by another process). The driver will set 1618c2ecf20Sopenharmony_ci the max clock frequency to a low value when there are no user 1628c2ecf20Sopenharmony_ci processes that are opened on the device's file. In "manual" 1638c2ecf20Sopenharmony_ci mode, the user sets the maximum clock frequency by writing to 1648c2ecf20Sopenharmony_ci ic_clk, mme_clk and tpc_clk. This property is valid only for 1658c2ecf20Sopenharmony_ci the Goya ASIC family 1668c2ecf20Sopenharmony_ci 1678c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/preboot_btl_ver 1688c2ecf20Sopenharmony_ciDate: Jan 2019 1698c2ecf20Sopenharmony_ciKernelVersion: 5.1 1708c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1718c2ecf20Sopenharmony_ciDescription: Version of the device's preboot F/W code 1728c2ecf20Sopenharmony_ci 1738c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/soft_reset 1748c2ecf20Sopenharmony_ciDate: Jan 2019 1758c2ecf20Sopenharmony_ciKernelVersion: 5.1 1768c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1778c2ecf20Sopenharmony_ciDescription: Interface to trigger a soft-reset operation for the device. 1788c2ecf20Sopenharmony_ci Soft-reset will reset only the compute and DMA engines of the 1798c2ecf20Sopenharmony_ci device 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/soft_reset_cnt 1828c2ecf20Sopenharmony_ciDate: Jan 2019 1838c2ecf20Sopenharmony_ciKernelVersion: 5.1 1848c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1858c2ecf20Sopenharmony_ciDescription: Displays how many times the device have undergone a soft-reset 1868c2ecf20Sopenharmony_ci operation since the driver was loaded 1878c2ecf20Sopenharmony_ci 1888c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/status 1898c2ecf20Sopenharmony_ciDate: Jan 2019 1908c2ecf20Sopenharmony_ciKernelVersion: 5.1 1918c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1928c2ecf20Sopenharmony_ciDescription: Status of the card: "Operational", "Malfunction", "In reset". 1938c2ecf20Sopenharmony_ci 1948c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/thermal_ver 1958c2ecf20Sopenharmony_ciDate: Jan 2019 1968c2ecf20Sopenharmony_ciKernelVersion: 5.1 1978c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 1988c2ecf20Sopenharmony_ciDescription: Version of the Device's thermal daemon 1998c2ecf20Sopenharmony_ci 2008c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/tpc_clk 2018c2ecf20Sopenharmony_ciDate: Jan 2019 2028c2ecf20Sopenharmony_ciKernelVersion: 5.1 2038c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 2048c2ecf20Sopenharmony_ciDescription: Allows the user to set the maximum clock frequency, in Hz, of 2058c2ecf20Sopenharmony_ci the TPC compute engines. Writes to this parameter affect the 2068c2ecf20Sopenharmony_ci device only when the power management profile is set to "manual" 2078c2ecf20Sopenharmony_ci mode. The device TPC clock might be set to lower value than the 2088c2ecf20Sopenharmony_ci maximum. The user should read the tpc_clk_curr to see the actual 2098c2ecf20Sopenharmony_ci frequency value of the TPC. This property is valid only for 2108c2ecf20Sopenharmony_ci Goya ASIC family 2118c2ecf20Sopenharmony_ci 2128c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/tpc_clk_curr 2138c2ecf20Sopenharmony_ciDate: Jan 2019 2148c2ecf20Sopenharmony_ciKernelVersion: 5.1 2158c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 2168c2ecf20Sopenharmony_ciDescription: Displays the current clock frequency, in Hz, of the TPC compute 2178c2ecf20Sopenharmony_ci engines. This property is valid only for the Goya ASIC family 2188c2ecf20Sopenharmony_ci 2198c2ecf20Sopenharmony_ciWhat: /sys/class/habanalabs/hl<n>/uboot_ver 2208c2ecf20Sopenharmony_ciDate: Jan 2019 2218c2ecf20Sopenharmony_ciKernelVersion: 5.1 2228c2ecf20Sopenharmony_ciContact: oded.gabbay@gmail.com 2238c2ecf20Sopenharmony_ciDescription: Version of the u-boot running on the device's CPU