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

Sohil Mehta
2022-11-01T22:35:41Z

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@intel.com>
> -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?