Re: [PATCH 13/14] Documentation/ABI: Update IFS ABI doc

From: Sohil Mehta
Date: Tue Nov 01 2022 - 18:35:41 EST


On 10/21/2022 1:34 PM, Jithu Joseph wrote:
-What: /sys/devices/virtual/misc/intel_ifs_<N>/reload
-Date: April 21 2022
-KernelVersion: 5.19
+What: /sys/devices/virtual/misc/intel_ifs_<N>/current_batch
+Date: Sept 30 2022
+KernelVersion: 6.2
Contact: "Jithu Joseph" <jithu.joseph@xxxxxxxxx>
-Description: Write "1" (or "y" or "Y") to reload the IFS image from
- /lib/firmware/intel/ifs/ff-mm-ss.scan.
+Description: Write a number less than or equal to 0xff to load an IFS test image.
+ The number written treated as the 2 digit suffix in the following file name:
+ /lib/firmware/intel/ifs_<N>/ff-mm-ss-02x.scan
+ Reading the file will provide the suffix of the currently loaded IFS test image.

A few places in the code use the following string: family-model-stepping-02x.{testname}

Does that mean that the in future there might be other extensions apart from .scan?

If so, current_batch would let the user identify the 2 digit suffix but how would they identify which testname is current loaded?