1*3a2f2756SJithu JosephDevice instance to test mapping 2*3a2f2756SJithu Josephintel_ifs_0 -> Scan Test 3*3a2f2756SJithu Josephintel_ifs_1 -> Array BIST test 4*3a2f2756SJithu Joseph 555b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/run_test 672a0f445SJithu JosephDate: Nov 16 2022 772a0f445SJithu JosephKernelVersion: 6.2 855b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 955b52633SJithu JosephDescription: Write <cpu#> to trigger IFS test for one online core. 1055b52633SJithu Joseph Note that the test is per core. The cpu# can be 1155b52633SJithu Joseph for any thread on the core. Running on one thread 1255b52633SJithu Joseph completes the test for the core containing that thread. 1355b52633SJithu Joseph Example: to test the core containing cpu5: echo 5 > 1472a0f445SJithu Joseph /sys/devices/virtual/misc/intel_ifs_<N>/run_test 15*3a2f2756SJithu JosephDevices: all 1655b52633SJithu Joseph 1755b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/status 1872a0f445SJithu JosephDate: Nov 16 2022 1972a0f445SJithu JosephKernelVersion: 6.2 2055b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 2155b52633SJithu JosephDescription: The status of the last test. It can be one of "pass", "fail" 2255b52633SJithu Joseph or "untested". 23*3a2f2756SJithu JosephDevices: all 2455b52633SJithu Joseph 2555b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/details 2672a0f445SJithu JosephDate: Nov 16 2022 2772a0f445SJithu JosephKernelVersion: 6.2 2855b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 2955b52633SJithu JosephDescription: Additional information regarding the last test. The details file reports 30*3a2f2756SJithu Joseph the hex value of the STATUS MSR for this test. Note that the error_code field 3155b52633SJithu Joseph may contain driver defined software code not defined in the Intel SDM. 32*3a2f2756SJithu JosephDevices: all 3355b52633SJithu Joseph 3455b52633SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/image_version 3572a0f445SJithu JosephDate: Nov 16 2022 3672a0f445SJithu JosephKernelVersion: 6.2 3755b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 38*3a2f2756SJithu JosephDescription: Version (hexadecimal) of loaded IFS test image. If no test image 39*3a2f2756SJithu Joseph is loaded reports "none". Only present for device instances where a test image 40*3a2f2756SJithu Joseph is applicable. 41*3a2f2756SJithu JosephDevices: intel_ifs_0 4255b52633SJithu Joseph 4372a0f445SJithu JosephWhat: /sys/devices/virtual/misc/intel_ifs_<N>/current_batch 4472a0f445SJithu JosephDate: Nov 16 2022 4572a0f445SJithu JosephKernelVersion: 6.2 4655b52633SJithu JosephContact: "Jithu Joseph" <jithu.joseph@intel.com> 4772a0f445SJithu JosephDescription: Write a number less than or equal to 0xff to load an IFS test image. 4872a0f445SJithu Joseph The number written treated as the 2 digit suffix in the following file name: 4972a0f445SJithu Joseph /lib/firmware/intel/ifs_<N>/ff-mm-ss-02x.scan 5072a0f445SJithu Joseph Reading the file will provide the suffix of the currently loaded IFS test image. 51*3a2f2756SJithu Joseph This file is present only for device instances where a test image is applicable. 52*3a2f2756SJithu JosephDevices: intel_ifs_0 53