On 11/2/2022 3:10 PM, Joseph, Jithu wrote:
There is a mapping based on the device number, for e.g if the user tries to use the below sysfs file for loading /sys/devices/virtual/misc/intel_ifs_<N>/current_batch The driver will look for the below test image for loading /lib/firmware/intel/ifs_<N>/ff-mm-ss-02x.<test_type> The number<N> is same in both the above path.
I guess that is OK. Adding the test name to the device path could potentially make the interface more restrictive.
Sohil