1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num
4 Contact: Wu Hao <hao.wu@intel.com>
5 Description: Read-only. One DFL FPGA device may have more than 1
6 port/Accelerator Function Unit (AFU). It returns the
7 number of ports on the FPGA device when read it.
9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id
12 Contact: Wu Hao <hao.wu@intel.com>
13 Description: Read-only. It returns Bitstream (static FPGA region)
14 identifier number, which includes the detailed version
15 and other information of this static FPGA region.
17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata
20 Contact: Wu Hao <hao.wu@intel.com>
21 Description: Read-only. It returns Bitstream (static FPGA region) meta
22 data, which includes the synthesis date, seed and other
23 information of this static FPGA region.
25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size
28 Contact: Wu Hao <hao.wu@intel.com>
29 Description: Read-only. It returns cache size of this FPGA device.
31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version
34 Contact: Wu Hao <hao.wu@intel.com>
35 Description: Read-only. It returns fabric version of this FPGA device.
36 Userspace applications need this information to select
37 best data channels per different fabric design.
39 What: /sys/bus/platform/devices/dfl-fme.0/socket_id
42 Contact: Wu Hao <hao.wu@intel.com>
43 Description: Read-only. It returns socket_id to indicate which socket
44 this FPGA belongs to, only valid for integrated solution.
45 User only needs this information, in case standard numa node
46 can't provide correct information.
48 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors
51 Contact: Wu Hao <hao.wu@intel.com>
52 Description: Read-Write. Read this file for errors detected on pcie0 link.
53 Write this file to clear errors logged in pcie0_errors. Write
54 fails with -EINVAL if input parsing fails or input error code
57 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors
60 Contact: Wu Hao <hao.wu@intel.com>
61 Description: Read-Write. Read this file for errors detected on pcie1 link.
62 Write this file to clear errors logged in pcie1_errors. Write
63 fails with -EINVAL if input parsing fails or input error code
66 What: /sys/bus/platform/devices/dfl-fme.0/errors/nonfatal_errors
69 Contact: Wu Hao <hao.wu@intel.com>
70 Description: Read-only. It returns non-fatal errors detected.
72 What: /sys/bus/platform/devices/dfl-fme.0/errors/catfatal_errors
75 Contact: Wu Hao <hao.wu@intel.com>
76 Description: Read-only. It returns catastrophic and fatal errors detected.
78 What: /sys/bus/platform/devices/dfl-fme.0/errors/inject_errors
81 Contact: Wu Hao <hao.wu@intel.com>
82 Description: Read-Write. Read this file to check errors injected. Write this
83 file to inject errors for testing purpose. Write fails with
84 -EINVAL if input parsing fails or input inject error code isn't
87 What: /sys/bus/platform/devices/dfl-fme.0/errors/fme_errors
90 Contact: Wu Hao <hao.wu@intel.com>
91 Description: Read-Write. Read this file to get errors detected on FME.
92 Write this file to clear errors logged in fme_errors. Write
93 fials with -EINVAL if input parsing fails or input error code
96 What: /sys/bus/platform/devices/dfl-fme.0/errors/first_error
99 Contact: Wu Hao <hao.wu@intel.com>
100 Description: Read-only. Read this file to get the first error detected by
103 What: /sys/bus/platform/devices/dfl-fme.0/errors/next_error
106 Contact: Wu Hao <hao.wu@intel.com>
107 Description: Read-only. Read this file to get the second error detected by
110 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/name
113 Contact: Wu Hao <hao.wu@intel.com>
114 Description: Read-Only. Read this file to get the name of hwmon device, it
117 ================= =========================
118 'dfl_fme_thermal' thermal hwmon device name
119 'dfl_fme_power' power hwmon device name
120 ================= =========================
122 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_input
125 Contact: Wu Hao <hao.wu@intel.com>
126 Description: Read-Only. It returns FPGA device temperature in millidegrees
129 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max
132 Contact: Wu Hao <hao.wu@intel.com>
133 Description: Read-Only. It returns hardware threshold1 temperature in
134 millidegrees Celsius. If temperature rises at or above this
135 threshold, hardware starts 50% or 90% throttling (see
138 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit
141 Contact: Wu Hao <hao.wu@intel.com>
142 Description: Read-Only. It returns hardware threshold2 temperature in
143 millidegrees Celsius. If temperature rises at or above this
144 threshold, hardware starts 100% throttling.
146 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_emergency
149 Contact: Wu Hao <hao.wu@intel.com>
150 Description: Read-Only. It returns hardware trip threshold temperature in
151 millidegrees Celsius. If temperature rises at or above this
152 threshold, a fatal event will be triggered to board management
153 controller (BMC) to shutdown FPGA.
155 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_alarm
158 Contact: Wu Hao <hao.wu@intel.com>
159 Description: Read-only. It returns 1 if temperature is currently at or above
160 hardware threshold1 (see 'temp1_max'), otherwise 0.
162 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit_alarm
165 Contact: Wu Hao <hao.wu@intel.com>
166 Description: Read-only. It returns 1 if temperature is currently at or above
167 hardware threshold2 (see 'temp1_crit'), otherwise 0.
169 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_policy
172 Contact: Wu Hao <hao.wu@intel.com>
173 Description: Read-Only. Read this file to get the policy of hardware threshold1
174 (see 'temp1_max'). It only supports two values (policies):
176 == ==========================
177 0 AP2 state (90% throttling)
178 1 AP1 state (50% throttling)
179 == ==========================
181 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_input
184 Contact: Wu Hao <hao.wu@intel.com>
185 Description: Read-Only. It returns current FPGA power consumption in uW.
187 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max
190 Contact: Wu Hao <hao.wu@intel.com>
191 Description: Read-Write. Read this file to get current hardware power
192 threshold1 in uW. If power consumption rises at or above
193 this threshold, hardware starts 50% throttling.
194 Write this file to set current hardware power threshold1 in uW.
195 As hardware only accepts values in Watts, so input value will
196 be round down per Watts (< 1 watts part will be discarded) and
197 clamped within the range from 0 to 127 Watts. Write fails with
198 -EINVAL if input parsing fails.
200 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit
203 Contact: Wu Hao <hao.wu@intel.com>
204 Description: Read-Write. Read this file to get current hardware power
205 threshold2 in uW. If power consumption rises at or above
206 this threshold, hardware starts 90% throttling.
207 Write this file to set current hardware power threshold2 in uW.
208 As hardware only accepts values in Watts, so input value will
209 be round down per Watts (< 1 watts part will be discarded) and
210 clamped within the range from 0 to 127 Watts. Write fails with
211 -EINVAL if input parsing fails.
213 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max_alarm
216 Contact: Wu Hao <hao.wu@intel.com>
217 Description: Read-only. It returns 1 if power consumption is currently at or
218 above hardware threshold1 (see 'power1_max'), otherwise 0.
220 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit_alarm
223 Contact: Wu Hao <hao.wu@intel.com>
224 Description: Read-only. It returns 1 if power consumption is currently at or
225 above hardware threshold2 (see 'power1_crit'), otherwise 0.
227 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_xeon_limit
230 Contact: Wu Hao <hao.wu@intel.com>
231 Description: Read-Only. It returns power limit for XEON in uW.
233 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_fpga_limit
236 Contact: Wu Hao <hao.wu@intel.com>
237 Description: Read-Only. It returns power limit for FPGA in uW.
239 What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_ltr
242 Contact: Wu Hao <hao.wu@intel.com>
243 Description: Read-only. Read this file to get current Latency Tolerance
244 Reporting (ltr) value. It returns 1 if all Accelerated
245 Function Units (AFUs) can tolerate latency >= 40us for memory
246 access or 0 if any AFU is latency sensitive (< 40us).