^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/platform/devices/dfl-fme.0/ports_num
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: June 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: Read-only. One DFL FPGA device may have more than 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) port/Accelerator Function Unit (AFU). It returns the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) number of ports on the FPGA device when read it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: June 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) KernelVersion: 4.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Description: Read-only. It returns Bitstream (static FPGA region)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) identifier number, which includes the detailed version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) and other information of this static FPGA region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Date: June 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) KernelVersion: 4.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description: Read-only. It returns Bitstream (static FPGA region) meta
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) data, which includes the synthesis date, seed and other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) information of this static FPGA region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) What: /sys/bus/platform/devices/dfl-fme.0/cache_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Description: Read-only. It returns cache size of this FPGA device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) What: /sys/bus/platform/devices/dfl-fme.0/fabric_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description: Read-only. It returns fabric version of this FPGA device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Userspace applications need this information to select
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) best data channels per different fabric design.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) What: /sys/bus/platform/devices/dfl-fme.0/socket_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description: Read-only. It returns socket_id to indicate which socket
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) this FPGA belongs to, only valid for integrated solution.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) User only needs this information, in case standard numa node
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) can't provide correct information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Description: Read-Write. Read this file for errors detected on pcie0 link.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Write this file to clear errors logged in pcie0_errors. Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) fails with -EINVAL if input parsing fails or input error code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) doesn't match.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Description: Read-Write. Read this file for errors detected on pcie1 link.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Write this file to clear errors logged in pcie1_errors. Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) fails with -EINVAL if input parsing fails or input error code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) doesn't match.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) What: /sys/bus/platform/devices/dfl-fme.0/errors/nonfatal_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Description: Read-only. It returns non-fatal errors detected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) What: /sys/bus/platform/devices/dfl-fme.0/errors/catfatal_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Description: Read-only. It returns catastrophic and fatal errors detected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) What: /sys/bus/platform/devices/dfl-fme.0/errors/inject_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Description: Read-Write. Read this file to check errors injected. Write this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) file to inject errors for testing purpose. Write fails with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) -EINVAL if input parsing fails or input inject error code isn't
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) What: /sys/bus/platform/devices/dfl-fme.0/errors/fme_errors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) Description: Read-Write. Read this file to get errors detected on FME.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Write this file to clear errors logged in fme_errors. Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) fials with -EINVAL if input parsing fails or input error code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) doesn't match.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) What: /sys/bus/platform/devices/dfl-fme.0/errors/first_error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Description: Read-only. Read this file to get the first error detected by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) What: /sys/bus/platform/devices/dfl-fme.0/errors/next_error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Date: August 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) KernelVersion: 5.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Description: Read-only. Read this file to get the second error detected by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Description: Read-Only. Read this file to get the name of hwmon device, it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) supports values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) ================= =========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 'dfl_fme_thermal' thermal hwmon device name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 'dfl_fme_power' power hwmon device name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) ================= =========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) Description: Read-Only. It returns FPGA device temperature in millidegrees
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) Celsius.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) Description: Read-Only. It returns hardware threshold1 temperature in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) millidegrees Celsius. If temperature rises at or above this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) threshold, hardware starts 50% or 90% throttling (see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 'temp1_max_policy').
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) Description: Read-Only. It returns hardware threshold2 temperature in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) millidegrees Celsius. If temperature rises at or above this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) threshold, hardware starts 100% throttling.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_emergency
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) Description: Read-Only. It returns hardware trip threshold temperature in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) millidegrees Celsius. If temperature rises at or above this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) threshold, a fatal event will be triggered to board management
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) controller (BMC) to shutdown FPGA.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Description: Read-only. It returns 1 if temperature is currently at or above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) hardware threshold1 (see 'temp1_max'), otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit_alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) Description: Read-only. It returns 1 if temperature is currently at or above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) hardware threshold2 (see 'temp1_crit'), otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_policy
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) Description: Read-Only. Read this file to get the policy of hardware threshold1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) (see 'temp1_max'). It only supports two values (policies):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) == ==========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 0 AP2 state (90% throttling)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 1 AP1 state (50% throttling)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) == ==========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) Description: Read-Only. It returns current FPGA power consumption in uW.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) Description: Read-Write. Read this file to get current hardware power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) threshold1 in uW. If power consumption rises at or above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) this threshold, hardware starts 50% throttling.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) Write this file to set current hardware power threshold1 in uW.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) As hardware only accepts values in Watts, so input value will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) be round down per Watts (< 1 watts part will be discarded) and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) clamped within the range from 0 to 127 Watts. Write fails with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) -EINVAL if input parsing fails.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) Description: Read-Write. Read this file to get current hardware power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) threshold2 in uW. If power consumption rises at or above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) this threshold, hardware starts 90% throttling.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) Write this file to set current hardware power threshold2 in uW.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) As hardware only accepts values in Watts, so input value will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) be round down per Watts (< 1 watts part will be discarded) and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) clamped within the range from 0 to 127 Watts. Write fails with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) -EINVAL if input parsing fails.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max_alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) Description: Read-only. It returns 1 if power consumption is currently at or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) above hardware threshold1 (see 'power1_max'), otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit_alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) Description: Read-only. It returns 1 if power consumption is currently at or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) above hardware threshold2 (see 'power1_crit'), otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_xeon_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) Description: Read-Only. It returns power limit for XEON in uW.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_fpga_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) Description: Read-Only. It returns power limit for FPGA in uW.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_ltr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) Date: October 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) KernelVersion: 5.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) Contact: Wu Hao <hao.wu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) Description: Read-only. Read this file to get current Latency Tolerance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) Reporting (ltr) value. It returns 1 if all Accelerated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) Function Units (AFUs) can tolerate latency >= 40us for memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) access or 0 if any AFU is latency sensitive (< 40us).