Update firmware for hwe/oem kernel migrations

Bug #1999406 reported by You-Sheng Yang
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Fix Released
High
You-Sheng Yang
Focal
Fix Released
High
You-Sheng Yang
Jammy
Fix Released
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

When migrating to a new hwe kernel or introduced a oem kernel of a
newer version, the firmware blobs might not match the expectation of
the new kernel. For example, a hwe-5.15 on Focal may include new
drivers that relies on firmware blobs that are only available in Jammy.

[Fix]

A previously obsoleted (and removed in Kinetic and Lunar) script
`list-lts-update-files` is used to enumerate firmware blobs to be
backported. It's retored and revised with additional support to
pick the right blobs especially in regard to ath and iwlwifi drivers.

On Focal, the commits in need are enumerated by:

  $ debian/scripts/list-lts-update-files focal jammy \
        ../jammy/debian.master/abi/fwinfo | \
        xargs git log --graph --oneline focal..jammy --
  * 36f2ea9f7 ath11k: WCN6855 hw2.0: add WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3
  * 05b5dc001 ath11k: WCN6855 hw2.0: add board-2.bin and regdb.bin
  * 7a3005059 brcm: Add 43455 based AP6255 NVRAM for the ACEPC T8 Mini PC
  * ad185afa1 cypress: update firmware for cyw4373 sdio
  * 77d3eb8ef cypress: update firmware for cyw43570 pcie
  * 92e9acdbd cypress: update firmware for cyw4356 sdio
  * 5f88084be cypress: update firmware for cyw4354 sdio
  * f97e31677 cypress: update firmware for cyw43455 sdio
  * 3df9ea0b9 cypress: update firmware for cyw43430 sdio
  * 6150015cf cypress: update firmware for cyw43012 sdio
  * 2548d065b brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet
  * e45c137e7 brcm: Add nvram for the Predia Basic tablet
  * d52886242 brcm: Add NVRAM for Vamrs 96boards Rock960
  * b503c9660 Merge branch 'ath10k-20201023' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware into main
  |\
  | * 34cb5fce2 ath11k: IPQ8074 hw2.0: add to WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
  | * c0a8efd24 ath11k: IPQ8074 hw2.0: add board-2.bin
  | * ac7f5e93f ath11k: IPQ6018 hw1.0: add to WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
  | * 2594e510a ath11k: IPQ6018 hw1.0: add board-2.bin
  * 04f71fe56 cypress: add Cypress firmware and clm_blob files

Commit 05b5dc001 and 36f2ea9f7 include updates to other existing files,
so they are dropped from this SRU. An additional commit that modifies
only WHENCE, commit 0b558e8a7, found when resolving conflicts, were also
added.

On Jammy,

  $ debian/scripts/list-lts-update-files jammy kinetic \
        ../kinetic/debian.master/abi/fwinfo | \
        xargs git log --graph --oneline jammy..kinetic --
  * 35f8de521 UBUNTU: Add pre-compiled echoaudio firmware
  * c954892f6 Add initial AzureWave AW-CM256SM NVRAM file
  * 86f0c5642 ath10k: WCN3990 hw1.0: add board-2.bin
  * c3624ebd6 Merge branch 'ath10k-20220423' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware into main
  |\
  | * 1962cbab3 ath10k: QCA99X0 hw2.0: add board-2.bin
  | * 0d5e9f7e0 ath11k: WCN6750 hw1.0: add to WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
  | * a50132f7f ath11k: WCN6750 hw1.0: add board-2.bin
  | * 97f8b7563 ath11k: QCN9074 hw1.0: add to WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
  | * f56505fe2 ath11k: QCN9074 hw1.0: add board-2.bin
  * | dfa3c4c30 qcom: add firmware files for Adreno a420 & related generations
  * | 4a43f1a84 qcom: add firmware files for Adreno a330
  * | ac21ab5d1 Mellanox: Add lc_ini_bundle for xx.2010.1006
  |/
  * 4ffcf980a brcm: rename Rock960 NVRAM to AP6356S and link devices to it

Commit 4ffcf980a involves rename existing files in WHENCE, so ignored.

While Jammy has 3 additional oem kernels, they were also tested:

  $ debian/scripts/list-lts-update-files jammy kinetic \
        ../oem-5.17/debian.oem/abi/fwinfo | \
        xargs git log --graph --oneline jammy..kinetic --
  (no new commits)

  $ debian/scripts/list-lts-update-files jammy lunar \
        ../oem-6.0/debian.oem/abi/fwinfo | \
        xargs git log --graph --oneline jammy..lunar --
  * 06dbfbc74 iwlwifi: add new FWs from core69-81 release

  $ debian/scripts/list-lts-update-files jammy lunar \
        ../oem-6.1/debian.oem/abi/fwinfo | \
        xargs git log --graph --oneline jammy..lunar --
  * 51fff4e69 i915: Add versionless HuC files for current platforms

On Lunar, while it's not an LTS series and there will not be any hwe/oem
kernel backported, the only change proposed is the script itself.

[Test Case]

To ensure no exiting bits being overwritten, the changes are reviewed
manually.

[Where problems could occur]

These firmware blobs are only referenced in the new hwe/oem kernels, and
shall not have side effect. On Focal and Jammy, while we have rolled out
oem and hwe kernels a long time ago, these changes will enable the
corresponding hardware that were meant to be enabled along with the
oem/hwe kernel migration at the time.

[Other Info]

While there is no hwe/oem kernel planned for Kinetic, and unlike the
devel series Lunar, adding this script to it is quite meaningless, so
it's not nominated for fix here.

Juerg Haefliger (juergh)
tags: added: kern-5201
Revision history for this message
You-Sheng Yang (vicamo) wrote :
summary: - Update firmware for hwe kernel migration
+ Update firmware for hwe/oem kernel migrations
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux-firmware (Ubuntu Focal):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Jammy):
status: New → In Progress
Changed in linux-firmware (Ubuntu Lunar):
status: New → In Progress
Changed in linux-firmware (Ubuntu Jammy):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Lunar):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Lunar):
assignee: nobody → You-Sheng Yang (vicamo)
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Focal):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Lunar):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.4 KiB)

This bug was fixed in the package linux-firmware - 20230120.gitbb2d42dc-0ubuntu1

---------------
linux-firmware (20230120.gitbb2d42dc-0ubuntu1) lunar; urgency=medium

  * Update firmware for hwe/oem kernel migrations (LP: #1999406)
    - [Packaging] scripts: add back list-lts-update-files
  * Miscellaneous Ubuntu changes
    - Rebase to upstream commit bb2d42dceff755623d6d59a32a743ccf87cbb6b9
      Rebase against git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
      - sr150 : Add NXP SR150 UWB firmware
      - amdgpu: updated aldebaran firmware for amd-5.4
      - amdgpu: updated navi12 firmware for amd-5.4
      - amdgpu: updated renoir firmware for amd-5.4
      - amdgpu: updated navi14 firmware for amd-5.4
      - amdgpu: updated arcture firmware for amd-5.4
      - amdgpu: updated sienna cichlid firmware for amd-5.4
      - amdgpu: updated green sardine firmware for amd-5.4
      - amdgpu: updated navy flounder firmware for amd-5.4
      - amdgpu: updated picasso firmware for amd-5.4
      - amdgpu: updated vangogh firmware for amd-5.4
      - amdgpu: updated dimgrey cavefish firmware for amd-5.4
      - amdgpu: updated beige goby firmware for amd-5.4
      - amdgpu: updated vega10 firmware for amd-5.4
      - amdgpu: add DCN 3.2.0 firmware for amd-5.4
      - amdgpu: add GC 11.0.0 firmware for amd-5.4
      - amdgpu: add PSP 13.0.0 firmware for amd-5.4
      - amdgpu: Add SDMA 6.0.0 firmware for amd-5.4
      - amdgpu: add SMU 13.0.0 firmware for amd-5.4
      - amdgpu: add VCN 4.0.0 firmware for amd-5.4
      - amdgpu: updated PSP 13.0.5 firmware for amd-5.4
      - amdgpu: updated vega20 firmware for amd-5.4
      - amdgpu: updated GC 10.3.7 RLC firmware for amd-5.4
      - amdgpu: updated PSP 13.0.8 firmware for amd-5.4
      - amdgpu: updated raven firmware for amd-5.4
      - amdgpu: updated raven2 firmware for amd-5.4
      - amdgpu: updated yellow carp firmware for amd-5.4
      - amdgpu: updated navi10 firmware for amd-5.4
      - rtw89: 8852c: update fw to v0.27.56.8
      - rtw89: 8852c: update fw to v0.27.56.9
      - qca: Update firmware files for BT chip WCN6750
      - cxgb4: Update firmware to revision 1.27.1.0
      - linux-firmware: update firmware for mediatek bluetooth chip (MT7922)
      - linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
      - linux-firmware: update firmware for MT7922 WiFi device
      - linux-firmware: update firmware for MT7921 WiFi device
      - amdgpu: update copyright date for LICENSE.amdgpu
      - amdgpu: Update renoir PSP firmware
      - amdgpu: update renoir DMCUB firmware
      - iwlwifi: update 9000-family firmwares to core75-47
      - iwlwifi: add new FWs from core75-47 release
      - iwlwifi: update cc/Qu/QuZ firmwares for core76-35 release
      - iwlwifi: add new FWs from core76-35 release
      - amdgpu: update GC11.0.0 firmware from amd-5.4
      - amdgpu: update PSP13.0.0 firmware from amd-5.4
      - amdgpu: update SDMA6.0.0 firmware from amd-5.4
      - amdgpu: update SMU13.0.0 firmware from amd-5.4
      - amdgpu: update VCN4.0.0 firmware from amd-5.4
      - amdgpu: add DCN3.2.1 firmware from amd-5.4
      - amdgpu: add GC11.0...

Read more...

Changed in linux-firmware (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.187.36 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Timo Aaltonen (tjaalton)
tags: added: verification-needed-jammy verification-needed-kinetic
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-firmware/focal version 1.187.36, linux-firmware/jammy version 20220329.git681281e4-0ubuntu3.10.

tags: added: verification-done-focal verification-done-jammy
removed: verification-needed-jammy
tags: removed: verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.10

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.10) jammy; urgency=medium

  * Update dg2_dmc to 2.08 (LP: #1999375)
    - i915: Add DMC v2.08 for DG2
  * Update firmware for hwe/oem kernel migrations (LP: #1999406)
    - [Packaging] scripts: add back list-lts-update-files
    - Mellanox: Add lc_ini_bundle for xx.2010.1006
    - qcom: add firmware files for Adreno a330
    - qcom: add firmware files for Adreno a420 & related generations
    - ath11k: QCN9074 hw1.0: add board-2.bin
    - ath11k: QCN9074 hw1.0: add to WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
    - ath11k: WCN6750 hw1.0: add board-2.bin
    - ath11k: WCN6750 hw1.0: add to WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
    - ath10k: QCA99X0 hw2.0: add board-2.bin
    - ath10k: WCN3990 hw1.0: add board-2.bin
    - Add initial AzureWave AW-CM256SM NVRAM file
    - [Packaging] rules: Don't build firmware during package build
    - Add pre-compiled echoaudio firmware
    - SAUCE: Revert "UBUNTU: SAUCE: check_whence.py: Ignore ea/ directory"
    - i915: Add versionless HuC files for current platforms
    - iwlwifi: add new FWs from core69-81 release
  * amdgpu: missing firmware for navi31 (LP: #2000133)
    - amdgpu: add DCN 3.2.0 firmware for amd-5.4
    - amdgpu: add GC 11.0.0 firmware for amd-5.4
    - amdgpu: add PSP 13.0.0 firmware for amd-5.4
    - amdgpu: Add SDMA 6.0.0 firmware for amd-5.4
    - amdgpu: add SMU 13.0.0 firmware for amd-5.4
    - amdgpu: add VCN 4.0.0 firmware for amd-5.4
    - amdgpu: update GC11.0.0 firmware from amd-5.4
    - amdgpu: update PSP13.0.0 firmware from amd-5.4
    - amdgpu: update SDMA6.0.0 firmware from amd-5.4
    - amdgpu: update SMU13.0.0 firmware from amd-5.4
    - amdgpu: update VCN4.0.0 firmware from amd-5.4
  * Wireless: Enable RTL8852BE wifi driver (LP: #2002601)
    - rtw89: 8852b: update fw to v0.27.32.1
    - Revert "rtw89: 8852b: update fw to v0.27.32.1"
    - rtw89: 8852b: add initial fw v0.27.32.0
    - rtw89: 8852b: update fw to v0.27.32.1
  * amdgpu: missing firmware for navi33 (LP: #2003846)
    - amdgpu: add DCN3.2.1 firmware from amd-5.4
    - amdgpu: add GC11.0.2 firmware from amd-5.4
    - amdgpu: add PSP13.0.7 firmware from amd-5.4
    - amdgpu: add SDMA6.0.2 firmware from amd-5.4
    - amdgpu: add SMU13.0.7 firmware from amd-5.4
    - amdgpu: add VCN4.0.4 firmware from amd-5.4

 -- Juerg Haefliger <email address hidden> Thu, 26 Jan 2023 09:10:12 +0100

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.187.36

---------------
linux-firmware (1.187.36) focal; urgency=medium

  * Update firmware for hwe/oem kernel migrations (LP: #1999406)
    - [Packaging] scripts/list-lts-update-files: Handle symlinks and special fws
    - cypress: add Cypress firmware and clm_blob files
    - ath11k: IPQ6018 hw1.0: add board-2.bin
    - ath11k: IPQ6018 hw1.0: add to WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
    - ath11k: IPQ8074 hw2.0: add board-2.bin
    - ath11k: IPQ8074 hw2.0: add to WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
    - brcm: Add NVRAM for Vamrs 96boards Rock960
    - brcm: Add nvram for the Predia Basic tablet
    - brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet
    - cypress: update firmware for cyw43012 sdio
    - cypress: update firmware for cyw43430 sdio
    - cypress: update firmware for cyw43455 sdio
    - cypress: update firmware for cyw4354 sdio
    - cypress: update firmware for cyw4356 sdio
    - cypress: update firmware for cyw43570 pcie
    - cypress: update firmware for cyw4373 sdio
    - brcm: add missing symlink for Pi Zero W NVRAM file
    - brcm: Add 43455 based AP6255 NVRAM for the ACEPC T8 Mini PC

 -- Juerg Haefliger <email address hidden> Thu, 26 Jan 2023 09:03:57 +0100

Changed in linux-firmware (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.