]> git.proxmox.com Git - mirror_linux-firmware.git/log
mirror_linux-firmware.git
4 weeks agoMerge branch 'intel/xe3lpd-dmc' into 'main' master
Mario Limonciello [Tue, 22 Oct 2024 14:50:56 +0000 (14:50 +0000)]
Merge branch 'intel/xe3lpd-dmc' into 'main'

i915: Add Xe3LPD DMC

See merge request kernel-firmware/linux-firmware!344

4 weeks agoi915: Add Xe3LPD DMC
Gustavo Sousa [Tue, 22 Oct 2024 14:33:52 +0000 (11:33 -0300)]
i915: Add Xe3LPD DMC

Add Xe3LPD DMC starting at v2.13.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
4 weeks agoMerge branch 'wave521c' into 'main'
Josh Boyer [Tue, 22 Oct 2024 12:23:52 +0000 (12:23 +0000)]
Merge branch 'wave521c' into 'main'

cnm: update chips&media wave521c firmware.

See merge request kernel-firmware/linux-firmware!343

4 weeks agocnm: update chips&media wave521c firmware.
Nas Chung [Tue, 22 Oct 2024 07:06:12 +0000 (16:06 +0900)]
cnm: update chips&media wave521c firmware.

Update the wave521c video IP firmware for K3 devices.

FW version : 1.0.5

Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
4 weeks agoMerge branch 'cs35l41' into 'main'
Josh Boyer [Tue, 22 Oct 2024 12:16:23 +0000 (12:16 +0000)]
Merge branch 'cs35l41' into 'main'

linux-firmware: Add firmware for Cirrus CS35L41

See merge request kernel-firmware/linux-firmware!342

4 weeks agolinux-firmware: Add firmware for Cirrus CS35L41
Vitaly Rodionov [Fri, 4 Oct 2024 13:57:56 +0000 (14:57 +0100)]
linux-firmware: Add firmware for Cirrus CS35L41

This patch adds the firmware files for Cirrus CS35L41 smart amplifier

Playback version: 6.83
Release version: 29.85.0

Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
4 weeks agoMerge branch 'main' into 'main'
Josh Boyer [Tue, 22 Oct 2024 12:13:49 +0000 (12:13 +0000)]
Merge branch 'main' into 'main'

linux-firmware: Update firmware file for Intel BlazarU core

See merge request kernel-firmware/linux-firmware!341

4 weeks agolinux-firmware: Update firmware file for Intel BlazarU core
Kiran K [Tue, 22 Oct 2024 09:51:13 +0000 (15:21 +0530)]
linux-firmware: Update firmware file for Intel BlazarU core

This patch contains firmware files for BlazarU core -
1. Gale Peak2 (BE200)
2. Garfield Peak2 (AX211)
3. Filmore Peak2 (BE201)

FW Build: BT_BlazarU_S_REL67159_23.90.24382.67159

Release Version: 23.90.0.3
FSEQ:  0x0.0.4.191

Signed-off-by: Kiran K <kiran.k@intel.com>
4 weeks agoMerge branch 'make-error-on-copyopts' into 'main'
Josh Boyer [Mon, 21 Oct 2024 12:23:29 +0000 (12:23 +0000)]
Merge branch 'make-error-on-copyopts' into 'main'

Makefile: error out of 'install' if COPYOPTS is set

See merge request kernel-firmware/linux-firmware!340

4 weeks agoMakefile: error out of 'install' if COPYOPTS is set
Adam Williamson [Sat, 19 Oct 2024 20:57:38 +0000 (13:57 -0700)]
Makefile: error out of 'install' if COPYOPTS is set

Since https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/319
and https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/331 ,
doing `make COPYOPTS="blahblah" install` does not fail, but does
not do what it did before. This is a surprising and possibly
undesired result (in Fedora, it led to our firmware suddenly
taking up 500MB more space on disk, and that led to a bunch of
live image builds failing).

To make the change more apparent, let's just fail out with an
explanatory message if invoked with COPYOPTS set.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Co-authored by: Emil Velikov <emil.l.velikov@gmail.com>

4 weeks agoMerge branch 'skip-git' into 'main'
Mario Limonciello [Fri, 18 Oct 2024 15:10:15 +0000 (15:10 +0000)]
Merge branch 'skip-git' into 'main'

check_whence.py: skip some validation if git ls-files fails

See merge request kernel-firmware/linux-firmware!339

4 weeks agocheck_whence.py: skip some validation if git ls-files fails
Emil Velikov [Fri, 18 Oct 2024 12:58:01 +0000 (13:58 +0100)]
check_whence.py: skip some validation if git ls-files fails

Recently we started running check_whence.py to validate WHENCE before
installing files with copy-firmware.sh. It did not consider the fact
that people may be using the distribution tarball, which lacks the
relevant git metadata.

Throw a warning and skip the relevant validation.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
4 weeks agoMerge branch 'robot/pr-0-1729235875' into 'main'
Mario Limonciello [Fri, 18 Oct 2024 13:21:04 +0000 (13:21 +0000)]
Merge branch 'robot/pr-0-1729235875' into 'main'

robot/pr-0-1729235875

See merge request kernel-firmware/linux-firmware!337

4 weeks agoqcom: Add Audio firmware for X1E80100 CRD/QCPs
Sibi Sankar [Fri, 18 Oct 2024 06:14:17 +0000 (11:44 +0530)]
qcom: Add Audio firmware for X1E80100 CRD/QCPs

Add audio firmware for X1E80100 CRD/QCPs, which are required to get
charging and audio functional.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
4 weeks agoMerge branch 'amd-staging' into 'main'
Mario Limonciello [Fri, 18 Oct 2024 13:12:02 +0000 (13:12 +0000)]
Merge branch 'amd-staging' into 'main'

amdgpu: DMCUB updates for various AMDGPU ASICs

See merge request kernel-firmware/linux-firmware!338

4 weeks agoamdgpu: DMCUB updates forvarious AMDGPU ASICs
Wayne Lin [Fri, 18 Oct 2024 07:54:30 +0000 (15:54 +0800)]
amdgpu: DMCUB updates forvarious AMDGPU ASICs

DMCUB updaes for DCN314, DCN351, DCN35, Yellow Carp
From internal git commit 358f90a77c62e560cb40b578b86ec09a2f69b99f

Firmware release 0.0.239.0
Tested with DC 3.2.306

Release notes:
- Fix USB4
- Avoid SDP in VActive

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
4 weeks agoMerge branch 'robot/patch-0-1729102102' into 'main'
Mario Limonciello [Thu, 17 Oct 2024 15:40:04 +0000 (15:40 +0000)]
Merge branch 'robot/patch-0-1729102102' into 'main'

robot/patch-0-1729102102

See merge request kernel-firmware/linux-firmware!334

4 weeks agobrcm: replace NVRAM for Jetson TX1
Tomasz Maciej Nowak [Wed, 16 Oct 2024 18:02:41 +0000 (20:02 +0200)]
brcm: replace NVRAM for Jetson TX1

The current version is copied from latest Jetson Linux BSP and it's for
P3310 (TX2) module. While both TX1 and TX2 have same wireless chip,
possibly the SDIO module slightly differ and both have different NVRAM
files provided in separate BSP archives. Although TX1 module wireless
inteface can be brought up with TX2 NVRAM file, the performance is
slightly degraded, simple download test yielded extra 4MiB/s with proper
NVRAM file. Thus, replace it with proper file from R32.7.5 BSP, while
also droping commented-out values, since those are not parsed by the
driver.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
4 weeks agoMerge branch 'robot/patch-0-1729081061' into 'main' 20241017
Josh Boyer [Thu, 17 Oct 2024 12:45:19 +0000 (12:45 +0000)]
Merge branch 'robot/patch-0-1729081061' into 'main'

robot/patch-0-1729081061

See merge request kernel-firmware/linux-firmware!333

4 weeks agortlwifi: Update firmware for RTL8192FU to v7.3
Zenm Chen [Wed, 16 Oct 2024 12:15:44 +0000 (20:15 +0800)]
rtlwifi: Update firmware for RTL8192FU to v7.3

This firmware was extracted from the vendor driver
rtl8192FU_rtl8725AU_WiFi_linux_v5.15.2-53-g9bfbc74cf.20230615_COEX20220422-2b07
provided by Realtek developer.

Signed-off-by: Zenm Chen <zenmchen@gmail.com>
5 weeks agoMerge branch 'split-dedup' into 'main'
Mario Limonciello [Wed, 16 Oct 2024 15:54:54 +0000 (15:54 +0000)]
Merge branch 'split-dedup' into 'main'

Remove configure, fix and check permissions, split out de-duplication

See merge request kernel-firmware/linux-firmware!331

5 weeks agomake: separate installation and de-duplication targets
Emil Velikov [Tue, 15 Oct 2024 17:56:03 +0000 (18:56 +0100)]
make: separate installation and de-duplication targets

For better or worse some distributions cannot have the firmware
de-duplication happen automatically.

In addition, when it was introduced it changed the default behaviour
leaving people with no firmware in their systems.

Revert to the original behaviour: in the worst case, people will have a
few MB extra of duplicate firmware, yet their systems will continue to
work.

To make things stand out, we print a message at the end of install so
that everyone can opt-in as needed.

In addition, I've went ahead and opened tentative MR/PR with Alpine,
Arch, CentOS Stream, Debian, Gentoo, informing them of this change.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocheck_whence.py: check the permissions
Emil Velikov [Tue, 15 Oct 2024 17:38:26 +0000 (18:38 +0100)]
check_whence.py: check the permissions

A handful of in-tree scripts must have the execute bit, as well as all
directories. Everything else should not.

In the past we had multiple commits adding and removing execute bit(s),
so instead we can check before things get in-tree.

With all the firmware files updated to drop the bit (as of last commit),
we can add some tests to enforce it going forward.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoRemove execute bit from firmware files
Emil Velikov [Tue, 15 Oct 2024 17:49:04 +0000 (18:49 +0100)]
Remove execute bit from firmware files

AFAICT neither of the firmware files need to be executable, so drop the
execute bit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoconfigure: remove unused file
Emil Velikov [Tue, 15 Oct 2024 16:59:23 +0000 (17:59 +0100)]
configure: remove unused file

Remove the dummy and unused configure file. Glancing across distributions (Alpine, Arch,
Fedora, CentOS Stream, Gentoo, Debian, Ubuntu) - they don't use it.

It's not mentioned in our README either, so let's just remove it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoMerge branch 'robot/patch-0-1729044406' into 'main'
Mario Limonciello [Wed, 16 Oct 2024 02:08:41 +0000 (02:08 +0000)]
Merge branch 'robot/patch-0-1729044406' into 'main'

robot/patch-0-1729044406

See merge request kernel-firmware/linux-firmware!332

5 weeks agortl_nic: add firmware rtl8125d-1
ChunHao Lin [Wed, 16 Oct 2024 02:04:45 +0000 (10:04 +0800)]
rtl_nic: add firmware rtl8125d-1

This adds firmware rtl8125d-1 for RTL8125d rev.a.

Signed-off-by: ChunHao Lin <hau@realtek.com>
5 weeks agoMerge branch 'robot/pr-0-1728931123' into 'main'
Mario Limonciello [Mon, 14 Oct 2024 18:52:25 +0000 (18:52 +0000)]
Merge branch 'robot/pr-0-1728931123' into 'main'

robot/pr-0-1728931123

See merge request kernel-firmware/linux-firmware!329

5 weeks agoiwlwifi: add gl/Bz FW for core91-69 release
Miri Korenblit [Wed, 17 Apr 2024 06:56:59 +0000 (09:56 +0300)]
iwlwifi: add gl/Bz FW for core91-69 release

Add the -94 ucode firmware and update the pnvm binary
for gl/bz device.

Build number: Core_manual_signed_core91-69
Revision: 67ce4588 (gl, bz)

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
5 weeks agoiwlwifi: update ty/So/Ma firmwares for core91-69 release
Miri Korenblit [Wed, 17 Apr 2024 06:47:38 +0000 (09:47 +0300)]
iwlwifi: update ty/So/Ma firmwares for core91-69 release

Update -89.ucode firmwares for ty/So/Ma devices,
and update the PNVM files.

Build number: Core_manual_signed_core91-69
Revision: 6b44fa0b (ty, so, ma)

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
5 weeks agoiwlwifi: update cc/Qu/QuZ firmwares for core91-69 release
Miri Korenblit [Wed, 17 Apr 2024 05:55:39 +0000 (08:55 +0300)]
iwlwifi: update cc/Qu/QuZ firmwares for core91-69 release

Update -77.ucode firmwares for cc/Qu/QuZ devices.

Build number: Core_manual_signed_core91-69
Revision: 85be44d3 (Qu, QuZ, cc)

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
5 weeks agoMerge branch 'wcn785x' into 'main'
Josh Boyer [Mon, 14 Oct 2024 17:13:47 +0000 (17:13 +0000)]
Merge branch 'wcn785x' into 'main'

QCA: Add Bluetooth firmwares for WCN785x with UART transport

See merge request kernel-firmware/linux-firmware!328

5 weeks agoMerge https://github.com/zijun-hu/qca_btfw into wcn785x
Josh Boyer [Mon, 14 Oct 2024 17:10:31 +0000 (13:10 -0400)]
Merge https://github.com/zijun-hu/qca_btfw into wcn785x

Signed-off-by: Josh Boyer <jwboyer@kernel.org>
5 weeks agoMerge branch 'robot/pr-0-1728920002' into 'main'
Mario Limonciello [Mon, 14 Oct 2024 15:38:04 +0000 (15:38 +0000)]
Merge branch 'robot/pr-0-1728920002' into 'main'

robot/pr-0-1728920002

See merge request kernel-firmware/linux-firmware!327

5 weeks agocirrus: cs35l56: Add firmware for Cirrus CS35L56 for a Lenovo Laptop
Simon Trimmer [Wed, 11 Sep 2024 07:38:45 +0000 (08:38 +0100)]
cirrus: cs35l56: Add firmware for Cirrus CS35L56 for a Lenovo Laptop

This patch adds the firmware files for the Cirrus CS35L56 smart
amplifier used in a Lenovo laptop.

17aa380e

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
5 weeks agocirrus: cs35l56: Add firmware for Cirrus CS35L56 for some ASUS laptops
Simon Trimmer [Wed, 11 Sep 2024 08:09:24 +0000 (09:09 +0100)]
cirrus: cs35l56: Add firmware for Cirrus CS35L56 for some ASUS laptops

This patch adds the firmware files for the Cirrus CS35L56 smart
amplifier used in two ASUS laptops.

10431e13
10431f43

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
5 weeks agocirrus: cs35l56: Add firmware for Cirrus Amps for some HP laptops
Simon Trimmer [Wed, 9 Oct 2024 15:25:24 +0000 (15:25 +0000)]
cirrus: cs35l56: Add firmware for Cirrus Amps for some HP laptops

This patch adds the firmware files for the Cirrus CS35L54 and CS35L56
smart amplifiers used in these HP laptops.

103c8d85
103c8d86
103c8d8c
103c8d8d
103c8d8e
103c8d8f
103c8d90
103c8d91 (two component variants)
103c8d92
103c8e14
103c8e15
103c8e16
103c8e17
103c8e18
103c8e19
103c8e1a
103c8e1b
103c8e1c
103c8e2c

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
5 weeks agoMerge branch 'en8811h' into 'main'
Josh Boyer [Mon, 14 Oct 2024 14:21:12 +0000 (14:21 +0000)]
Merge branch 'en8811h' into 'main'

linux-firmware: update firmware for en8811h 2.5G ethernet phy

See merge request kernel-firmware/linux-firmware!326

5 weeks agolinux-firmware: update firmware for en8811h 2.5G ethernet phy
Lucien.Jheng [Mon, 14 Oct 2024 14:01:26 +0000 (10:01 -0400)]
linux-firmware: update firmware for en8811h 2.5G ethernet phy

1. Reinitialize the FNPLL clock during MD32 startup.
2. Optimize cable diag
3. Set Co-Clock default enable
4. Enable EMI Calibration Function
5. Enhance AN control mechanism
6. Fix internal bus arbitrator issue

Signed-off-by: Lucien.Jheng <lucien.jheng@airoha.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
5 weeks agoMerge branch 'robot/pr-0-1728664917' into 'main'
Mario Limonciello [Fri, 11 Oct 2024 17:01:39 +0000 (17:01 +0000)]
Merge branch 'robot/pr-0-1728664917' into 'main'

robot/pr-0-1728664917

See merge request kernel-firmware/linux-firmware!325

5 weeks agomtk_wed: add firmware for mt7988 Wireless Ethernet Dispatcher
Shayne Chen [Fri, 11 Oct 2024 16:02:10 +0000 (00:02 +0800)]
mtk_wed: add firmware for mt7988 Wireless Ethernet Dispatcher

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
5 weeks agoMerge branch 'superm1/qci-patches' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 19:11:13 +0000 (19:11 +0000)]
Merge branch 'superm1/qci-patches' into 'main'

ath12k: QCN9274 hw2.0: add board-2.bin

See merge request kernel-firmware/linux-firmware!322

5 weeks agoath12k: WCN7850 hw2.0: update board-2.bin
Jeff Johnson [Wed, 9 Oct 2024 21:24:59 +0000 (14:24 -0700)]
ath12k: WCN7850 hw2.0: update board-2.bin

Signed-off-by: Jeff Johnson <jjohnson@qti.qualcomm.com>
5 weeks agoath12k: QCN9274 hw2.0: add to WLAN.WBE.1.3.1-00162-QCAHKSWPL_SILICONZ-1
Jeff Johnson [Wed, 9 Oct 2024 21:24:59 +0000 (14:24 -0700)]
ath12k: QCN9274 hw2.0: add to WLAN.WBE.1.3.1-00162-QCAHKSWPL_SILICONZ-1

Signed-off-by: Jeff Johnson <jjohnson@qti.qualcomm.com>
5 weeks agoath12k: QCN9274 hw2.0: add board-2.bin
Jeff Johnson [Wed, 9 Oct 2024 21:24:59 +0000 (14:24 -0700)]
ath12k: QCN9274 hw2.0: add board-2.bin

Signed-off-by: Jeff Johnson <jjohnson@qti.qualcomm.com>
5 weeks agoMerge branch 'pr/misc-fixes' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 15:40:28 +0000 (15:40 +0000)]
Merge branch 'pr/misc-fixes' into 'main'

check_whence.py: use consistent naming

See merge request kernel-firmware/linux-firmware!319

5 weeks agocopy-firmware.sh: rename variables in symlink hanlding
Emil Velikov [Sun, 22 Sep 2024 16:14:34 +0000 (17:14 +0100)]
copy-firmware.sh: rename variables in symlink hanlding

Currently we use f(ile) and d(irectory), over the more common ones t(arget) and
l(ink). Rename things appropriately.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: remove no longer reachable test -L
Emil Velikov [Sun, 22 Sep 2024 16:10:01 +0000 (17:10 +0100)]
copy-firmware.sh: remove no longer reachable test -L

The check_whence.py script ensures that links defined in WHENCE are not in-tree.
Since we're calling the script, we no longer need the convoluted path and
associated --prune tag.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: remove no longer reachable test -f
Emil Velikov [Sun, 22 Sep 2024 16:03:53 +0000 (17:03 +0100)]
copy-firmware.sh: remove no longer reachable test -f

With previous commit we call check_whence.py, which ensures that all files
listed are available. Drop the now dead code.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: call ./check_whence.py before parsing the file
Emil Velikov [Sun, 22 Sep 2024 15:44:25 +0000 (16:44 +0100)]
copy-firmware.sh: call ./check_whence.py before parsing the file

Currently ./check_whence.py is used when submitting new firmware, while
copy-firmware.sh when the firmware is to be consumed.

Since the latter does (very little) validation, having a malformed WHENCE file
can lead to all sorted of problems. From the obvious, where it errors out, to
more serious one where it overwrites or executes something it should not have.

Just call check_whence.py and error out. It takes 0.2s on my 5 year old
mid-range laptop, so the overhead is negligible.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: warn if the destination folder is not empty
Emil Velikov [Sun, 22 Sep 2024 16:00:01 +0000 (17:00 +0100)]
copy-firmware.sh: warn if the destination folder is not empty

If the user provides an existing non-empty folder (their /usr/lib/firmware/ or otherwise)
there is a high chance we'll silently overwrite existing files. That may or may not be what
they wanted, so throw a warning so highlight that.

v2:
 - use printf instead of echo

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: add err() helper
Emil Velikov [Sun, 22 Sep 2024 15:48:35 +0000 (16:48 +0100)]
copy-firmware.sh: add err() helper

v2:
 - use printf instead of echo -e

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: fix indentation
Emil Velikov [Sun, 22 Sep 2024 15:42:48 +0000 (16:42 +0100)]
copy-firmware.sh: fix indentation

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: reset and consistently handle destdir
Emil Velikov [Mon, 23 Sep 2024 11:09:08 +0000 (12:09 +0100)]
copy-firmware.sh: reset and consistently handle destdir

Currently we don't reset/override the destdir variable, so we end up inheriting
whatever the caller's environment has for it. While it may work, it's not
particularly consistent (be that within the script or other tools) nor is it
obvious.

While in here, ensure we handle the variable with test -z/-n instead of varying
other constructs.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoRevert "copy-firmware: Support additional compressor options"
Emil Velikov [Sun, 22 Sep 2024 15:31:23 +0000 (16:31 +0100)]
Revert "copy-firmware: Support additional compressor options"

This reverts commit 2bad80e7edd3c0f84718545d9338c8edfed16513.

The commit effectively added accidental command injection, while it was aiming
to control the compression flags.

In practise you'd want to use ZSTD_CLEVEL and ZSTD_NBTHREADS for zstd. As
documented in zstd(1) it allows for up-to level 19, which is fine since the
kernel does not support higher levels.

Arch, Alpine and likely other distributions have been using this approach
since day one.

The other compressors like xz have equivalent.

Cc: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocopy-firmware.sh: flesh out and fix dedup-firmware.sh
Emil Velikov [Sun, 22 Sep 2024 15:21:44 +0000 (16:21 +0100)]
copy-firmware.sh: flesh out and fix dedup-firmware.sh

Flesh out the de-duplication logic in separate script. The copy-firmware.sh is
already complex enough and de-duplication doesn't really fit in there.

In the process we migrate away from the open-coded `ln --relative`. We also
avoid touching symlinks, which are not created by rdfind. Otherwise we end up
"fixing" the folder to folder symlinks (created earlier in the process) and
things explode.

As result we also get a few bonuses:
 - the COPYOPTS shell injection is gone - the variable was never used
 - people can dedup as separate step if/when they choose to do so

Aside: based on the noise in git log and around distros ... I'm wondering if
having the de-duplication as opt-in, would have been better. Is it too late to
change or the ship has sailed?

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoStyle update yaml files
Emil Velikov [Sun, 22 Sep 2024 15:06:44 +0000 (16:06 +0100)]
Style update yaml files

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoeditorconfig: add initial config file
Emil Velikov [Sun, 22 Sep 2024 15:02:38 +0000 (16:02 +0100)]
editorconfig: add initial config file

It's a simple format handled by practically every supported platform or program
out there.

Add an initial configuration file, so we reduce the style variation of the files
in-tree.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocheck_whence.py: annotate replacement strings as raw
Emil Velikov [Sun, 22 Sep 2024 19:44:59 +0000 (20:44 +0100)]
check_whence.py: annotate replacement strings as raw

Otherwise python 3.12 throws warnings like below:

.../check_whence.py:40: SyntaxWarning: invalid escape sequence '\ '
  yield match.group(1).replace("\ ", " ").replace('"', "")

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocheck_whence.py: LC_ALL=C sort -u the filelist
Emil Velikov [Sun, 22 Sep 2024 16:29:49 +0000 (17:29 +0100)]
check_whence.py: LC_ALL=C sort -u the filelist

Sort the file list, so it's easier to manage.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocheck_whence.py: ban link-to-a-link
Emil Velikov [Sun, 22 Sep 2024 16:31:24 +0000 (17:31 +0100)]
check_whence.py: ban link-to-a-link

Using link-to-a-link reduces legibility and changes to the root link,
also changes the leafs. Where the latter may be undesired and in some
cases just wrong.

We have a couple of instances in-tree, so fix them up and ban the
combination.

One particularly good example, why we'd want this is:
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

In there we have the following:

    File: ti/tas2781/TAS2XXX1EB30.bin
    [snip]
    Link: TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB3.bin
    Link: ti/tas2781/TAS2XXX1EB3.bin -> TAS2XXX1EB30.bin
    Link: TAS2XXX1EB30.bin -> ti/tas2781/TAS2XXX1EB30.bin

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agocheck_whence.py: use consistent naming
Emil Velikov [Sun, 22 Sep 2024 18:11:09 +0000 (19:11 +0100)]
check_whence.py: use consistent naming

Namely: file(name) and sym(link) ... which were swapped in a few places.
One of which by yours truly :facepalm:

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
5 weeks agoMerge branch 'superm1/missing-suggestion' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 14:13:18 +0000 (14:13 +0000)]
Merge branch 'superm1/missing-suggestion' into 'main'

Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin

See merge request kernel-firmware/linux-firmware!318

5 weeks agoAdd a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin
Mario Limonciello [Thu, 10 Oct 2024 14:05:04 +0000 (09:05 -0500)]
Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin

This allows compatibility with old and new TAS drivers.

Suggested-by: Antheas Kapenekakis <lkml@antheas.dev>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
5 weeks agoMerge branch 'superm1/add-ti-fw' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 13:38:29 +0000 (13:38 +0000)]
Merge branch 'superm1/add-ti-fw' into 'main'

tas2781: Upload dsp firmware for ASUS laptop 1EB30 & 1EB31

See merge request kernel-firmware/linux-firmware!317

5 weeks agotas2781: Upload dsp firmware for ASUS laptop 1EB30 & 1EB31
Shenghao Ding [Sat, 28 Sep 2024 14:03:37 +0000 (14:03 +0000)]
tas2781: Upload dsp firmware for ASUS laptop 1EB30 & 1EB31

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
[superm1: Squash and rebase]
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
6 weeks agoMerge branch 'robot/pr-18-1728530109' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 03:19:45 +0000 (03:19 +0000)]
Merge branch 'robot/pr-18-1728530109' into 'main'

robot/pr-18-1728530109

See merge request kernel-firmware/linux-firmware!314

6 weeks agortlwifi: Add firmware v39.0 for RTL8192DU
Bitterblue Smith [Wed, 13 Mar 2024 15:05:34 +0000 (17:05 +0200)]
rtlwifi: Add firmware v39.0 for RTL8192DU

The new rtl8192du driver will support this chip.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
6 weeks agoMerge branch 'superm1/revert-82318c96' into 'main'
Mario Limonciello [Thu, 10 Oct 2024 02:19:09 +0000 (02:19 +0000)]
Merge branch 'superm1/revert-82318c96' into 'main'

Revert "ath12k: WCN7850 hw2.0: update board-2.bin"

See merge request kernel-firmware/linux-firmware!310

6 weeks agoRevert "ath12k: WCN7850 hw2.0: update board-2.bin"
Mario Limonciello [Thu, 10 Oct 2024 02:15:27 +0000 (21:15 -0500)]
Revert "ath12k: WCN7850 hw2.0: update board-2.bin"

This reverts commit 82318c966fd1af87044299d34611751c76f70927.

This has caused regressions for a number of users and will be
fixed by a future firmware from Qualcomm.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219282
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
6 weeks agoQCA: Add Bluetooth firmwares for WCN785x with UART transport
Zijun Hu [Wed, 9 Oct 2024 07:57:55 +0000 (15:57 +0800)]
QCA: Add Bluetooth firmwares for WCN785x with UART transport

Add below required Bluetooth firmware files for Qualcomm SoC WCN785x
which uses UART as HCI transport, and the firmware version is 2.0.1-00349.

qca/hmtbtfw20.tlv : RAMPATCH
qca/hmtnv20.b10f  : NVM
qca/hmtnv20.b112  : NVM
qca/hmtnv20.bin   : NVM

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
6 weeks agoMerge branch 'amd-staging' into 'main'
Mario Limonciello [Fri, 4 Oct 2024 21:12:04 +0000 (21:12 +0000)]
Merge branch 'amd-staging' into 'main'

amdgpu: DMCUB DCN35 update

See merge request kernel-firmware/linux-firmware!308

6 weeks agoamdgpu: DMCUB DCN35 update
Rodrigo Siqueira [Fri, 4 Oct 2024 20:27:20 +0000 (14:27 -0600)]
amdgpu: DMCUB DCN35 update

From internal git commit d9280f8de5d240955ab1d41a471c2f9d876745d2

Firmware release 0.0.237.0
Tested with DC 3.2.304

Release notes:
- Skip PSR phy power sequence in some specific cases
- Block IDLE_EVENT if there is a missing timer
- Handle minimum duration in IPS if it is close to hpd check

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
6 weeks agoMerge branch 'brcm-nvram-updates' into 'main'
Mario Limonciello [Fri, 4 Oct 2024 21:09:54 +0000 (21:09 +0000)]
Merge branch 'brcm-nvram-updates' into 'main'

brcm: a couple of NVRAM updates

See merge request kernel-firmware/linux-firmware!307

6 weeks agobrcm: Add BCM4354 NVRAM for Jetson TX1
Peter Robinson [Fri, 4 Oct 2024 16:32:47 +0000 (17:32 +0100)]
brcm: Add BCM4354 NVRAM for Jetson TX1

Add a NVRAM file for the BCM4354 Wifi/BT module used on the
NVIDIA p2371-2180, AKA Jetson TX1.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
6 weeks agobrcm: Link FriendlyElec NanoPi M4 to AP6356S nvram
Peter Robinson [Fri, 4 Oct 2024 15:33:14 +0000 (16:33 +0100)]
brcm: Link FriendlyElec NanoPi M4 to AP6356S nvram

The FriendlyElec NanoPi M4 has a AP6356S WiFi/BT module
so we can reuse the NVRAM like devices with the same
module.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 weeks agoMerge branch 'mt76' into 'main'
Josh Boyer [Tue, 1 Oct 2024 11:53:24 +0000 (11:53 +0000)]
Merge branch 'mt76' into 'main'

mt76: mt7996: add firmware files for mt7996 chipset variants

See merge request kernel-firmware/linux-firmware!306

7 weeks agoMerge branch 'mt76-20240926' of https://github.com/csyuanc/linux-firmware into mt76
Josh Boyer [Tue, 1 Oct 2024 11:40:33 +0000 (07:40 -0400)]
Merge branch 'mt76-20240926' of https://github.com/csyuanc/linux-firmware into mt76

Signed-off-by: Josh Boyer <jwboyer@kernel.org>
7 weeks agoMerge branch 'mt7920' into 'main'
Josh Boyer [Tue, 1 Oct 2024 11:39:14 +0000 (11:39 +0000)]
Merge branch 'mt7920' into 'main'

linux-firmware: add firmware for MT7920

See merge request kernel-firmware/linux-firmware!305

7 weeks agolinux-firmware: add firmware for MediaTek Bluetooth chip (MT7920)
Chris Lu [Mon, 30 Sep 2024 08:12:57 +0000 (16:12 +0800)]
linux-firmware: add firmware for MediaTek Bluetooth chip (MT7920)

File: mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin
Version: 20240930111457

Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
7 weeks agolinux-firmware: add firmware for MT7920
Deren Wu [Mon, 30 Sep 2024 07:58:16 +0000 (15:58 +0800)]
linux-firmware: add firmware for MT7920

Add binary firmware for MT7920 based devices

File: mediatek/WIFI_MT7961_patch_mcu_1a_2_hdr.bin
Version: 20240930111002a
File: mediatek/WIFI_RAM_CODE_MT7961_1a.bin
Version: 20240930111041

Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
7 weeks agoMerge branch 'qcm6490' into 'main'
Josh Boyer [Tue, 1 Oct 2024 11:35:53 +0000 (11:35 +0000)]
Merge branch 'qcm6490' into 'main'

qcom: update gpu firmwares for qcm6490 chipset

See merge request kernel-firmware/linux-firmware!304

7 weeks agoMerge branch 'gpu-fw-QCM6490' of https://git.codelinaro.org/clo/linux-kernel/linux...
Josh Boyer [Tue, 1 Oct 2024 11:33:21 +0000 (07:33 -0400)]
Merge branch 'gpu-fw-QCM6490' of https://git.codelinaro.org/clo/linux-kernel/linux-firmware into qcm6490

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
7 weeks agoMerge branch 'amd-staging' into 'main'
Mario Limonciello [Sat, 28 Sep 2024 00:47:58 +0000 (00:47 +0000)]
Merge branch 'amd-staging' into 'main'

amdgpu: update aldebaran firmware

See merge request kernel-firmware/linux-firmware!301

7 weeks agoamdgpu: update raven firmware
Alex Deucher [Fri, 27 Sep 2024 21:15:07 +0000 (17:15 -0400)]
amdgpu: update raven firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update SMU 13.0.10 firmware
Alex Deucher [Fri, 27 Sep 2024 21:14:29 +0000 (17:14 -0400)]
amdgpu: update SMU 13.0.10 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update PSP 13.0.10 firmware
Alex Deucher [Fri, 27 Sep 2024 21:14:11 +0000 (17:14 -0400)]
amdgpu: update PSP 13.0.10 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update GC 11.0.3 firmware
Alex Deucher [Fri, 27 Sep 2024 21:13:26 +0000 (17:13 -0400)]
amdgpu: update GC 11.0.3 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update VCN 3.1.2 firmware
Alex Deucher [Fri, 27 Sep 2024 21:12:22 +0000 (17:12 -0400)]
amdgpu: update VCN 3.1.2 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update PSP 13.0.5 firmware
Alex Deucher [Fri, 27 Sep 2024 21:12:03 +0000 (17:12 -0400)]
amdgpu: update PSP 13.0.5 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update PSP 13.0.8 firmware
Alex Deucher [Fri, 27 Sep 2024 21:11:11 +0000 (17:11 -0400)]
amdgpu: update PSP 13.0.8 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update vega12 firmware
Alex Deucher [Fri, 27 Sep 2024 21:10:20 +0000 (17:10 -0400)]
amdgpu: update vega12 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update PSP 14.0.4 firmware
Alex Deucher [Fri, 27 Sep 2024 21:09:23 +0000 (17:09 -0400)]
amdgpu: update PSP 14.0.4 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update GC 11.5.2 firmware
Alex Deucher [Fri, 27 Sep 2024 21:09:05 +0000 (17:09 -0400)]
amdgpu: update GC 11.5.2 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update vega10 firmware
Alex Deucher [Fri, 27 Sep 2024 21:08:01 +0000 (17:08 -0400)]
amdgpu: update vega10 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update VCN 4.0.0 firmware
Alex Deucher [Fri, 27 Sep 2024 21:07:21 +0000 (17:07 -0400)]
amdgpu: update VCN 4.0.0 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update PSP 13.0.0 firmware
Alex Deucher [Fri, 27 Sep 2024 21:07:03 +0000 (17:07 -0400)]
amdgpu: update PSP 13.0.0 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update GC 11.0.0 firmware
Alex Deucher [Fri, 27 Sep 2024 21:06:30 +0000 (17:06 -0400)]
amdgpu: update GC 11.0.0 firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update picasso firmware
Alex Deucher [Fri, 27 Sep 2024 21:05:16 +0000 (17:05 -0400)]
amdgpu: update picasso firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
7 weeks agoamdgpu: update beige goby firmware
Alex Deucher [Fri, 27 Sep 2024 21:04:42 +0000 (17:04 -0400)]
amdgpu: update beige goby firmware

Based on internal git commit 97ae5dc916b1b174cc87c1f1502a19d2c044e6e6

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>