Skip to contentSkip to conversation

Firmware point releases / LTS branches

DISCUSSION Dmitry Baryshkov 2 participants 3 messages Apr 22, 2025 – Apr 23, 2025

lore
Share & tools
lore
#0 lore raw

Hello,

Up to now we have been having a single stream of linux-firmware releases. One of my colleagues has raised a question of providing bugfixes for the firmware. In other words, what should be our course of actions (and should be our recommendations to the distributions if we want to provide a bugfix or a security fix for the binary that was a part of one of the previous linux-firmware releases?

Usually we can not recommend e.g. Debian to just bump up to the next release. By requiring them to backport necessary binary patches might be a bit of a burden.

Would it make sense to handle a coordinated point branch release at certain point(s) through the year?

Signature · 2 lines
With best wishes
Dmitry
#1 lore raw
Quoted 9 lines · Dmitry Baryshkov

Hello,

Up to now we have been having a single stream of linux-firmware releases. One of my colleagues has raised a question of providing bugfixes for the firmware. In other words, what should be our course of actions (and should be our recommendations to the distributions if we want to provide a bugfix or a security fix for the binary that was a part of one of the previous linux-firmware releases?

That requires firmware vendors to provide more insight into the changes being made, as well as discrete changes for fixes vs. features/upgrades. It's more work for them to do this and we have little influence there.

Quoted 3 lines

Usually we can not recommend e.g. Debian to just bump up to the next release. By requiring them to backport necessary binary patches might be a bit of a burden.

Why can't we recommend Debian do that? As far as I know, that's exactly what every other distro does. It's not entirely clear what problem we're trying to solve.

Quoted 2 lines

Would it make sense to handle a coordinated point branch release at certain point(s) through the year?

Can you lay out what that workflow would look like considering the main concern on the vendor side? I'm not necessarily opposed to doing this, but at first glance it seems rather infeasible to solve comprehensively.

josh

#2 lore raw
Quoted 12 lines · Josh Boyer
Quoted 9 lines · Dmitry Baryshkov

Hello,

Up to now we have been having a single stream of linux-firmware releases. One of my colleagues has raised a question of providing bugfixes for the firmware. In other words, what should be our course of actions (and should be our recommendations to the distributions if we want to provide a bugfix or a security fix for the binary that was a part of one of the previous linux-firmware releases?

Quoted 4 lines

That requires firmware vendors to provide more insight into the changes being made, as well as discrete changes for fixes vs. features/upgrades. It's more work for them to do this and we have little influence there.

Yes, that's why I wanted to trigger the discussion. Sometimes it's something like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919632
Another example might be the LeftoverLocals story, which required GPU vendors to update the firmware (with explicit 'security fix' notes).

Quoted 7 lines
Quoted 3 lines

Usually we can not recommend e.g. Debian to just bump up to the next release. By requiring them to backport necessary binary patches might be a bit of a burden.

Why can't we recommend Debian do that? As far as I know, that's exactly what every other distro does. It's not entirely clear what problem we're trying to solve.

Debian was picked up as an example of a distro which tries really hard not to upgrade package versions in the stable releases. Yocto might be another example which nowadays tries to be version-stable in the release branches.

Quoted 7 lines
Quoted 2 lines

Would it make sense to handle a coordinated point branch release at certain point(s) through the year?

Can you lay out what that workflow would look like considering the main concern on the vendor side? I'm not necessarily opposed to doing this, but at first glance it seems rather infeasible to solve comprehensively.

Pretty much like the kernel workflow - the maintainers define one of releases as an 'LTS' one - preferably with some coordination with distros (if that's possible at all). Then if one of the vendors identifies an issue in the firmware shipped in that release, they can provide a backport (or just mark the corresponding trunk patch for backporting). Once in a while l-f maintainers mark that branch as a point release.

I can and should probably explain what triggered this question. We are providing firmware for Qualcomm platforms to linux-firmware and pushing our users to use that repo instead of various home-baked solutions. One of the engineers has asked a very valid question: what should be a workflow to support our users if we identify a bug in the shipped firmware file?

Signature · 2 lines
With best wishes
Dmitry