113312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 913312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 1713312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 2713312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 3413312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 4013312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 4613312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 5213312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 5913312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 6613312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 7213312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 7813312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 8613312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 9313312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 10113312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 11313312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 12013312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 12613312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 13313312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 14513312360STomer TayarWhat: /sys/class/accel/accel<n>/device/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 15247a55286SDani LibermanWhat: /sys/class/accel/accel<n>/device/module_id 15347a55286SDani LibermanDate: Nov 2023 15447a55286SDani LibermanKernelVersion: not yet upstreamed 15547a55286SDani LibermanContact: ogabbay@kernel.org 15647a55286SDani LibermanDescription: Displays the device's module id 15747a55286SDani Liberman 158*aa5cea38STomer TayarWhat: /sys/class/accel/accel<n>/device/parent_device 159*aa5cea38STomer TayarDate: Nov 2023 160*aa5cea38STomer TayarKernelVersion: 6.8 161*aa5cea38STomer TayarContact: ttayar@habana.ai 162*aa5cea38STomer TayarDescription: Displays the name of the parent device of the accel device 163*aa5cea38STomer Tayar 16413312360STomer TayarWhat: /sys/class/accel/accel<n>/device/pci_addr 165d91389bcSOded GabbayDate: Jan 2019 166d91389bcSOded GabbayKernelVersion: 5.1 1672f8db5a1SOded GabbayContact: ogabbay@kernel.org 168d91389bcSOded GabbayDescription: Displays the PCI address of the device. This is needed so the 169d91389bcSOded Gabbay user would be able to open a device based on its PCI address 170d91389bcSOded Gabbay 17113312360STomer TayarWhat: /sys/class/accel/accel<n>/device/pm_mng_profile 172d91389bcSOded GabbayDate: Jan 2019 173d91389bcSOded GabbayKernelVersion: 5.1 1742f8db5a1SOded GabbayContact: ogabbay@kernel.org 175d91389bcSOded GabbayDescription: Power management profile. Values are "auto", "manual". In "auto" 176d91389bcSOded Gabbay mode, the driver will set the maximum clock frequency to a high 177d91389bcSOded Gabbay value when a user-space process opens the device's file (unless 178d91389bcSOded Gabbay it was already opened by another process). The driver will set 179d91389bcSOded Gabbay the max clock frequency to a low value when there are no user 180d91389bcSOded Gabbay processes that are opened on the device's file. In "manual" 181d91389bcSOded Gabbay mode, the user sets the maximum clock frequency by writing to 182209257feSOded Gabbay ic_clk, mme_clk and tpc_clk. This property is valid only for 183209257feSOded Gabbay the Goya ASIC family 184d91389bcSOded Gabbay 18513312360STomer TayarWhat: /sys/class/accel/accel<n>/device/preboot_btl_ver 186d91389bcSOded GabbayDate: Jan 2019 187d91389bcSOded GabbayKernelVersion: 5.1 1882f8db5a1SOded GabbayContact: ogabbay@kernel.org 189d91389bcSOded GabbayDescription: Version of the device's preboot F/W code 190d91389bcSOded Gabbay 19113312360STomer TayarWhat: /sys/class/accel/accel<n>/device/security_enabled 1926457271fSOfir BittonDate: Oct 2022 1936457271fSOfir BittonKernelVersion: 6.1 1946457271fSOfir BittonContact: obitton@habana.ai 1956457271fSOfir BittonDescription: Displays the device's security status 1966457271fSOfir Bitton 19713312360STomer TayarWhat: /sys/class/accel/accel<n>/device/soft_reset 198d91389bcSOded GabbayDate: Jan 2019 199d91389bcSOded GabbayKernelVersion: 5.1 2002f8db5a1SOded GabbayContact: ogabbay@kernel.org 201d91389bcSOded GabbayDescription: Interface to trigger a soft-reset operation for the device. 202d91389bcSOded Gabbay Soft-reset will reset only the compute and DMA engines of the 203d91389bcSOded Gabbay device 204d91389bcSOded Gabbay 20513312360STomer TayarWhat: /sys/class/accel/accel<n>/device/soft_reset_cnt 206d91389bcSOded GabbayDate: Jan 2019 207d91389bcSOded GabbayKernelVersion: 5.1 2082f8db5a1SOded GabbayContact: ogabbay@kernel.org 209d91389bcSOded GabbayDescription: Displays how many times the device have undergone a soft-reset 210d91389bcSOded Gabbay operation since the driver was loaded 211d91389bcSOded Gabbay 21213312360STomer TayarWhat: /sys/class/accel/accel<n>/device/status 213d91389bcSOded GabbayDate: Jan 2019 214d91389bcSOded GabbayKernelVersion: 5.1 2152f8db5a1SOded GabbayContact: ogabbay@kernel.org 216b86b73ecSOfir BittonDescription: Status of the card: 2174dc7c580SBagas Sanjaya 2184dc7c580SBagas Sanjaya * "operational" - Device is available for work. 2194dc7c580SBagas Sanjaya * "in reset" - Device is going through reset, will be 2204dc7c580SBagas Sanjaya available shortly. 2214dc7c580SBagas Sanjaya * "disabled" - Device is not usable. 2224dc7c580SBagas Sanjaya * "needs reset" - Device is not usable until a hard reset 2234dc7c580SBagas Sanjaya is initiated. 2244dc7c580SBagas Sanjaya * "in device creation" - Device is not available yet, as it 2254dc7c580SBagas Sanjaya is still initializing. 2264dc7c580SBagas Sanjaya * "in reset after device release" - Device is going through 227b86b73ecSOfir Bitton a compute-reset which is executed after a device release 228b86b73ecSOfir Bitton (relevant for Gaudi2 only). 229d91389bcSOded Gabbay 23013312360STomer TayarWhat: /sys/class/accel/accel<n>/device/thermal_ver 231d91389bcSOded GabbayDate: Jan 2019 232d91389bcSOded GabbayKernelVersion: 5.1 2332f8db5a1SOded GabbayContact: ogabbay@kernel.org 234d91389bcSOded GabbayDescription: Version of the Device's thermal daemon 235d91389bcSOded Gabbay 23613312360STomer TayarWhat: /sys/class/accel/accel<n>/device/tpc_clk 237d91389bcSOded GabbayDate: Jan 2019 238d91389bcSOded GabbayKernelVersion: 5.1 2392f8db5a1SOded GabbayContact: ogabbay@kernel.org 24097a1aa00SOded GabbayDescription: Allows the user to set the maximum clock frequency, in Hz, of 24197a1aa00SOded Gabbay the TPC compute engines. Writes to this parameter affect the 24297a1aa00SOded Gabbay device only when the power management profile is set to "manual" 24397a1aa00SOded Gabbay mode. The device TPC clock might be set to lower value than the 244d91389bcSOded Gabbay maximum. The user should read the tpc_clk_curr to see the actual 24597a1aa00SOded Gabbay frequency value of the TPC. This property is valid only for 24697a1aa00SOded Gabbay Goya ASIC family 247d91389bcSOded Gabbay 24813312360STomer TayarWhat: /sys/class/accel/accel<n>/device/tpc_clk_curr 249d91389bcSOded GabbayDate: Jan 2019 250d91389bcSOded GabbayKernelVersion: 5.1 2512f8db5a1SOded GabbayContact: ogabbay@kernel.org 25297a1aa00SOded GabbayDescription: Displays the current clock frequency, in Hz, of the TPC compute 25397a1aa00SOded Gabbay engines. This property is valid only for the Goya ASIC family 254d91389bcSOded Gabbay 25513312360STomer TayarWhat: /sys/class/accel/accel<n>/device/uboot_ver 256d91389bcSOded GabbayDate: Jan 2019 257d91389bcSOded GabbayKernelVersion: 5.1 2582f8db5a1SOded GabbayContact: ogabbay@kernel.org 259d91389bcSOded GabbayDescription: Version of the u-boot running on the device's CPU 260b62ff1a4SOded Gabbay 26113312360STomer TayarWhat: /sys/class/accel/accel<n>/device/vrm_ver 262b62ff1a4SOded GabbayDate: Jan 2022 26378da23cbSOded GabbayKernelVersion: 5.17 264b62ff1a4SOded GabbayContact: ogabbay@kernel.org 265b62ff1a4SOded GabbayDescription: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI 266