Skip to content

Commit 55b5263

Browse files
jithu83jwrdegoede
authored andcommitted
platform/x86/intel/ifs: add ABI documentation for IFS
Add the sysfs attributes in ABI/testing for In-Field Scan. Reviewed-by: Dan Williams <[email protected]> Signed-off-by: Jithu Joseph <[email protected]> Co-developed-by: Tony Luck <[email protected]> Signed-off-by: Tony Luck <[email protected]> Acked-by: Hans de Goede <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent 51af802 commit 55b5263

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
What: /sys/devices/virtual/misc/intel_ifs_<N>/run_test
2+
Date: April 21 2022
3+
KernelVersion: 5.19
4+
Contact: "Jithu Joseph" <[email protected]>
5+
Description: Write <cpu#> to trigger IFS test for one online core.
6+
Note that the test is per core. The cpu# can be
7+
for any thread on the core. Running on one thread
8+
completes the test for the core containing that thread.
9+
Example: to test the core containing cpu5: echo 5 >
10+
/sys/devices/platform/intel_ifs.<N>/run_test
11+
12+
What: /sys/devices/virtual/misc/intel_ifs_<N>/status
13+
Date: April 21 2022
14+
KernelVersion: 5.19
15+
Contact: "Jithu Joseph" <[email protected]>
16+
Description: The status of the last test. It can be one of "pass", "fail"
17+
or "untested".
18+
19+
What: /sys/devices/virtual/misc/intel_ifs_<N>/details
20+
Date: April 21 2022
21+
KernelVersion: 5.19
22+
Contact: "Jithu Joseph" <[email protected]>
23+
Description: Additional information regarding the last test. The details file reports
24+
the hex value of the SCAN_STATUS MSR. Note that the error_code field
25+
may contain driver defined software code not defined in the Intel SDM.
26+
27+
What: /sys/devices/virtual/misc/intel_ifs_<N>/image_version
28+
Date: April 21 2022
29+
KernelVersion: 5.19
30+
Contact: "Jithu Joseph" <[email protected]>
31+
Description: Version (hexadecimal) of loaded IFS binary image. If no scan image
32+
is loaded reports "none".
33+
34+
What: /sys/devices/virtual/misc/intel_ifs_<N>/reload
35+
Date: April 21 2022
36+
KernelVersion: 5.19
37+
Contact: "Jithu Joseph" <[email protected]>
38+
Description: Write "1" (or "y" or "Y") to reload the IFS image from
39+
/lib/firmware/intel/ifs/ff-mm-ss.scan.

0 commit comments

Comments
 (0)