[nvidia-390xx-kmod] Update Release number and changelog in SPEC file
by Nicolas Viéville
commit 279f232edd80cbcf46a0eb1897a334e671ce6e2b
Author: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
Date: Sat Oct 5 10:17:07 2024 +0200
Update Release number and changelog in SPEC file
Signed-off-by: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
nvidia-390xx-kmod.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-390xx-kmod.spec b/nvidia-390xx-kmod.spec
index 0a8463b..bafe256 100644
--- a/nvidia-390xx-kmod.spec
+++ b/nvidia-390xx-kmod.spec
@@ -18,7 +18,7 @@ Name: nvidia-390xx-kmod
Epoch: 3
Version: 390.157
# Taken over by kmodtool
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: NVIDIA 390xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -105,6 +105,7 @@ Patch154: nvidia-390xx-kmod-0088-undef-NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESE
Patch155: nvidia-390xx-kmod-0089-kernel-6.10-removed-follow_pfn-function.patch
Patch156: nvidia-390xx-kmod-0090-fix_warning_suggested_braces_around_empty_body_in_if.patch
Patch157: nvidia-390xx-kmod-0091-fix_warning_old_style_declaration_.patch
+Patch158: nvidia-390xx-kmod-0092-fix_index_0_is_out_of_range_kernel_6.8_traces.patch
# build system updates
Patch30: use-kbuild-compiler.patch
@@ -225,6 +226,7 @@ tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{versi
%patch -P 155 -p1 -b 155
%patch -P 156 -p1 -b 156
%patch -P 157 -p1 -b 157
+%patch -P 158 -p1 -b 158
%ifarch armv7hl
%patch -P 40 -p1 -b 40 -d kernel
@@ -260,6 +262,11 @@ done
%changelog
+* Sat Oct 05 2024 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 3:390.157-12
+- Fix for 'index 0 is out of range for type 'uvm_gpu_chunk_t *[*]' and
+ uvm_page_directory_t *[*]' traces from kernel 6.8.x - RFBZ#7069
+ Thanks to Bruce Jerrick
+
* Mon Aug 19 2024 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 3:390.157-11
- Add patch for kernel >= 6.10 - RFBZ#7022
- Fix warning: suggest braces around empty body in an ‘if’ statement
1 day, 1 hour
[nvidia-390xx-kmod] Fix for 'index 0 is out of range for type 'uvm_gpu_chunk_t *[*]' and uvm_page_directory_t *[*]' trac
by Nicolas Viéville
commit 73d08802fdc2637b2781de39302b2f9f687ffffc
Author: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
Date: Sat Oct 5 09:51:00 2024 +0200
Fix for 'index 0 is out of range for type 'uvm_gpu_chunk_t *[*]' and uvm_page_directory_t *[*]' traces from kernel 6.8.x
Signed-off-by: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
...index_0_is_out_of_range_kernel_6.8_traces.patch | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/nvidia-390xx-kmod-0092-fix_index_0_is_out_of_range_kernel_6.8_traces.patch b/nvidia-390xx-kmod-0092-fix_index_0_is_out_of_range_kernel_6.8_traces.patch
new file mode 100644
index 0000000..f9d63f6
--- /dev/null
+++ b/nvidia-390xx-kmod-0092-fix_index_0_is_out_of_range_kernel_6.8_traces.patch
@@ -0,0 +1,47 @@
+From 2c7072fb5543e2be99f22682f6b561ece81dfdd6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= <nicolas.vieville(a)uphf.fr>
+Date: Thu, 3 Oct 2024 14:35:02 +0200
+Subject: [PATCH] Fix for 'index 0 is out of range for type 'uvm_gpu_chunk_t
+ *[*]' and uvm_page_directory_t *[*]' kernel 6.8.x traces. Suggested by:
+ https://forums.developer.nvidia.com/t/\
+ ubsan-array-index-out-of-bounds-complaints-in-newer-kernels/271705/5 Thanks
+ to Bruce Jerrick https://bugzilla.rpmfusion.org/show_bug.cgi?id=7069
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
+---
+ kernel/nvidia-uvm/uvm8_mmu.h | 2 +-
+ kernel/nvidia-uvm/uvm8_pmm_gpu.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/nvidia-uvm/uvm8_mmu.h b/kernel/nvidia-uvm/uvm8_mmu.h
+index cddd43f..cf50c95 100644
+--- a/kernel/nvidia-uvm/uvm8_mmu.h
++++ b/kernel/nvidia-uvm/uvm8_mmu.h
+@@ -76,7 +76,7 @@ struct uvm_page_directory_struct
+
+ // pointers to child directories on the host.
+ // this array is variable length, so it needs to be last to allow it to take up extra space
+- uvm_page_directory_t *entries[0];
++ uvm_page_directory_t *entries[];
+ };
+
+ struct uvm_mmu_mode_hal_struct
+diff --git a/kernel/nvidia-uvm/uvm8_pmm_gpu.c b/kernel/nvidia-uvm/uvm8_pmm_gpu.c
+index 602a286..6f0857e 100644
+--- a/kernel/nvidia-uvm/uvm8_pmm_gpu.c
++++ b/kernel/nvidia-uvm/uvm8_pmm_gpu.c
+@@ -209,7 +209,7 @@ struct uvm_pmm_gpu_chunk_suballoc_struct
+ // Array of all child subchunks
+ // TODO: Bug 1765461: Can the array be inlined? It could save the parent
+ // pointer.
+- uvm_gpu_chunk_t *subchunks[0];
++ uvm_gpu_chunk_t *subchunks[];
+ };
+
+ typedef enum
+--
+2.46.2
+
1 day, 1 hour
[mesa-freeworld] Update to 24.2.4
by Thorsten Leemhuis
commit de3a5c841acd5dd2dc0b3d1970161877d79d8435
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Fri Oct 4 12:15:03 2024 +0200
Update to 24.2.4
drop 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch
Update to 24.2.4
drop 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch
Update to 24.2.4
drop 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
.gitignore | 1 +
...-t-pass-avx512er-and-avx512pf-features-on.patch | 36 ----------------------
mesa-freeworld.spec | 11 ++++---
sources | 2 +-
4 files changed, 8 insertions(+), 42 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5df648a..ca1483f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,4 @@
/mesa-24.2.1.tar.xz
/mesa-24.2.2.tar.xz
/mesa-24.2.3.tar.xz
+/mesa-24.2.4.tar.xz
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index f7a3ae8..d19acc9 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -71,9 +71,9 @@ algorithms and decoding only VC1 algorithm.
Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
-%global ver 24.2.3
+%global ver 24.2.4
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@@ -85,9 +85,6 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
-# Backport of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31321 for LLVM 19 compat.
-Patch11: 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch
-
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -356,6 +353,10 @@ rm -fr %{buildroot}%{_libdir}{,/dri-freeworld}/libVkLayer_MESA_device_select.so
%endif
%changelog
+* Fri Oct 04 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.2.4-1
+- Update to 24.2.4
+- drop 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch
+
* Sun Sep 29 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.2.3-5
- rebuild for -Ehuman-not-enough-tee-error
diff --git a/sources b/sources
index 853f718..57a723f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mesa-24.2.3.tar.xz) = 7a1ace23568d1907b778a2859f97c8988a414ba74e02e1fb5af6f95f768e1b1a2dfdaf412b0d655678ed915d28273953fd1236ebcd87553a1880f1a7f3ea4d44
+SHA512 (mesa-24.2.4.tar.xz) = f0f1c23591cce85966efaf3988afdb14b64ceb7216b3994e8fc50e8ddc62c35a84b2013285c84080d963aec2afb94dac345f5f00e7ccf9ae7e9ab3f5b9ba0bcb
1 day, 23 hours
[nvidia-340xx-kmod/f41] Not compatible with new xorg version
by Leigh Scott
commit 1fc024788abf9273907b95830d14796cd69a5865
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Oct 4 08:07:40 2024 +0100
Not compatible with new xorg version
.gitignore | 0
dead.package | 1 +
fix-build-issues.patch | 5310 -----------------
fix_efi_enabled_type.patch | 12 -
gcc-14.patch | 13 -
import-files-from-390.157.patch | 9409 ------------------------------
kernel-6.3.1.patch | 108 -
kernel-6.5.2.patch | 77 -
kernel-6.6.1.patch | 14 -
kernel-6.6.8.patch | 11 -
nvidia-340xx-kmod.spec | 1531 -----
nvidia-kmodtool-excludekernel-filterfile | 1 -
sources | 0
13 files changed, 1 insertion(+), 16486 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..17cbeb4
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Not compatible with new xorg version
2 days, 2 hours
[xorg-x11-drv-nvidia-340xx/f41] Not compatible with new xorg version
by Leigh Scott
commit 58dce379290737667272f09170eda867e2994995
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Oct 4 08:07:27 2024 +0100
Not compatible with new xorg version
.gitignore | 18 -
00-avoid-glamor.conf | 6 -
00-ignoreabi.conf | 3 -
99-nvidia.conf | 12 -
alternate-install-present | 7 -
blacklist-nouveau.conf | 4 -
dead.package | 1 +
noautobuild | 1 -
nvidia-settings.desktop | 12 -
nvidia-xorg.conf | 6 -
nvidia.conf | 8 -
sources | 2 -
xorg-x11-drv-nvidia-340xx.spec | 1728 ----------------------------------------
13 files changed, 1 insertion(+), 1807 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..17cbeb4
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Not compatible with new xorg version
2 days, 2 hours
[xorg-x11-drv-nvidia-340xx] Not compatible with new xorg version
by Leigh Scott
commit 48f5fef5c64d238ca66a56134a986f421c698428
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Oct 4 08:06:47 2024 +0100
Not compatible with new xorg version
.gitignore | 18 -
00-avoid-glamor.conf | 6 -
00-ignoreabi.conf | 3 -
99-nvidia.conf | 12 -
alternate-install-present | 7 -
blacklist-nouveau.conf | 4 -
dead.package | 1 +
noautobuild | 1 -
nvidia-settings.desktop | 12 -
nvidia-xorg.conf | 6 -
nvidia.conf | 8 -
sources | 2 -
xorg-x11-drv-nvidia-340xx.spec | 1728 ----------------------------------------
13 files changed, 1 insertion(+), 1807 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..17cbeb4
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Not compatible with new xorg version
2 days, 2 hours