162306a36Sopenharmony_ciDevice instance to test mapping
262306a36Sopenharmony_ciintel_ifs_0  ->  Scan Test
362306a36Sopenharmony_ciintel_ifs_1  ->  Array BIST test
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciWhat:		/sys/devices/virtual/misc/intel_ifs_<N>/run_test
662306a36Sopenharmony_ciDate:		Nov 16 2022
762306a36Sopenharmony_ciKernelVersion:	6.2
862306a36Sopenharmony_ciContact:	"Jithu Joseph" <jithu.joseph@intel.com>
962306a36Sopenharmony_ciDescription:	Write <cpu#> to trigger IFS test for one online core.
1062306a36Sopenharmony_ci		Note that the test is per core. The cpu# can be
1162306a36Sopenharmony_ci		for any thread on the core. Running on one thread
1262306a36Sopenharmony_ci		completes the test for the core containing that thread.
1362306a36Sopenharmony_ci		Example: to test the core containing cpu5: echo 5 >
1462306a36Sopenharmony_ci		/sys/devices/virtual/misc/intel_ifs_<N>/run_test
1562306a36Sopenharmony_ciDevices:	all
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciWhat:		/sys/devices/virtual/misc/intel_ifs_<N>/status
1862306a36Sopenharmony_ciDate:		Nov 16 2022
1962306a36Sopenharmony_ciKernelVersion:	6.2
2062306a36Sopenharmony_ciContact:	"Jithu Joseph" <jithu.joseph@intel.com>
2162306a36Sopenharmony_ciDescription:	The status of the last test. It can be one of "pass", "fail"
2262306a36Sopenharmony_ci		or "untested".
2362306a36Sopenharmony_ciDevices:	all
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciWhat:		/sys/devices/virtual/misc/intel_ifs_<N>/details
2662306a36Sopenharmony_ciDate:		Nov 16 2022
2762306a36Sopenharmony_ciKernelVersion:	6.2
2862306a36Sopenharmony_ciContact:	"Jithu Joseph" <jithu.joseph@intel.com>
2962306a36Sopenharmony_ciDescription:	Additional information regarding the last test. The details file reports
3062306a36Sopenharmony_ci		the hex value of the STATUS MSR for this test. Note that the error_code field
3162306a36Sopenharmony_ci		may contain driver defined software code not defined in the Intel SDM.
3262306a36Sopenharmony_ciDevices:	all
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciWhat:		/sys/devices/virtual/misc/intel_ifs_<N>/image_version
3562306a36Sopenharmony_ciDate:		Nov 16 2022
3662306a36Sopenharmony_ciKernelVersion:	6.2
3762306a36Sopenharmony_ciContact:	"Jithu Joseph" <jithu.joseph@intel.com>
3862306a36Sopenharmony_ciDescription:	Version (hexadecimal) of loaded IFS test image. If no test image
3962306a36Sopenharmony_ci		is loaded reports "none". Only present for device instances where a test image
4062306a36Sopenharmony_ci		is applicable.
4162306a36Sopenharmony_ciDevices:	intel_ifs_0
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciWhat:		/sys/devices/virtual/misc/intel_ifs_<N>/current_batch
4462306a36Sopenharmony_ciDate:		Nov 16 2022
4562306a36Sopenharmony_ciKernelVersion:	6.2
4662306a36Sopenharmony_ciContact:	"Jithu Joseph" <jithu.joseph@intel.com>
4762306a36Sopenharmony_ciDescription:	Write a number less than or equal to 0xff to load an IFS test image.
4862306a36Sopenharmony_ci		The number written treated as the 2 digit suffix in the following file name:
4962306a36Sopenharmony_ci		/lib/firmware/intel/ifs_<N>/ff-mm-ss-02x.scan
5062306a36Sopenharmony_ci		Reading the file will provide the suffix of the currently loaded IFS test image.
5162306a36Sopenharmony_ci		This file is present only for device instances where a test image is applicable.
5262306a36Sopenharmony_ciDevices:	intel_ifs_0
53