162306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/ports_num 262306a36Sopenharmony_ciDate: June 2018 362306a36Sopenharmony_ciKernelVersion: 4.19 462306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 562306a36Sopenharmony_ciDescription: Read-only. One DFL FPGA device may have more than 1 662306a36Sopenharmony_ci port/Accelerator Function Unit (AFU). It returns the 762306a36Sopenharmony_ci number of ports on the FPGA device when read it. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/bitstream_id 1062306a36Sopenharmony_ciDate: June 2018 1162306a36Sopenharmony_ciKernelVersion: 4.19 1262306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 1362306a36Sopenharmony_ciDescription: Read-only. It returns Bitstream (static FPGA region) 1462306a36Sopenharmony_ci identifier number, which includes the detailed version 1562306a36Sopenharmony_ci and other information of this static FPGA region. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata 1862306a36Sopenharmony_ciDate: June 2018 1962306a36Sopenharmony_ciKernelVersion: 4.19 2062306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 2162306a36Sopenharmony_ciDescription: Read-only. It returns Bitstream (static FPGA region) meta 2262306a36Sopenharmony_ci data, which includes the synthesis date, seed and other 2362306a36Sopenharmony_ci information of this static FPGA region. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/cache_size 2662306a36Sopenharmony_ciDate: August 2019 2762306a36Sopenharmony_ciKernelVersion: 5.4 2862306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 2962306a36Sopenharmony_ciDescription: Read-only. It returns cache size of this FPGA device. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/fabric_version 3262306a36Sopenharmony_ciDate: August 2019 3362306a36Sopenharmony_ciKernelVersion: 5.4 3462306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 3562306a36Sopenharmony_ciDescription: Read-only. It returns fabric version of this FPGA device. 3662306a36Sopenharmony_ci Userspace applications need this information to select 3762306a36Sopenharmony_ci best data channels per different fabric design. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/socket_id 4062306a36Sopenharmony_ciDate: August 2019 4162306a36Sopenharmony_ciKernelVersion: 5.4 4262306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 4362306a36Sopenharmony_ciDescription: Read-only. It returns socket_id to indicate which socket 4462306a36Sopenharmony_ci this FPGA belongs to, only valid for integrated solution. 4562306a36Sopenharmony_ci User only needs this information, in case standard numa node 4662306a36Sopenharmony_ci can't provide correct information. 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors 4962306a36Sopenharmony_ciDate: August 2019 5062306a36Sopenharmony_ciKernelVersion: 5.4 5162306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 5262306a36Sopenharmony_ciDescription: Read-Write. Read this file for errors detected on pcie0 link. 5362306a36Sopenharmony_ci Write this file to clear errors logged in pcie0_errors. Write 5462306a36Sopenharmony_ci fails with -EINVAL if input parsing fails or input error code 5562306a36Sopenharmony_ci doesn't match. 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors 5862306a36Sopenharmony_ciDate: August 2019 5962306a36Sopenharmony_ciKernelVersion: 5.4 6062306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 6162306a36Sopenharmony_ciDescription: Read-Write. Read this file for errors detected on pcie1 link. 6262306a36Sopenharmony_ci Write this file to clear errors logged in pcie1_errors. Write 6362306a36Sopenharmony_ci fails with -EINVAL if input parsing fails or input error code 6462306a36Sopenharmony_ci doesn't match. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/nonfatal_errors 6762306a36Sopenharmony_ciDate: August 2019 6862306a36Sopenharmony_ciKernelVersion: 5.4 6962306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 7062306a36Sopenharmony_ciDescription: Read-only. It returns non-fatal errors detected. 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/catfatal_errors 7362306a36Sopenharmony_ciDate: August 2019 7462306a36Sopenharmony_ciKernelVersion: 5.4 7562306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 7662306a36Sopenharmony_ciDescription: Read-only. It returns catastrophic and fatal errors detected. 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/inject_errors 7962306a36Sopenharmony_ciDate: August 2019 8062306a36Sopenharmony_ciKernelVersion: 5.4 8162306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 8262306a36Sopenharmony_ciDescription: Read-Write. Read this file to check errors injected. Write this 8362306a36Sopenharmony_ci file to inject errors for testing purpose. Write fails with 8462306a36Sopenharmony_ci -EINVAL if input parsing fails or input inject error code isn't 8562306a36Sopenharmony_ci supported. 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/fme_errors 8862306a36Sopenharmony_ciDate: August 2019 8962306a36Sopenharmony_ciKernelVersion: 5.4 9062306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 9162306a36Sopenharmony_ciDescription: Read-Write. Read this file to get errors detected on FME. 9262306a36Sopenharmony_ci Write this file to clear errors logged in fme_errors. Write 9362306a36Sopenharmony_ci fails with -EINVAL if input parsing fails or input error code 9462306a36Sopenharmony_ci doesn't match. 9562306a36Sopenharmony_ci 9662306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/first_error 9762306a36Sopenharmony_ciDate: August 2019 9862306a36Sopenharmony_ciKernelVersion: 5.4 9962306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 10062306a36Sopenharmony_ciDescription: Read-only. Read this file to get the first error detected by 10162306a36Sopenharmony_ci hardware. 10262306a36Sopenharmony_ci 10362306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/errors/next_error 10462306a36Sopenharmony_ciDate: August 2019 10562306a36Sopenharmony_ciKernelVersion: 5.4 10662306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 10762306a36Sopenharmony_ciDescription: Read-only. Read this file to get the second error detected by 10862306a36Sopenharmony_ci hardware. 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/name 11162306a36Sopenharmony_ciDate: October 2019 11262306a36Sopenharmony_ciKernelVersion: 5.5 11362306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 11462306a36Sopenharmony_ciDescription: Read-Only. Read this file to get the name of hwmon device, it 11562306a36Sopenharmony_ci supports values: 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci ================= ========================= 11862306a36Sopenharmony_ci 'dfl_fme_thermal' thermal hwmon device name 11962306a36Sopenharmony_ci 'dfl_fme_power' power hwmon device name 12062306a36Sopenharmony_ci ================= ========================= 12162306a36Sopenharmony_ci 12262306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_input 12362306a36Sopenharmony_ciDate: October 2019 12462306a36Sopenharmony_ciKernelVersion: 5.5 12562306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 12662306a36Sopenharmony_ciDescription: Read-Only. It returns FPGA device temperature in millidegrees 12762306a36Sopenharmony_ci Celsius. 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max 13062306a36Sopenharmony_ciDate: October 2019 13162306a36Sopenharmony_ciKernelVersion: 5.5 13262306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 13362306a36Sopenharmony_ciDescription: Read-Only. It returns hardware threshold1 temperature in 13462306a36Sopenharmony_ci millidegrees Celsius. If temperature rises at or above this 13562306a36Sopenharmony_ci threshold, hardware starts 50% or 90% throttling (see 13662306a36Sopenharmony_ci 'temp1_max_policy'). 13762306a36Sopenharmony_ci 13862306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit 13962306a36Sopenharmony_ciDate: October 2019 14062306a36Sopenharmony_ciKernelVersion: 5.5 14162306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 14262306a36Sopenharmony_ciDescription: Read-Only. It returns hardware threshold2 temperature in 14362306a36Sopenharmony_ci millidegrees Celsius. If temperature rises at or above this 14462306a36Sopenharmony_ci threshold, hardware starts 100% throttling. 14562306a36Sopenharmony_ci 14662306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_emergency 14762306a36Sopenharmony_ciDate: October 2019 14862306a36Sopenharmony_ciKernelVersion: 5.5 14962306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 15062306a36Sopenharmony_ciDescription: Read-Only. It returns hardware trip threshold temperature in 15162306a36Sopenharmony_ci millidegrees Celsius. If temperature rises at or above this 15262306a36Sopenharmony_ci threshold, a fatal event will be triggered to board management 15362306a36Sopenharmony_ci controller (BMC) to shutdown FPGA. 15462306a36Sopenharmony_ci 15562306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_alarm 15662306a36Sopenharmony_ciDate: October 2019 15762306a36Sopenharmony_ciKernelVersion: 5.5 15862306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 15962306a36Sopenharmony_ciDescription: Read-only. It returns 1 if temperature is currently at or above 16062306a36Sopenharmony_ci hardware threshold1 (see 'temp1_max'), otherwise 0. 16162306a36Sopenharmony_ci 16262306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit_alarm 16362306a36Sopenharmony_ciDate: October 2019 16462306a36Sopenharmony_ciKernelVersion: 5.5 16562306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 16662306a36Sopenharmony_ciDescription: Read-only. It returns 1 if temperature is currently at or above 16762306a36Sopenharmony_ci hardware threshold2 (see 'temp1_crit'), otherwise 0. 16862306a36Sopenharmony_ci 16962306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_policy 17062306a36Sopenharmony_ciDate: October 2019 17162306a36Sopenharmony_ciKernelVersion: 5.5 17262306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 17362306a36Sopenharmony_ciDescription: Read-Only. Read this file to get the policy of hardware threshold1 17462306a36Sopenharmony_ci (see 'temp1_max'). It only supports two values (policies): 17562306a36Sopenharmony_ci 17662306a36Sopenharmony_ci == ========================== 17762306a36Sopenharmony_ci 0 AP2 state (90% throttling) 17862306a36Sopenharmony_ci 1 AP1 state (50% throttling) 17962306a36Sopenharmony_ci == ========================== 18062306a36Sopenharmony_ci 18162306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_input 18262306a36Sopenharmony_ciDate: October 2019 18362306a36Sopenharmony_ciKernelVersion: 5.5 18462306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 18562306a36Sopenharmony_ciDescription: Read-Only. It returns current FPGA power consumption in uW. 18662306a36Sopenharmony_ci 18762306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max 18862306a36Sopenharmony_ciDate: October 2019 18962306a36Sopenharmony_ciKernelVersion: 5.5 19062306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 19162306a36Sopenharmony_ciDescription: Read-Write. Read this file to get current hardware power 19262306a36Sopenharmony_ci threshold1 in uW. If power consumption rises at or above 19362306a36Sopenharmony_ci this threshold, hardware starts 50% throttling. 19462306a36Sopenharmony_ci Write this file to set current hardware power threshold1 in uW. 19562306a36Sopenharmony_ci As hardware only accepts values in Watts, so input value will 19662306a36Sopenharmony_ci be round down per Watts (< 1 watts part will be discarded) and 19762306a36Sopenharmony_ci clamped within the range from 0 to 127 Watts. Write fails with 19862306a36Sopenharmony_ci -EINVAL if input parsing fails. 19962306a36Sopenharmony_ci 20062306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit 20162306a36Sopenharmony_ciDate: October 2019 20262306a36Sopenharmony_ciKernelVersion: 5.5 20362306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 20462306a36Sopenharmony_ciDescription: Read-Write. Read this file to get current hardware power 20562306a36Sopenharmony_ci threshold2 in uW. If power consumption rises at or above 20662306a36Sopenharmony_ci this threshold, hardware starts 90% throttling. 20762306a36Sopenharmony_ci Write this file to set current hardware power threshold2 in uW. 20862306a36Sopenharmony_ci As hardware only accepts values in Watts, so input value will 20962306a36Sopenharmony_ci be round down per Watts (< 1 watts part will be discarded) and 21062306a36Sopenharmony_ci clamped within the range from 0 to 127 Watts. Write fails with 21162306a36Sopenharmony_ci -EINVAL if input parsing fails. 21262306a36Sopenharmony_ci 21362306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max_alarm 21462306a36Sopenharmony_ciDate: October 2019 21562306a36Sopenharmony_ciKernelVersion: 5.5 21662306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 21762306a36Sopenharmony_ciDescription: Read-only. It returns 1 if power consumption is currently at or 21862306a36Sopenharmony_ci above hardware threshold1 (see 'power1_max'), otherwise 0. 21962306a36Sopenharmony_ci 22062306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit_alarm 22162306a36Sopenharmony_ciDate: October 2019 22262306a36Sopenharmony_ciKernelVersion: 5.5 22362306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 22462306a36Sopenharmony_ciDescription: Read-only. It returns 1 if power consumption is currently at or 22562306a36Sopenharmony_ci above hardware threshold2 (see 'power1_crit'), otherwise 0. 22662306a36Sopenharmony_ci 22762306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_xeon_limit 22862306a36Sopenharmony_ciDate: October 2019 22962306a36Sopenharmony_ciKernelVersion: 5.5 23062306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 23162306a36Sopenharmony_ciDescription: Read-Only. It returns power limit for XEON in uW. 23262306a36Sopenharmony_ci 23362306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_fpga_limit 23462306a36Sopenharmony_ciDate: October 2019 23562306a36Sopenharmony_ciKernelVersion: 5.5 23662306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 23762306a36Sopenharmony_ciDescription: Read-Only. It returns power limit for FPGA in uW. 23862306a36Sopenharmony_ci 23962306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_ltr 24062306a36Sopenharmony_ciDate: October 2019 24162306a36Sopenharmony_ciKernelVersion: 5.5 24262306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 24362306a36Sopenharmony_ciDescription: Read-only. Read this file to get current Latency Tolerance 24462306a36Sopenharmony_ci Reporting (ltr) value. It returns 1 if all Accelerated 24562306a36Sopenharmony_ci Function Units (AFUs) can tolerate latency >= 40us for memory 24662306a36Sopenharmony_ci access or 0 if any AFU is latency sensitive (< 40us). 247