linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* enhancing module info to allow grouping of firmwares
@ 2023-03-15 20:35 Dave Airlie
  2023-03-15 20:42 ` Rob Clark
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dave Airlie @ 2023-03-15 20:35 UTC (permalink / raw)
  To: Luis R. Rodriguez, Greg Kroah-Hartman, linux-modules; +Cc: dri-devel

Hey moduly/firmware people,

We are facing a problem in the future of NVIDIA providing giant
firmwares for their devices that are version locked with unstable
APIs. Even if they weren't version locked we'd likely have to support
multiple major versions over time.

Now this becomes a problem because when you generate multiple
initramfs and stick them into /boot over time the number of firmwares
MODULE_FIRMWARE will match will increase and dracut will shove them
all into the initramfs.

I think one way to mitigate that would be to provide some sort of
grouping of module firmwares that are acceptable, and having dracut
only pick one from the list to provide in the initramfs (hopefully the
latest one). That way the driver can provide a list of MODULE_FIRMWARE
lines and userspace knows they are a group.

I've just little idea how we could expose this via current module
info, happy to try and come up with an enhanced scheme maybe with a
fallback to just include all of them but was just wanting to get some
feedback on whether this was something that anyone has ever considered
before now.

Thanks,
Dave.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-16  8:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 20:35 enhancing module info to allow grouping of firmwares Dave Airlie
2023-03-15 20:42 ` Rob Clark
2023-03-15 20:56 ` Alex Deucher
2023-03-15 21:18   ` Dave Airlie
2023-03-15 22:40     ` Luis Chamberlain
2023-03-16  8:52 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).