MODULE_FIRMWARE() for fallback ucode files?

From: Takashi Iwai
Date: Mon Feb 06 2017 - 11:13:53 EST


Hi,

currently iwlwifi driver lists only the latest firmware files in
MODULE_FIRMWARE() although the driver may read other older files.
And this confuses the openSUSE installer, since the installation image
is created based on the module information and copies only the
firmwares listed there. A bug report is found at:
https://bugzilla.suse.com/show_bug.cgi?id=1021082

Would it be better to list up all firmware files? Or how can we
inform user-space which firmware files would be possibly loaded?

In anyway, the current situation is messy. The driver declares the
firmware files that don't exist in the common linux-firmware git
tree. If we list up only the latest API version, we should guarantee
that these files are landed in the official tree before upstreaming.


thanks,

Takashi