Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

accel/ivpu: Add missing MODULE_FIRMWARE metadata

Modules that load firmware from various paths at runtime must declare
those paths at compile time, via the MODULE_FIRMWARE macro, so that the
firmware paths are included in the module's metadata.

The accel/ivpu driver loads firmware but lacks this metadata,
preventing dracut from correctly locating firmware files. Fix it.

Fixes: 9ab43e95f922 ("accel/ivpu: Switch to generation based FW names")
Fixes: 02d5b0aacd05 ("accel/ivpu: Implement firmware parsing and booting")
Signed-off-by: Alexander F. Lent <lx@xanderlent.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240709-fix-ivpu-firmware-metadata-v3-1-55f70bba055b@xanderlent.com

authored by

Alexander F. Lent and committed by
Jacek Lawrynowicz
58b5618b 98491f02

+4
+4
drivers/accel/ivpu/ivpu_fw.c
··· 60 60 { IVPU_HW_IP_40XX, "intel/vpu/vpu_40xx_v0.0.bin" }, 61 61 }; 62 62 63 + /* Production fw_names from the table above */ 64 + MODULE_FIRMWARE("intel/vpu/vpu_37xx_v0.0.bin"); 65 + MODULE_FIRMWARE("intel/vpu/vpu_40xx_v0.0.bin"); 66 + 63 67 static int ivpu_fw_request(struct ivpu_device *vdev) 64 68 { 65 69 int ret = -ENOENT;