[PATCH net v2] net: airoha: npu: load the firmware without the sysfs fallback
Jakub Kicinski
kuba at kernel.org
Mon Aug 17 11:24:14 PDT 2026
On Tue, 11 Aug 2026 19:16:59 +0100 Vitaliy Sochnev wrote:
> airoha_npu_load_firmware() maps a missing firmware file to -EPROBE_DEFER
> so that the NPU can be brought up once the rootfs carrying /lib/firmware
> has been mounted. That mapping holds only as long as request_firmware()
> reports -ENOENT.
Okay, but AFAIU this is a hack. AFAIU PROBE_DEFER is not meant to
be used for FW loading. The driver module should live on the same
'partition' as the firmware. Either have them both available in initrd,
or have neither?
More information about the Linux-mediatek
mailing list