[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <382ef16e-5013-c226-2601-309be952f1fe@intel.com>
Date: Wed, 9 Nov 2022 17:16:28 -0800
From: "Joseph, Jithu" <jithu.joseph@...el.com>
To: Sohil Mehta <sohil.mehta@...el.com>, <hdegoede@...hat.com>,
<markgross@...nel.org>
CC: <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
<dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
<gregkh@...uxfoundation.org>, <ashok.raj@...el.com>,
<tony.luck@...el.com>, <linux-kernel@...r.kernel.org>,
<platform-driver-x86@...r.kernel.org>, <patches@...ts.linux.dev>,
<ravi.v.shankar@...el.com>, <thiago.macieira@...el.com>,
<athenas.jimenez.gonzalez@...el.com>
Subject: Re: [PATCH v2 13/14] Documentation/ABI: Update IFS ABI doc
On 11/9/2022 3:55 PM, Sohil Mehta wrote:
>
> A clarification below.
>
>> -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@...el.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.
>
> Can the number start from 0 or is it expected to start from 1? It might be useful to mention that if there is a constraint.
The driver currently doesn't do any enforcement on if the input starts at 0 / 1. If user writes 0 and if
the corresponding file it looks for (ff-mm-ss-00.<test_type>) is present, it would load it otherwise it would
return error-code ENOENT (returned by request_firmware_direct())
>
>> + 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.
Jithu
Powered by blists - more mailing lists