155b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/run_test 2*72a0f445SJithu JosephDate: Nov 16 2022 3*72a0f445SJithu JosephKernelVersion: 6.2 455b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 555b52633SJithu JosephDescription: Write <cpu#> to trigger IFS test for one online core. 655b52633SJithu Joseph Note that the test is per core. The cpu# can be 755b52633SJithu Joseph for any thread on the core. Running on one thread 855b52633SJithu Joseph completes the test for the core containing that thread. 955b52633SJithu Joseph Example: to test the core containing cpu5: echo 5 > 10*72a0f445SJithu Joseph /sys/devices/virtual/misc/intel_ifs_<N>/run_test 1155b52633SJithu Joseph 1255b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/status 13*72a0f445SJithu JosephDate: Nov 16 2022 14*72a0f445SJithu JosephKernelVersion: 6.2 1555b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 1655b52633SJithu JosephDescription: The status of the last test. It can be one of "pass", "fail" 1755b52633SJithu Joseph or "untested". 1855b52633SJithu Joseph 1955b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/details 20*72a0f445SJithu JosephDate: Nov 16 2022 21*72a0f445SJithu JosephKernelVersion: 6.2 2255b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 2355b52633SJithu JosephDescription: Additional information regarding the last test. The details file reports 2455b52633SJithu Joseph the hex value of the SCAN_STATUS MSR. Note that the error_code field 2555b52633SJithu Joseph may contain driver defined software code not defined in the Intel SDM. 2655b52633SJithu Joseph 2755b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/image_version 28*72a0f445SJithu JosephDate: Nov 16 2022 29*72a0f445SJithu JosephKernelVersion: 6.2 3055b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 3155b52633SJithu JosephDescription: Version (hexadecimal) of loaded IFS binary image. If no scan image 3255b52633SJithu Joseph is loaded reports "none". 3355b52633SJithu Joseph 34*72a0f445SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/current_batch 35*72a0f445SJithu JosephDate: Nov 16 2022 36*72a0f445SJithu JosephKernelVersion: 6.2 3755b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 38*72a0f445SJithu JosephDescription: Write a number less than or equal to 0xff to load an IFS test image. 39*72a0f445SJithu Joseph The number written treated as the 2 digit suffix in the following file name: 40*72a0f445SJithu Joseph /lib/firmware/intel/ifs_<N>/ff-mm-ss-02x.scan 41*72a0f445SJithu Joseph Reading the file will provide the suffix of the currently loaded IFS test image. 42