Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nvidia-open-driver-G07-signed for
openSUSE:Factory checked in at 2026-02-10 21:13:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed (Old)
and /work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1670
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvidia-open-driver-G07-signed"
Tue Feb 10 21:13:17 2026 rev:4 rq:1332242 version:590.48.01
Changes:
--------
---
/work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed/nvidia-open-driver-G07-signed.changes
2026-01-29 17:48:43.854970899 +0100
+++
/work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1670/nvidia-open-driver-G07-signed.changes
2026-02-10 21:14:01.775603370 +0100
@@ -1,0 +2,5 @@
+Tue Feb 10 11:46:22 UTC 2026 - Stefan Dirsch <[email protected]>
+
+- kernel-6.19.patch: fixes build against kernel 6.19
+
+-------------------------------------------------------------------
New:
----
kernel-6.19.patch
----------(New B)----------
New:
- kernel-6.19.patch: fixes build against kernel 6.19
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nvidia-open-driver-G07-signed.spec ++++++
--- /var/tmp/diff_new_pack.6bnEPS/_old 2026-02-10 21:14:02.467632367 +0100
+++ /var/tmp/diff_new_pack.6bnEPS/_new 2026-02-10 21:14:02.467632367 +0100
@@ -101,6 +101,7 @@
Source15: kmp-trigger.sh
Source17: kmp-post.sh
Source18: Check4WrongSupplements.sh
+Patch0: kernel-6.19.patch
BuildRequires: %{kernel_module_package_buildreqs}
BuildRequires: fdupes
BuildRequires: gcc-c++
++++++ kernel-6.19.patch ++++++
diff -u -r -p
open-gpu-kernel-modules-590.48.01.orig/kernel-open/nvidia-uvm/uvm_hmm.c
open-gpu-kernel-modules-590.48.01/source/kernel-open/nvidia-uvm/uvm_hmm.c
--- open-gpu-kernel-modules-590.48.01.orig/kernel-open/nvidia-uvm/uvm_hmm.c
2026-02-10 12:51:15.572933126 +0100
+++ open-gpu-kernel-modules-590.48.01/kernel-open/nvidia-uvm/uvm_hmm.c
2026-02-10 12:55:36.038769667 +0100
@@ -2140,7 +2140,11 @@ static void fill_dst_pfn(uvm_va_block_t
UVM_ASSERT(!page_count(dpage));
UVM_ASSERT(!dpage->zone_device_data);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+ zone_device_page_init(dpage, NULL, 0);
+#else
zone_device_page_init(dpage);
+#endif
dpage->zone_device_data = gpu_chunk;
atomic64_inc(&va_block->hmm.va_space->hmm.allocated_page_count);
}
diff --git a/kernel-open/nvidia-uvm/uvm_pmm_gpu.c
b/kernel-open/nvidia-uvm/uvm_pmm_gpu.c
index 97ff13dc..6add3ede 100644
--- a/kernel-open/nvidia-uvm/uvm_pmm_gpu.c
+++ b/kernel-open/nvidia-uvm/uvm_pmm_gpu.c
@@ -177,6 +177,8 @@
#include "uvm_test.h"
#include "uvm_linux.h"
+#include <linux/version.h>
+
#if defined(CONFIG_PCI_P2PDMA) && defined(NV_STRUCT_PAGE_HAS_ZONE_DEVICE_DATA)
#include <linux/pci-p2pdma.h>
#endif
@@ -2999,8 +3001,13 @@ static bool uvm_pmm_gpu_check_orphan_pages(uvm_pmm_gpu_t
*pmm)
return ret;
}
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+static void devmem_folio_free(struct folio *folio) {
+ struct page *page = &folio->page;
+#else
static void devmem_page_free(struct page *page)
{
+#endif
uvm_gpu_chunk_t *chunk = uvm_pmm_devmem_page_to_chunk(page);
uvm_gpu_t *gpu = uvm_gpu_chunk_get_gpu(chunk);
@@ -3060,7 +3067,11 @@ static vm_fault_t devmem_fault_entry(struct vm_fault
*vmf)
static const struct dev_pagemap_ops uvm_pmm_devmem_ops =
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+ .folio_free = devmem_folio_free,
+#else
.page_free = devmem_page_free,
+#endif
.migrate_to_ram = devmem_fault_entry,
};
@@ -3148,8 +3159,14 @@ static void device_p2p_page_free_wake(struct nv_kref
*ref)
wake_up(&p2p_mem->waitq);
}
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+static void device_p2p_folio_free(struct folio *folio)
+{
+ struct page *page = &folio->page;
+#else
static void device_p2p_page_free(struct page *page)
{
+#endif
uvm_device_p2p_mem_t *p2p_mem = page->zone_device_data;
page->zone_device_data = NULL;
@@ -3158,14 +3175,25 @@ static void device_p2p_page_free(struct page *page)
#endif
#if UVM_CDMM_PAGES_SUPPORTED()
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+static void device_coherent_folio_free(struct folio *folio)
+{
+ device_p2p_folio_free(folio);
+}
+#else
static void device_coherent_page_free(struct page *page)
{
device_p2p_page_free(page);
}
+#endif
static const struct dev_pagemap_ops uvm_device_coherent_pgmap_ops =
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+ .folio_free = device_coherent_folio_free,
+#else
.page_free = device_coherent_page_free,
+#endif
};
static NV_STATUS uvm_pmm_cdmm_init(uvm_parent_gpu_t *parent_gpu)
@@ -3302,7 +3330,11 @@ static bool uvm_pmm_gpu_check_orphan_pages(uvm_pmm_gpu_t
*pmm)
static const struct dev_pagemap_ops uvm_device_p2p_pgmap_ops =
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 19, 0)
+ .folio_free = device_p2p_folio_free,
+#else
.page_free = device_p2p_page_free,
+#endif
};
void uvm_pmm_gpu_device_p2p_init(uvm_parent_gpu_t *parent_gpu)