Skip to content

Instantly share code, notes, and snippets.

@joanbm
joanbm / nvidia-470xx-fix-linux-5.17.patch
Last active May 19, 2022 16:33
Tentative fix for NVIDIA 470.94 driver for Linux 5.17-rc1
From 026a2a54a234cdb7bf78c17be7ea29d8dcf9f390 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sun, 23 Jan 2022 16:28:18 +0100
Subject: [PATCH] Tentative fix for NVIDIA 470.94 driver for Linux 5.17-rc1
See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=359745d78351c6f5442435f81549f0207ece28aa
---
common/inc/nv-procfs-utils.h | 3 +++
1 file changed, 3 insertions(+)
@joanbm
joanbm / broadcom-wl-fix-linux-5.17.patch
Last active May 10, 2022 16:40
Tentative fix for broadcom-wl 6.30.223.271 driver for Linux 5.17-rc1
From 31b7849092c43805c7fbaf7518b99874aa1b310c Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Wed, 12 Jan 2022 20:49:20 +0100
Subject: [PATCH] Tentative fix for broadcom-wl 6.30.223.271 driver for Linux 5.17-rc1
Set netdev->dev_addr through dev_addr_mod + PDE_DATA fix
Since Linux 5.17 netdev->dev_addr is const and must be changed through
dev_addr_mod, otherwise a warning is logged in dmesg and bad things may happen.
@joanbm
joanbm / nvidia-470xx-fix-linux-5.18.patch
Last active July 15, 2022 03:54
Tentative fix for NVIDIA 470.103.01 driver for Linux 5.18-rc1+
From 0ec02378bcc0d35d713fd93ba42c3848bc8b1077 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sat, 12 Mar 2022 08:37:32 +0100
Subject: [PATCH 1/2] Buildfix NVIDIA 470.103.01 for Linux 5.18-rc1 (part 1)
---
common/inc/nv-linux.h | 7 +++++++
nvidia-drm/nvidia-drm-drv.c | 4 ++++
nvidia-drm/nvidia-drm-gem.c | 6 ++++++
3 files changed, 17 insertions(+)
@joanbm
joanbm / broadcom-wl-fix-linux-5.18.patch
Last active June 3, 2022 11:26
Tentative fix for broadcom-wl 6.30.223.271 driver for Linux 5.18-rc1
From 8f8f04dcbb71f1a7c41c39b73c5f64bf01fc38cc Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Mon, 4 Apr 2022 21:53:54 +0200
Subject: [PATCH] Buildfix broadcom-wl 6.30.223.271 for Linux 5.18-rc1
Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-29 on Arch Linux.
See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d56baf6efaf14e2910610216c581ca71d6940012 (credit for reference @Satadru Pramanik)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7968778914e53788a01c2dee2692cab157de9ac0
---
@joanbm
joanbm / nvidia-470xx-fix-linux-5.19.patch
Created June 6, 2022 01:45
Tentative fix for NVIDIA 470.129.06 driver for Linux 5.19-rc1
From cc4acfadcd71ee07c8d1b29411620a79451780b9 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Wed, 13 Apr 2022 21:21:13 +0200
Subject: [PATCH] Buildfix NVIDIA 470.129.06 for Linux 5.19-rc1
---
nvidia-drm/nvidia-dma-resv-helper.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/nvidia-drm/nvidia-dma-resv-helper.h b/nvidia-drm/nvidia-dma-resv-helper.h
@joanbm
joanbm / broadcom-wl-fix-linux-6.0.patch
Created August 15, 2022 01:40
Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.0-rc1
From dbee29df729e543a89b3f95c1436e982eb0047c1 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Thu, 30 Jun 2022 02:15:35 +0200
Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.0-rc1
Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-33 on Arch Linux.
---
src/wl/sys/wl_cfg80211_hybrid.c | 5 +++++
1 file changed, 5 insertions(+)
@joanbm
joanbm / nvidia-470xx-fix-linux-6.0.patch
Created August 15, 2022 01:41
Tentative fix for NVIDIA 470.141.03 driver for Linux 6.0-rc1
From 17bed78791d6f311c83ff1794d085b18c9f89730 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Wed, 3 Aug 2022 00:56:57 +0200
Subject: [PATCH] Tentative fix for NVIDIA 470.141.03 driver for Linux 6.0-rc1
---
nvidia-drm/nvidia-drm-helper.c | 5 +++++
nvidia/nv-acpi.c | 5 ++++-
nvidia/nv.c | 3 ++-
3 files changed, 11 insertions(+), 2 deletions(-)
@joanbm
joanbm / nvidia-470xx-fix-linux-6.1.patch
Last active July 24, 2023 11:46
Tentative fix for NVIDIA 470.141.03 driver for Linux 6.1-rc1
From 5cadf6866eaf76a87aa4fe39bb7821655d5280f2 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Mon, 29 Aug 2022 15:01:53 +0200
Subject: [PATCH] Tentative fix for NVIDIA 470.141.03 driver for Linux 6.1-rc1
---
nvidia/os-interface.c | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/nvidia/os-interface.c b/nvidia/os-interface.c
@joanbm
joanbm / broadcom-wl-fix-linux-6.1.patch
Created October 18, 2022 06:45
Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.1-rc1
From a63a5f70e5cf05f6bce4cda2e0dd67462e1d76a5 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Mon, 29 Aug 2022 00:06:53 +0200
Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.1-rc1
Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-35 on Arch Linux
---
src/wl/sys/wl_cfg80211_hybrid.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
@joanbm
joanbm / nvidia-470xx-fix-linux-6.2.patch
Created December 25, 2022 23:03
Tentative fix for NVIDIA 470.161.03 driver for Linux 6.2-rc1
From 5db7eb5a62003bbe04f3f07d089fcf5445b34a29 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sun, 25 Dec 2022 22:05:14 +0000
Subject: [PATCH] Tentative fix for NVIDIA 470.161.03 driver for Linux 6.2-rc1
---
nvidia-drm/nvidia-drm-connector.c | 22 ++++++++++++++++++++++
nvidia-drm/nvidia-drm-drv.c | 4 ++++
nvidia/nv-acpi.c | 19 ++++++++++++++++---
3 files changed, 42 insertions(+), 3 deletions(-)