[nvidia-470xx-kmod/f37] Added patch for the Linux kernel 6.3 support.
by Vitaly Zaitsev
commit 8f87cf4b30ae1fa4dabf48909fc5ecc5ccda9dc9
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat May 20 11:28:11 2023 +0200
Added patch for the Linux kernel 6.3 support.
nvidia-470xx-kmod.spec | 8 ++-
nvidia-470xx-linux-6.3-build-fixes.patch | 117 +++++++++++++++++++++++++++++++
2 files changed, 124 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-470xx-kmod.spec b/nvidia-470xx-kmod.spec
index bd63ddd..197b9a9 100644
--- a/nvidia-470xx-kmod.spec
+++ b/nvidia-470xx-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-470xx-kmod
Epoch: 3
Version: 470.182.03
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Redistributable, no modification permitted
Summary: NVIDIA 470xx display driver kernel module
@@ -20,6 +20,8 @@ URL: https://www.nvidia.com/
Source11: nvidia-470xx-kmodtool-excludekernel-filterfile
+Patch20: nvidia-470xx-linux-6.3-build-fixes.patch
+
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: x86_64
@@ -42,6 +44,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterf
%setup -T -c
tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
+%patch20 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -73,6 +76,9 @@ done
%{?akmod_install}
%changelog
+* Sat May 20 2023 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3:470.182.03-2
+- Added patch for the Linux kernel 6.3 support.
+
* Fri Mar 31 2023 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3:470.182.03-1
- Updated to version 470.182.03.
diff --git a/nvidia-470xx-linux-6.3-build-fixes.patch b/nvidia-470xx-linux-6.3-build-fixes.patch
new file mode 100644
index 0000000..33d9cf8
--- /dev/null
+++ b/nvidia-470xx-linux-6.3-build-fixes.patch
@@ -0,0 +1,117 @@
+From a77f2da778f4a62695a6c7d26bba674d59ad9170 Mon Sep 17 00:00:00 2001
+From: Joan Bruguera <joanbrugueram(a)gmail.com>
+Date: Sat, 25 Feb 2023 10:57:09 +0000
+Subject: [PATCH] Tentative fix for NVIDIA 470.161.03 driver for Linux 6.3-rc1
+
+---
+ kernel/common/inc/nv-linux.h | 13 +++++++++++++
+ kernel/nvidia-drm/nvidia-drm-gem-user-memory.c | 7 ++++---
+ kernel/nvidia-uvm/uvm.c | 2 +-
+ kernel/nvidia/nv-mmap.c | 12 ++++++------
+ 4 files changed, 24 insertions(+), 10 deletions(-)
+
+diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h
+index f8df9e3..5b22cf1 100644
+--- a/kernel/common/inc/nv-linux.h
++++ b/kernel/common/inc/nv-linux.h
+@@ -1988,4 +1988,17 @@ static inline void nv_mutex_destroy(struct mutex *lock)
+
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
++// Rel. commit "mm: introduce vma->vm_flags wrapper functions" (Suren Baghdasaryan, 26 Jan 2023)
++static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
++{
++ vma->vm_flags |= flags;
++}
++
++static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
++{
++ vma->vm_flags &= ~flags;
++}
++#endif
++
+ #endif /* _NV_LINUX_H_ */
+diff --git a/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c b/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c
+index 8824daa..3ea9099 100644
+--- a/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c
++++ b/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c
+@@ -35,6 +35,7 @@
+ #include "linux/dma-buf.h"
+ #include "linux/mm.h"
+ #include "nv-mm.h"
++#include "nv-linux.h"
+
+ static inline
+ void __nv_drm_gem_user_memory_free(struct nv_drm_gem_object *nv_gem)
+@@ -92,9 +93,9 @@ static int __nv_drm_gem_user_memory_mmap(struct nv_drm_gem_object *nv_gem,
+ return -EINVAL;
+ }
+
+- vma->vm_flags &= ~VM_PFNMAP;
+- vma->vm_flags &= ~VM_IO;
+- vma->vm_flags |= VM_MIXEDMAP;
++ vm_flags_clear(vma, VM_PFNMAP);
++ vm_flags_clear(vma, VM_IO);
++ vm_flags_set(vma, VM_MIXEDMAP);
+
+ return 0;
+ }
+diff --git a/kernel/nvidia-uvm/uvm.c b/kernel/nvidia-uvm/uvm.c
+index 3e7318d..7eddff7 100644
+--- a/kernel/nvidia-uvm/uvm.c
++++ b/kernel/nvidia-uvm/uvm.c
+@@ -812,7 +812,7 @@ static int uvm_mmap(struct file *filp, struct vm_area_struct *vma)
+ // Using VM_DONTCOPY would be nice, but madvise(MADV_DOFORK) can reset that
+ // so we have to handle vm_open on fork anyway. We could disable MADV_DOFORK
+ // with VM_IO, but that causes other mapping issues.
+- vma->vm_flags |= VM_MIXEDMAP | VM_DONTEXPAND;
++ vm_flags_set(vma, VM_MIXEDMAP | VM_DONTEXPAND);
+
+ vma->vm_ops = &uvm_vm_ops_managed;
+
+diff --git a/kernel/nvidia/nv-mmap.c b/kernel/nvidia/nv-mmap.c
+index df514c9..8f85ff6 100644
+--- a/kernel/nvidia/nv-mmap.c
++++ b/kernel/nvidia/nv-mmap.c
+@@ -447,7 +447,7 @@ static int nvidia_mmap_numa(
+ }
+
+ // Needed for the linux kernel for mapping compound pages
+- vma->vm_flags |= VM_MIXEDMAP;
++ vm_flags_set(vma, VM_MIXEDMAP);
+
+ for (i = 0, addr = mmap_context->page_array[0]; i < pages;
+ addr = mmap_context->page_array[++i], start += PAGE_SIZE)
+@@ -596,7 +596,7 @@ int nvidia_mmap_helper(
+ }
+ up(&nvl->mmap_lock);
+
+- vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND;
++ vm_flags_set(vma, VM_IO | VM_PFNMAP | VM_DONTEXPAND);
+ }
+ else
+ {
+@@ -663,15 +663,15 @@ int nvidia_mmap_helper(
+
+ NV_PRINT_AT(NV_DBG_MEMINFO, at);
+
+- vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
+- vma->vm_flags |= (VM_DONTEXPAND | VM_DONTDUMP);
++ vm_flags_set(vma, VM_IO | VM_LOCKED | VM_RESERVED);
++ vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP);
+ }
+
+ if ((prot & NV_PROTECT_WRITEABLE) == 0)
+ {
+ vma->vm_page_prot = NV_PGPROT_READ_ONLY(vma->vm_page_prot);
+- vma->vm_flags &= ~VM_WRITE;
+- vma->vm_flags &= ~VM_MAYWRITE;
++ vm_flags_clear(vma, VM_WRITE);
++ vm_flags_clear(vma, VM_MAYWRITE);
+ }
+
+ vma->vm_ops = &nv_vm_ops;
+--
+2.39.2
+
1 year, 6 months
[kodi-pvr-iptvsimple] Update to 20.10.1 + fix RFBZ #6656
by Mohamed ElMorabity
commit a2f03247ed296e51537d5817f3ca40866e81a1e9
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Fri May 19 17:42:11 2023 +0200
Update to 20.10.1 + fix RFBZ #6656
.gitignore | 1 +
kodi-pvr-iptvsimple.spec | 9 +++++++--
sources | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d8f84ae..e608ae8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/pvr.iptvsimple-20.7.0.tar.gz
/pvr.iptvsimple-20.8.0.tar.gz
/pvr.iptvsimple-20.9.1.tar.gz
+/pvr.iptvsimple-20.10.1.tar.gz
diff --git a/kodi-pvr-iptvsimple.spec b/kodi-pvr-iptvsimple.spec
index 9eafd75..fd7f5c9 100644
--- a/kodi-pvr-iptvsimple.spec
+++ b/kodi-pvr-iptvsimple.spec
@@ -6,7 +6,7 @@ Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 20.9.1
+Version: 20.10.1
Release: 1%{?dist}
Summary: Simple IPTV PVR for Kodi
@@ -24,7 +24,8 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: xz-devel
Requires: kodi >= %{kodi_version}
Requires: kodi-inputstream-adaptive%{?_isa} >= %{kodi_version}
-Requires: kodi-inputstream-ffmpegdirect%{?_isa} >= %{kodi_version}
+# TODO: uncomment once kodi-inputstream-ffmpegdirect is packaged (see RFBZ #6387)
+# Requires: kodi-inputstream-ffmpegdirect%%{?_isa} >= %%{kodi_version}
Requires: kodi-inputstream-rtmp%{?_isa} >= %{kodi_version}
ExcludeArch: %{power64}
@@ -61,6 +62,10 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/%{name}.met
%changelog
+* Fri May 19 2023 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:20.10.1-1
+- Update to 20.10.1
+- Fix Requires (RFBZ #6656)
+
* Mon Mar 27 2023 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:20.9.1-1
- Update to 20.9.1
diff --git a/sources b/sources
index 2162132..bfbc27a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.iptvsimple-20.9.1.tar.gz) = cca3e713631bb3bc37012914c178dff1b1f54c79638182491c17030e510619200972cd9d4d6c03b5c246029a9bd2a0760a29ac951bcc2d8c2081328e560bbdcb
+SHA512 (pvr.iptvsimple-20.10.1.tar.gz) = 174686be158cc6900d2465ac9523cc243633a010bdcd98c27eebb6d96e47a794450830975267ef9e5222399b976cc427b24af3004e248ece339532a0805b9d48
1 year, 6 months
[vdr-markad/f37] Update to 3.2.7
by Martin Gansser
Summary of changes:
64a052b... Update to 3.2.7 (*)
(*) This commit already existed in another branch; no separate mail sent
1 year, 6 months
[vdr-markad/f38] Update to 3.2.7
by Martin Gansser
Summary of changes:
64a052b... Update to 3.2.7 (*)
(*) This commit already existed in another branch; no separate mail sent
1 year, 6 months
[vdr-markad] Update to 3.2.7
by Martin Gansser
commit 64a052be84571d7302e9e740e86e5673fe99f527
Author: Martin Gansser <mgansser(a)online.de>
Date: Thu May 18 10:21:30 2023 +0200
Update to 3.2.7
.gitignore | 1 +
sources | 2 +-
vdr-markad.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4f33dd6..9e891e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,3 +63,4 @@ vdr-plugin-markad-74e2a8c5382fa8bfacd12274899112724a1e0d51.tar.bz2
/vdr-markad-3.2.4.tar.gz
/vdr-markad-3.2.5.tar.gz
/vdr-markad-3.2.6.tar.gz
+/vdr-markad-3.2.7.tar.gz
diff --git a/sources b/sources
index 7c5d2f4..df0a092 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vdr-markad-3.2.6.tar.gz) = ee36ff53a68702d9bb681e7aef3cd9578c49196c0d1923dbeaa28ea854f3cbd97d8bbaf8bb07693072497bff421292fbf264954ca3972af111e0e66527d95a05
+SHA512 (vdr-markad-3.2.7.tar.gz) = 43b7893c2c4a80393c93e708c770c2cf57d1971935f08e846e0257e1faf4b7d3f8b7f29bc68c5916660072ad195a32fc1662746bd102d5d2cb4f8e6460d55bad
diff --git a/vdr-markad.spec b/vdr-markad.spec
index 212b2a9..eb6b1d5 100644
--- a/vdr-markad.spec
+++ b/vdr-markad.spec
@@ -5,7 +5,7 @@
%endif
Name: vdr-markad
-Version: 3.2.6
+Version: 3.2.7
Release: 1%{?dist}
Summary: Advanced commercial detection for VDR
License: GPLv2+
@@ -71,6 +71,9 @@ fi
%doc html
%changelog
+* Thu May 18 2023 Martin Gansser <martinkg(a)fedoraproject.org> - 3.2.7-1
+- Update to 3.2.7
+
* Fri May 05 2023 Martin Gansser <martinkg(a)fedoraproject.org> - 3.2.6-1
- Update to 3.2.6
1 year, 6 months
[nvidia-open-kmod/el8: 13/13] Update to 525.116.04
by Nicolas Chauvet
commit f5f391352349e9735ec7627725cb7f26c4590509
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed May 17 18:51:17 2023 +0200
Update to 525.116.04
nvidia-open-kmod.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec
index acd95b8..0fa1196 100644
--- a/nvidia-open-kmod.spec
+++ b/nvidia-open-kmod.spec
@@ -10,7 +10,7 @@
Name: nvidia-open-kmod
Epoch: 3
-Version: 525.89.02
+Version: 525.116.04
# Taken over by kmodtool
Release: 1%{?dist}
Summary: NVIDIA open display driver kernel module
@@ -77,6 +77,9 @@ done
%changelog
+* Wed May 17 2023 Nicolas Chauvet <kwizart(a)gmail.com> - 3:525.116.04-1
+- Update to 525.116.04
+
* Fri Feb 10 2023 Leigh Scott <leigh123linux(a)gmail.com> - 3:525.89.02-1
- Update to 525.89.02
diff --git a/sources b/sources
index 506cf62..e0ebef1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (open-gpu-kernel-modules-525.89.02.tar.gz) = 335f5f43eccc25b6b390bef18237cc9042f3c4edf2b759d3b99319c974bec4c4bfd360bed7b4ab2bbf7b48ce2769eb390c96f9ee5b5a7e91035cac56708ae339
+SHA512 (open-gpu-kernel-modules-525.116.04.tar.gz) = ed8c353d65ffd6abfa78c20e4a6d25085e8c2b92a65b659a980113075c2dbe12f75b26b774d62d3186ad883f18f88145eed82825ac66881048358a78401a88ef
1 year, 6 months
[nvidia-open-kmod/el8] (13 commits) ...Update to 525.116.04
by Nicolas Chauvet
Summary of changes:
730488c... Update to 515.76 (*)
51c1e16... Update to 520.56.06 (*)
90ddf50... Change gcc to gcc-c++ requires (*)
e706856... Bump changelog (*)
13c3060... Update to 525.53 beta (*)
6cd79ff... fix debug issue (*)
c2f13ea... Update to 525.60.11 (*)
74756a1... Disable ppc64le failing to build on RHEL (*)
62ceb6a... Update to 525.78.01 (*)
31d545a... Update to 525.85.05 (*)
bb22dd4... Update to 525.89.02 (*)
d0fbeac... Merge commit 'bb22dd4bc9f1634ffbda84003232fd21eece3d37' int
f5f3913... Update to 525.116.04
(*) This commit already existed in another branch; no separate mail sent
1 year, 6 months