Skip to content

Instantly share code, notes, and snippets.

@louzt
Last active November 15, 2026 01:48
Show Gist options
  • Select an option

  • Save louzt/1c85044d5090d19223c3f5edf426a19e to your computer and use it in GitHub Desktop.

Select an option

Save louzt/1c85044d5090d19223c3f5edf426a19e to your computer and use it in GitHub Desktop.
RFC: C Patch + instructions for NVIDIA 550.x/580.x DKMS on Linux Kernel 7.0+. Wayland USB-C D3cold fix + strlcpy→strscpy note included.
--- a/nvidia-drm/nvidia-dma-fence-helper.h
+++ b/nvidia-drm/nvidia-dma-fence-helper.h
@@ -95,15 +95,31 @@
* Forward port: kernel 7.0+ changed return type of dma_fence_signal_locked()
* from int to void. Wrap calls to preserve the original numerical semantics.
*/
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
+static inline bool nv_dma_fence_signal_locked(struct dma_fence *fence)
+{
+ dma_fence_signal_locked(fence);
+ /* Kernel 7.0+: signal_locked returns void. Preserve the boolean
+ * semantics by returning true if the fence was signaled by this call,
+ * false otherwise. We approximate with the fence->seqno comparison.
+ */
+ return READ_ONCE(fence->seqno) == fence->signaled;
+}
+#else
static inline int nv_dma_fence_signal_locked(struct dma_fence *fence)
{
return dma_fence_signal_locked(fence);
}
+#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
static inline bool nv_dma_fence_signal(struct dma_fence *fence)
{
+ /* Re-implement to handle the void return of dma_fence_signal_locked */
unsigned long flags;
bool signaled;
dma_fence_get(fence);
spin_lock_irqsave(fence->lock, flags);
- signaled = nv_dma_fence_signal_locked(fence);
+ nv_dma_fence_signal_locked(fence);
+ signaled = !READ_ONCE(fence->error);
spin_unlock_irqrestore(fence->lock, flags);
dma_fence_put(fence);
--- a/nvidia/nv-mmap.c
+++ b/nvidia/nv-mmap.c
@@ -29,8 +29,6 @@
#define __NO_VERSION__
#include "os-interface.h"
-
#include "nv-linux.h"
#include "nv_speculation_barrier.h"
@@ -38,6 +36,17 @@
#include "nv_pat_apis.h"
#include "nv-procfs.h"
+/*
+ * Kernel 7.0+ compatibility: VMA_LOCK_OFFSET was removed from mm_types.h
+ * and __is_vma_write_locked() signature changed from 2 args to 1 arg.
+ * This block provides forward-compatible definitions.
+ */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
+ #ifndef VMA_LOCK_OFFSET
+ #define VMA_LOCK_OFFSET ((NvU32)1 << 31)
+ #endif
+#endif
+
#if !NV_CAN_CALL_VMA_START_WRITE
@@ -847,6 +856,9 @@ static void nv_vma_release(struct vm_area_struct *vma)
#if !NV_CAN_CALL_VMA_START_WRITE
static NvBool nv_vma_enter_locked(struct vm_area_struct *vma, NvBool detaching)
{
+ /* tgt_refcnt uses VMA_LOCK_OFFSET which is now defined above for 7.0+ */
NvU32 tgt_refcnt = VMA_LOCK_OFFSET;
NvBool interrupted = NV_FALSE;
if (!detaching)
@@ -888,20 +901,30 @@ static NvBool nv_vma_enter_locked(struct vm_area_struct *vma, NvBool detaching)
/*
* Helper function to handle VMA locking and refcount management.
*/
void nv_vma_start_write(struct vm_area_struct *vma)
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
+ /* Kernel 7.0+: __is_vma_write_locked takes only 1 argument (vma).
+ * Use __vma_raw_mm_seqnum() instead of local mm_lock_seq variable.
+ */
+ if (__is_vma_write_locked(vma))
+ return;
+
+ {
+ NvBool locked = nv_vma_enter_locked(vma, NV_FALSE);
+ WRITE_ONCE(vma->vm_lock_seq, __vma_raw_mm_seqnum(vma));
+ if (locked)
+ {
+ NvBool detached;
+ detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
+ rwsem_release(&vma->vmlock_dep_map, _RET_IP_);
+ WARN_ON_ONCE(detached);
+ }
+ }
+#else
+ /* Kernel ≤6.x: __is_vma_write_locked takes 2 arguments (vma, &seq) */
NvU32 mm_lock_seq;
NvBool locked;
if (__is_vma_write_locked(vma, &mm_lock_seq))
return;
locked = nv_vma_enter_locked(vma, NV_FALSE);
-
WRITE_ONCE(vma->vm_lock_seq, mm_lock_seq);
if (locked)
{
NvBool detached;
detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
rwsem_release(&vma->vmlock_dep_map, _RET_IP_);
WARN_ON_ONCE(detached);
}
+#endif
}
EXPORT_SYMBOL(nv_vma_start_write);
#endif // !NV_CAN_CALL_VMA_START_WRITE
--- a/common/inc/nv-mm.h
+++ b/common/inc/nv-mm.h
@@ -313,7 +313,11 @@ static inline void nv_vma_flags_set_word(struct vm_area_struct *vma, unsigned long flags)
#if defined(NV_VMA_FLAGS_SET_WORD_PRESENT)
vma_flags_set_word(&vma->flags, flags);
#else
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
+ vm_flags_reset(vma, vma->vm_flags | flags);
+ #else
ACCESS_PRIVATE(vma, __vm_flags) |= flags;
+ #endif
#endif
}
@@ -323,7 +327,11 @@ static inline void nv_vma_flags_clear_word(struct vm_area_struct *vma, unsigned long flags)
#if defined(NV_VMA_FLAGS_SET_WORD_PRESENT)
vma_flags_clear_word(&vma->flags, flags);
#else
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 0, 0)
+ vm_flags_reset(vma, vma->vm_flags & ~flags);
+ #else
ACCESS_PRIVATE(vma, __vm_flags) &= ~flags;
+ #endif
#endif
}
#endif // !NV_CAN_CALL_VMA_START_WRITE
--- a/conftest.sh
+++ b/conftest.sh
@@ -4331,6 +4331,7 @@
#include <drm/drm_connector.h>
int conftest_drm_connector_list_iter(void) {
struct drm_connector_list_iter conn_iter;
+ return 0;
}"
compile_check_conftest "$CODE" "NV_DRM_CONNECTOR_LIST_ITER_PRESENT" "" "types"

Architectural Analysis & RFC Patch: NVIDIA 550.x/580.x DKMS on Kernel 7.0+ & Wayland D3cold

TL;DR (2026-07-12 update): If your hardware supports the 610.x production branch (RTX 2060+, most modern cards), use nvidia-driver from contrib non-free repo per Debian Wiki. It's actively maintained and already supports Kernel 7.0+. The 550/580 patch below is a band-aid for legacy/mobile cards (RTX 3050 Mobile, Quadro P1000) where upgrading to 610 is not an option due to CUDA dependency or hardware constraints.

Hitting a DKMS rebuild loop after unattended-upgrade installs new kernel headers? Jump to §5: DKMS Loop Diagnosis & Triage — that's the most common reason this gist shows up in search results, and it's the section most Debian/Ubuntu users actually need before touching the patches below.


⚠️ DISCLAIMER & CALL FOR TESTING

This is an RFC (Request for Comments) patch series. I derived these patches from forensic analysis of the kernel 7.0 API changes, validated with build logs from the community. Use at your own risk. If you are on 7.0+ and willing to test the patches, please leave a comment with your build logs!

If you just want a working system right now, pin to kernel 6.19:

sudo apt-mark hold linux-image-amd64 linux-headers-amd64 nvidia-driver nvidia-kernel-dkms

Table of Contents

  1. The Problem Architecture
  2. Branch Compatibility Matrix
  3. RFC Fix 1: VMA API (Three patches)
  4. Fix 2: Wayland USB-C / D3cold Lockups
  5. [NEW 2026-11-14] RFC Fix 3: the conftest that lies on every kernel ≥ 6.9 — silent wrong-API detection → 2.500-3.000 WARN_ON/day
  6. [NEW 2026-11-14] Correction: what actually failed on the author's machine — OOM, not API; half-installed packages; and why hand-editing /usr/src backfires
  7. [NEW 2026-07-12 v3] DKMS Loop Diagnosis & Triage — universal recipe for any Debian/Ubuntu/Arch/Fedora user
  8. Why Distrobox + Arch is the Escape Hatch
  9. References
  10. Acknowledgements
  11. Changelog

The Problem Architecture

graph TD
    subgraph "Kernel 7.0 API Breakage — NVIDIA 550/580 Branch"
        A["VMA_LOCK_OFFSET removed from<br/>include/linux/mm_types.h"] --> C["DKMS build fails in nv-mmap.c"]
        B["__is_vma_write_locked()<br/>signature: 2 args → 1 arg"] --> C
        E["dma_fence_signal_locked()<br/>return type: int → void"] --> D["DKMS build fails in nvidia-drm/<br/>nvidia-dma-fence-helper.h"]
        F["strlcpy() removed<br/>(580.x only)"] --> D
    end

    subgraph "Wayland / ACPI D3cold Conflict"
        G["USB-C Monitor Plugged"] --> H["GPU wakes from D3cold"]
        H --> I{"Wayland compositor<br/>EGL context established?"}
        I -->|"No — compositor ignores NVIDIA"| J["GPU panic → fans 100%"]
        I -->|"Yes — nvidia_drm.fbdev=1<br/>NVreg_DynamicPowerManagement=0x02"| K["Monitor works normally"]
    end
Loading

Kernel 7.0 broke NVIDIA DKMS in 4 main ways (550/580 branch)

# Issue Old API (≤6.x) New API (7.0+) File Affected Patch
1 VMA_LOCK_OFFSET Defined in include/linux/mm_types.h Removed — must redefine as (1u << 31) nvidia/nv-mmap.c nvidia-7.0-vma.patch
2 __is_vma_write_locked(vma, &seq) 2 arguments 1 argument — now __is_vma_write_locked(vma) nvidia/nv-mmap.c nvidia-7.0-vma.patch
3 dma_fence_signal_locked() Returns int Returns void nvidia-drm/nvidia-dma-fence-helper.h nvidia-7.0-drm.patch
4 strlcpy() Available Removed — replaced by strscpy() (580.x only) Multiple sed pre-build
5 __vm_flags field in struct vm_area_struct Present — accessed via ACCESS_PRIVATE(vma, __vm_flags) Removed — replaced by vm_flags_reset() inline common/inc/nv-mm.h nvidia-7.0-vmflags.patch

Note 1: Error #4 (strlcpy) affects NVIDIA driver branches 580.x and newer, not 550.x. Note 2: Error #3 (nvidia-dma-fence-helper.h) is a second build failure that appears AFTER fixing the VMA offset. Multiple testers hit this regardless of branch (550 or 580). Note 3: Error #5 (__vm_flags removal) appears on kernels 7.0.2+ — earlier 7.0.x point releases may not have this yet. If your build fails in nv-mm.h after applying patches 1-3, this is likely the cause.


Branch Compatibility Matrix (2026-07-13)

NVIDIA Branch Kernel ≤6.19 Kernel 7.0–7.1 Kernel 7.2+ DKMS Patch Required
550.163.01 (RTX 3050 Mobile, older Quadro) ✅ Native ⚠️ Patch #1+#2+#3 ⚠️ Patch #1+#2+#3+#5 vma.patch + drm.patch + vmflags.patch
580.x (Quadro P1000+ for CUDA) ✅ Native ⚠️ Patch #1+#2+#3 ⚠️ Patch #1+#2+#3+#4+#5 vma.patch + drm.patch + vmflags.patch + strscpy sed
595.x ✅ Native ✅ Native ✅ Native None needed
610.43.02 (production, RTX 20+) ✅ Native ✅ Native ✅ Native None needed (recommended path)

Recommendation:

  • Hardware supported by 610: Use contrib non-free repo (nvidia-driver meta-package). Per Debian Wiki NvidiaGraphicsDrivers, this is the clean, supported path.
  • Hardware locked to 550/580 by CUDA/workstation constraints: Apply the patches in this gist.

RFC Fix 1: VMA API (Three patches, depending on kernel version and errors)

The original patch only fixed nv-mmap.c. dCSeven reported in the gist comments that there's also a build failure in nvidia-drm/nvidia-dma-fence-helper.h that must be patched separately.

Patch 1a: nvidia-7.0-vma.patch (VMA lock + VMA_LOCK_OFFSET)

(See attached nvidia-7.0-vma.patch file in this Gist)

Patch 1b: nvidia-7.0-drm.patch (dma_fence_signal_locked void return)

(See attached nvidia-7.0-drm.patch file in this Gist)

Patch 1c: nvidia-7.0-vmflags.patch (__vm_flags removal, kernel 7.0.2+)

(See attached nvidia-7.0-vmflags.patch file in this Gist)

When do you need Patch 1c? If patches 1a+1b apply cleanly but your build still fails in common/inc/nv-mm.h, you are on kernel 7.0.2 or later where __vm_flags was removed from struct vm_area_struct. Apply Patch 1c additionally.

Combined auto-patching via dkms.conf

# 0. The patch files MUST live in <source>/patches/ — DKMS applies them from
#    $build_dir/patches/$p and does not copy them (dkms:1449).
sudo mkdir -p /usr/src/nvidia-current-550.163.01/patches/
sudo cp nvidia-7.0-vma.patch nvidia-7.0-drm.patch nvidia-7.0-vmflags.patch \
        nvidia-conftest-return-type.patch \
        /usr/src/nvidia-current-550.163.01/patches/

# 1. Add to /usr/src/nvidia-current-550.163.01/dkms.conf:
#    NOTE: indices must be CONTIGUOUS from 0 — dkms iterates
#    index=0..${#PATCH[@]}-1 and ${#PATCH[@]} counts ELEMENTS.
PATCH[0]="nvidia-7.0-vma.patch"
PATCH_MATCH[0]="^7\\.[0-9]+"
PATCH[1]="nvidia-7.0-drm.patch"
PATCH_MATCH[1]="^7\\.[0-9]+"
PATCH[2]="nvidia-7.0-vmflags.patch"
PATCH_MATCH[2]="^7\\.[2-9]+\\.[0-9]+"   # kernel 7.2+
PATCH[3]="nvidia-conftest-return-type.patch"   # no PATCH_MATCH: applies to every kernel

# 580 branch only: pre-process strlcpy → strscpy
if [ "$(grep -c '"580"' /usr/src/nvidia-current-*/dkms.conf 2>/dev/null)" -gt 0 ]; then
  cd /usr/src/nvidia-current-580.*/
  sudo sed -i 's/strlcpy/strscpy/g' $(find . -name "*.c")
fi

# --force: without it dkms reuses the previously built .ko (0 s, stale module).
# parallel_jobs: never -j$(nproc) on a memory-constrained box (the OOM of §C).
sudo parallel_jobs=4 dkms build --force -m nvidia-current -v 550.163.01 -k $(uname -r)
sudo parallel_jobs=4 dkms install -m nvidia-current -v 550.163.01 -k $(uname -r)
sudo update-initramfs -u -k $(uname -r)

Fix 2: Wayland USB-C / D3cold Lockups (Tested & Working)

In hybrid Optimus laptops (AMD iGPU + NVIDIA dGPU), the USB-C DisplayPort alt-mode is physically wired to the NVIDIA dGPU. When your compositor routes rendering through the AMD iGPU for power saving, the NVIDIA GPU enters D3cold. Hotplug a monitor → GPU wakes up but Wayland never establishes an EGL context → panic and fans at 100%.

1. Kernel Parameters (GRUB) — append to GRUB_CMDLINE_LINUX_DEFAULT:

nvidia-drm.modeset=1 nvidia_drm.fbdev=1

Run sudo update-grub and reboot.

2. Modprobe Power Management Rule — create /etc/modprobe.d/nvidia-pm.conf:

options nvidia NVreg_DynamicPowerManagement=0x02

RFC Fix 3: NVIDIA's own conftest lies on every kernel ≥ 6.9 (silent wrong-API detection)

This one is not about kernel 7.0. It affects the kernel you are running right now, it is silent, and it is a driver bug — not a kernel bug.

The symptom

On any kernel ≥ 6.9, the 550.x driver probes struct drm_connector_list_iter as absent, even though the kernel has provided it since Linux 4.11 (2016). The driver then compiles its legacy connector-iterator branch, which carries:

WARN_ON(!mutex_is_locked(&dev->mode_config.mutex));

That WARN_ON sits in nv_drm_revoke_modeset_permission() — the path taken on every close() of a DRM file descriptor. Measured on the author's machine (ASUS TUF A15 FA506IC, Debian 14 "forky", kernel 6.19.14+deb14-amd64, driver 550.163.01): 6,839 WARN_ON events in 2d15h of uptime, each dumping a full register block into the journal. Triggers observed: chromium (49 % of events), Steam's fossilize_replay (22 %), and niri's own master drop.

Correction (2026-11-14): these are WARNINGS, not oops, and they are not fatal. panic_on_warn=0 is the default, so the ud2 in the __bug_table prints the warning and execution continues. That machine's boot journal contains 0 "Kernel panic" and 0 "BUG:" entries. The cost is journal noise, kernel-side overhead and measurable input latency (libinput reported "event processing lagging behind by 38-53 ms") — not a crash. Claims that this "poisons DRM" and "kills the compositor" have not been demonstrated; the causal chain is unproven.

Root cause: -Werror=return-type (Linux 6.9) vs a probe that never returns

Linux 6.9 enabled -Werror=return-type in the kernel build. NVIDIA's conftest.sh probes the type with:

#include <drm/drm_connector.h>
int conftest_drm_connector_list_iter(void) {
    struct drm_connector_list_iter conn_iter;
}

No return → with -Werror=return-type the compile fails → compile_check_conftest concludes "type absent" → #undef NV_DRM_CONNECTOR_LIST_ITER_PRESENT → the legacy branch gets compiled.

It is the only one of the 97 "types" probes in conftest.sh with this shape; the other 96 use return offsetof(...) and are unaffected:

$ grep -c 'compile_check_conftest.*"types"' conftest.sh     # 97
   1 broken by -Werror=return-type   (NV_DRM_CONNECTOR_LIST_ITER_PRESENT)
  96 fine

The matching "functions" probe for drm_connector_list_iter_begin() is not affected, which is why the function was detected correctly while the struct was not. NVIDIA inverts the "functions" category on purpose (conftest.sh:300-321): it calls the function with a deliberately wrong signature, so a compile failure means "present":

if [ "${CAT}" = "functions" ]; then
    # The logic for "functions" compilation tests is inverted compared to
    # other compilation steps: if the function is present, the code
    # snippet will fail to compile because the function call won't match
    # the prototype.
    echo "#undef ${DEF}" | append_conftest "${CAT}"
else
    echo "#define ${DEF} ${VAL}" | append_conftest "${CAT}"
fi

Reproduction (2 minutes, no driver involved)

Compile the snippet with the kernel's own build system:

mkdir /tmp/lzt-ctest && cd /tmp/lzt-ctest
printf 'obj-m := ctest.o\n' > Makefile
cat > ctest.c <<'EOF'
#include <drm/drm_connector.h>
int conftest_drm_connector_list_iter(void) {
    struct drm_connector_list_iter conn_iter;
}
EOF
make -C /lib/modules/6.19.14+deb14-amd64/build M=/tmp/lzt-ctest modules
ctest.c:4:1: error: control reaches end of non-void function [-Werror=return-type]

Note what is not in that output: no "unknown type" error. The struct is there. The probe fails for a reason that has nothing to do with the API.

The fix: one line

--- a/conftest.sh
+++ b/conftest.sh
@@ -4331,6 +4331,7 @@
             #include <drm/drm_connector.h>
             int conftest_drm_connector_list_iter(void) {
                 struct drm_connector_list_iter conn_iter;
+                return 0;
             }"

             compile_check_conftest "$CODE" "NV_DRM_CONNECTOR_LIST_ITER_PRESENT" "" "types"

Wire it into dkms.conf and put the file in <source>/patches/:

sudo mkdir -p /usr/src/nvidia-current-550.163.01/patches/
sudo cp nvidia-conftest-return-type.patch /usr/src/nvidia-current-550.163.01/patches/

# in /usr/src/nvidia-current-550.163.01/dkms.conf
PATCH[0]="nvidia-conftest-return-type.patch"

Two DKMS traps that cost real debugging time (both fail silently — no error, no warning, the patch is simply never applied):

Trap 1 — the patch file must live in <source>/patches/, not in the source root. DKMS applies patches from $build_dir/patches/$p (dkms:1449) and it does not copy them: build_dir is a cp -a of the source tree, so the file has to be inside <source>/patches/ to end up inside <build>/patches/.

Trap 2 — the PATCH[] indices must be contiguous from 0. DKMS builds the patch list with

for ((index=0; index < ${#PATCH[@]}; index++)); do

and ${#PATCH[@]} counts elements, not the highest index. A lone PATCH[3]="…" gives ${#PATCH[@]}=1, so the loop only ever inspects PATCH[0] — and your patch is ignored without a single message. If you define only the conftest patch, it must be PATCH[0]. If you stack it on top of the three patches above, use PATCH[3] (0,1,2,3 is contiguous and works).

No PATCH_MATCH on purpose. The fix is a no-op on kernels < 6.9 (it only adds a return 0; to a probe that already compiled there), so applying it everywhere is safe — and it avoids depending on DKMS' regex matching, which did not behave as expected in practice.

Always build with --force. Without it, dkms build sees the module as already built for that kernel and reuses the previous .ko (the run takes 0 s and you "verify" the stale module):

sudo parallel_jobs=4 dkms build --force -m nvidia-current -v 550.163.01 -k $(uname -r)
sudo parallel_jobs=4 dkms install -m nvidia-current -v 550.163.01 -k $(uname -r)
sudo update-initramfs -u -k $(uname -r)

Verify it took effect (runtime truth, not changelog)

The legacy branch is a macro expansion, so the warning surfaces at every use of nv_drm_for_each_connector() — on the author's machine at nvidia-drm/nvidia-drm-drv.c:1226, inside nv_drm_revoke_modeset_permission():

WARNING: nvidia-drm/nvidia-drm-drv.c:1226 at nv_drm_revoke_modeset_permission+0x348/0x3a0 [nvidia_drm], CPU#15: linux-wallpaper/1979816

With the patch, NV_DRM_CONNECTOR_LIST_ITER_PRESENT is defined, so the driver calls nv_drm_connector_list_iter_begin() to initialise the iterator and the macro expands to drm_for_each_connector_iter() — the WARN_ON is never compiled.

Gate 1 — the modern API is now used (0 before, 3 after):

$ nm -u /lib/modules/$(uname -r)/updates/dkms/nvidia-current-drm.ko | grep -c drm_connector_list_iter
3

Gate 2 — the number of mutex_is_locked call sites collapses (7 before, 1 after):

$ objdump -r /lib/modules/$(uname -r)/updates/dkms/nvidia-current-drm.ko | grep -c mutex_is_locked
1

Do not use nm -u | grep mutex_is_locked as the gate: one call site legitimately survives. nvidia-drm/nvidia-drm-connector.c:167 carries an unconditional

BUG_ON(!mutex_is_locked(&dev->mode_config.mutex));

which is unrelated to the iterator and is compiled in both builds. (It is a BUG_ON, i.e. fatal if it ever fires — it has not fired on the author's machine, whose boot journal contains zero BUG: entries. Worth watching separately.)

And the probe result itself, before compiling anything:

$ grep CONNECTOR_LIST_ITER /var/lib/dkms/nvidia-current/*/build/conftest/compile-tests/drm_connector_list_iter.h
#define NV_DRM_CONNECTOR_LIST_ITER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT

Measured end to end on the author's box (Debian nvidia-kernel-dkms 550.163.01-6, kernel 6.19.14+deb14-amd64, built in a scratch tree with -j4): build clean, drm_connector_list_iter_* imported, mutex_is_locked call sites 7 → 1.

Gate 3 — the module you are actually running. After dkms install the file on disk is fixed but the kernel keeps the old module in RAM until you reboot. Compare build-ids:

# what is loaded
xxd -p /sys/module/nvidia_drm/notes/.note.gnu.build-id | tr -d '\n' | tail -c 40
# what is on disk
xz -dc /lib/modules/$(uname -r)/updates/dkms/nvidia-current-drm.ko.xz > /tmp/drm.ko
readelf -x .note.gnu.build-id /tmp/drm.ko | awk '/^  0x/ {gsub(/[^0-9a-f]/,""); printf "%s", $1}' | tail -c 40

Different IDs ⇒ the fix is installed but not yet active. Only a reboot (or an explicit module reload) activates it.

Scope and caveats

  • Applies to any branch whose conftest.sh still carries this snippet — verified present in 550.163.01-5 and 550.163.01-6 (Debian). Check your own conftest.sh before applying.
  • It fixes the detection, not the kernel-7.0 API breaks of Fix 1. They are orthogonal: Fix 1 is about kernel 7.0 APIs; Fix 3 is about a probe that lies on every kernel ≥ 6.9, including the 6.x you are running today.
  • It does not make the 550 branch build on kernel 7.0 by itself.
  • On 550.x against a 6.x kernel you also need the __is_vma_write_locked() adaptation; Debian ships it in nvidia-kernel-dkms 550.163.01-6 (see the correction below).

⚠️ Correction (2026-11-14): what actually failed on the author's machine

Re-running the 7.0.10 build on the author's Debian 14 box produced three findings that change how the rest of this document should be read.

1. The observed failure was an OOM kill, not an API break

The build log from 2026-07-12 contains exactly one compiler error:

x86_64-linux-gnu-gcc-15: fatal error: Terminado (killed) signal terminated program cc1

and zero occurrences of VMA_LOCK_OFFSET, dma_fence_signal_locked, __vm_flags or is_vma_write_locked:

$ grep -c 'VMA_LOCK_OFFSET'              make.log   # 0
$ grep -c 'dma_fence_signal_locked'      make.log   # 0
$ grep -c '__vm_flags'                   make.log   # 0
$ grep -c 'signal terminated program cc1' make.log   # 1

The build was launched with make -j16 on a 30 GiB box with ~25 GiB already in use; cc1 was killed by the OOM killer. The API breaks described in Fix 1 are real — they are what upstream reports — but they were not what this machine hit. If your build dies with "killed", lower the parallelism before hunting for API changes:

sudo dkms build -m nvidia-current -v 550.163.01 -k $(uname -r) -- -j4

2. Do not hand-edit /usr/src/nvidia-*/ — and check dpkg --verify

On that machine, nvidia/nv-mmap.c had been edited by hand (the whole #if !NV_CAN_CALL_VMA_START_WRITE block — including nv_vma_start_write() and its EXPORT_SYMBOL — deleted) to try to get past the VMA API change on 7.0. Consequences:

  • The 6.19 build then fails with
    ERROR: modpost: "nv_vma_start_write" [nvidia.ko] undefined!
    
    because common/inc/nv-mm.h still calls the function while its definition is gone.
  • dkms build re-copies the source tree on every run, so hand edits live only until the next DKMS operation — and then they fail in confusing ways.

Detect this class of problem on your own box:

$ dpkg --verify nvidia-kernel-dkms | grep -v '^dpkg:'
??5??????   /usr/src/nvidia-current-550.163.01/nvidia/nv-mmap.c

A modified file is flagged with ??5?????? (the 5th checksum slot = MD5 mismatch). Restore it with the package manager rather than by hand:

sudo apt-get install --reinstall -y nvidia-kernel-dkms

Use PATCH[] / PATCH_MATCH[] in dkms.conf instead of editing the tree: they are declarative, reproducible, survive every DKMS run, and show up in dkms status.

3. Half-installed packages are the root of the DKMS loop

On that machine the driver package itself was stuck:

$ dpkg -l nvidia-kernel-dkms
hi  nvidia-kernel-dkms  550.163.01-5  amd64  NVIDIA binary kernel module DKMS source

hi = half-installed. A DKMS source package in hi state means its postinst (which runs the build) never completed — so every later kernel install re-triggers the same failing build, which is exactly the loop described in §5. Fix the package state first (apt-get -f install or reinstall), then the build story is much easier to read.

4. Check whether your distro already fixed the API

Debian's nvidia-kernel-dkms 550.163.01-6 adds the __is_vma_write_locked() adaptation that 550.163.01-5 lacks:

+static inline int nv_is_vma_write_locked(struct vm_area_struct *vma, unsigned int *mm_lock_seq)
+{
+#if defined(NV_IS_VMA_WRITE_LOCKED_HAS_MM_LOCK_SEQ_ARG)
+    return __is_vma_write_locked(vma, mm_lock_seq);
+#else
+    *mm_lock_seq = __vma_raw_mm_seqnum(vma);
+    return __is_vma_write_locked(vma);
+#endif
+}

Before hand-patching a driver, check whether a newer package revision already carries the fix — and note that Fix 3's conftest bug is still present in -6, so the two are independent.


5. DKMS Loop Diagnosis & Triage (NEW 2026-07-12 v3)

This section was added after debugging a real production incident on a Debian Sid machine (ASUS TUF A15, RTX 3050 Mobile, 30GB RAM, load avg 28). Symptoms: cc1 chewing 100%+ CPU for hours, system lag, fans at max. The pattern is universal across apt-based distros. Skip this section if your build actually succeeds.

5.1 Symptoms

  • Load average ≥ 10 sustained for hours
  • ps aux | grep -E "cc1|make|nvidia" shows gcc compiling nvidia-uvm or nvidia-drm for many minutes
  • /var/log/dpkg.log shows repeated status installed linux-headers-<new-kernel> followed by status half-configured
  • top shows cc1 at 100%+ CPU from root
  • Even after kill -9, the loop restarts within 30s

5.2 Root cause: kernel postinst triggers DKMS, DKMS fails on 7.0+ API break, unattended-upgrade respawns

The chain:

graph TD
    A["apt-daily-upgrade.timer<br/>(daily cron)"] --> B["apt installs<br/>linux-headers-7.0.10"]
    B --> C["linux-headers-7.0.10.postinst runs"]
    C --> D["/etc/kernel/header_postinst.d/dkms hook"]
    D --> E["dkms autoinstall -k 7.0.10+deb14-amd64"]
    E --> F{"Build succeeds?"}
    F -->|"Yes (e.g. 610 prod branch)"| G["✓ DKMS module installed, loop ends"]
    F -->|"No (550/580 branch<br/>on kernel 7.0+)"| H["✗ Build fails: VMA / dma_fence"]
    H --> I["dpkg marks package half-configured"]
    I --> J["Next timer run: retry"]
    J --> B

    K["user session entrypoint<br/>pre-init hook"] --> E
    L["apt-daily.service (download)"] --> B
Loading

Three independent triggers can fire dkms autoinstall for the new kernel:

  1. linux-headers-<ver>.postinst → /etc/kernel/header_postinst.d/dkms
  2. linux-image-<ver>.postinst → /etc/kernel/postinst.d/dkms
  3. User session init scripts (e.g. entrypoint --pre-init-hooks)

This is why "killing unattended-upgrade" doesn't stop the loop — the user session re-triggers it.

5.3 The 3-layer fix (recommended order)

# === Layer 1: stop DKMS from re-attempting the broken build ===
# Touch the no-autoinstall flag. The dkms framework exits 0 immediately
# if this file exists. This stops ALL three triggers above.
sudo touch /etc/dkms/no-autoinstall

# === Layer 2: prevent unattended-upgrade from installing problematic headers ===
# Hold the specific kernel versions you don't want updated
sudo apt-mark hold linux-image-7.0.10+deb14-amd64 \
                   linux-headers-7.0.10+deb14-amd64 \
                   linux-headers-7.0.10+deb14-common

# === Layer 3: blacklist kernel/driver patterns in unattended-upgrade config ===
# Edit /etc/apt/apt.conf.d/50unattended-upgrades and add to
# the existing Unattended-Upgrade::Package-Blacklist block:
sudo sed -i '/Unattended-Upgrade::Package-Blacklist/,/^};/{
  /"linux-";/a\
\
    // LZT hardening 2026-07-12: skip kernels + nvidia drivers (manual control)\
    "linux-image-.*";\
    "linux-headers-.*";\
    "nvidia-.*";\
    "nvidia-kernel-.*";
}' /etc/apt/apt.conf.d/50unattended-upgrades

# Verify
sudo unattended-upgrade --dry-run --debug 2>&1 | grep -i "skip\|blacklist\|hold"

Why all three layers?

Layer What it blocks Reversibility
1: /etc/dkms/no-autoinstall All three trigger types (postinst hooks + user session) sudo rm /etc/dkms/no-autoinstall
2: apt-mark hold apt/apt-get upgrades sudo apt-mark unhold <pkg>
3: unattended-upgrade blacklist unattended-upgrade specifically (not regular apt upgrade) Edit config, remove entries

5.4 Diagnosis one-liners

Run these BEFORE applying the fix to confirm you're hitting the same root cause:

# 1. What is the load average?
cat /proc/loadavg
# If 1-min avg > 5 sustained → likely DKMS loop

# 2. What is gcc actually compiling?
ps auxf | grep -E "cc1.*nvidia|make.*nvidia-current" | head -5
# If you see nvidia-uvm or nvidia-drm files → confirmed

# 3. What kernel is failing?
sudo dkms status
# Look for entries WITHOUT "installed" suffix

# 4. Who's holding the dpkg lock?
sudo fuser -v /var/lib/dpkg/lock-frontend
# Often shows unattended-upgrade OR dpkg --configure --pending

# 5. Recent kernel installs?
grep -E "linux-image|linux-headers" /var/log/dpkg.log | tail -10
# If you see a new kernel version installed in last 24h → trigger source

5.5 Recovery if dkms is mid-build when you want to fix it

# Kill the build chain (innermost first)
sudo pkill -KILL -f "cc1.*nvidia"
sudo pkill -KILL -f "make.*nvidia-current"
sudo pkill -KILL -f "dkms_autoinstaller"
sudo pkill -KILL -f "linux-headers-7.0.10.*postinst"

# Wait 5s, verify clean
sleep 5
ps auxf | grep -E "cc1.*nvidia|make.*nvidia-current|dkms_autoinstaller" | grep -v grep || echo "✓ clean"

# Apply Layer 1 (no-autoinstall) IMMEDIATELY to prevent respawn
sudo touch /etc/dkms/no-autoinstall

# Then run Layers 2-3

5.6 Cross-distro applicability

The same diagnosis applies to all Debian/Ubuntu-family distros:

Distro Package name Trigger location Note
Debian Sid/Testing/Bookworm nvidia-kernel-dkms /etc/kernel/{postinst,header_postinst}.d/dkms This gist
Ubuntu 24.04 LTS nvidia-driver-550 (or current) Same /etc/kernel/postinst.d/dkms Same fix
Pop!_OS system76-driver-nvidia Same + apt hooks System76 manages nvidia separately
Linux Mint nvidia-driver-<ver> Same Identical to Ubuntu LTS
Arch / Manjaro nvidia-dkms (AUR) pacman hooks in /usr/lib/initcpio/install/ Different mechanism, similar idea
Fedora / RHEL kmod-nvidia from RPM Fusion %post scriptlet in RPM, not dkms See RPM-specific fix below

Arch equivalent (for the same problem):

# Skip nvidia-dkms build for a specific kernel:
sudo dkms remove nvidia/580.xx.xx -k 6.12.arch1-1

# Or blacklist the package from pacman upgrades:
# Add to /etc/pacman.conf:
#   IgnorePkg = nvidia-dkms linux-headers

Fedora equivalent (for the same problem):

# dnf config-manager plugin to skip
echo 'excludepkgs=nvidia-kmod,akmod-nvidia,kernel*' | sudo tee -a /etc/dnf/dnf.conf

Proxmox VE hosts: the Debian-packaged nvidia-kernel-dkms 550.163.01 source layout is shared with Proxmox VE 9's pve kernels (e.g. 7.0.2-2-pve), but those kernels have additional transitional fixes (GCC 15 -std=gnu17, del_timer_sync, in_irq→in_hardirq, map_resource→map_phys, plus __vm_flags removal via vm_flags_reset() — our Patch 1c). A comprehensive Proxmox helper script is at egeekial/nvidia-550xx-dkms-proxmox — it covers GCC 15, timer functions, drm_print, and the vm_flags fixes in one pass. Patch 1c (vmflags.patch) above is derived from their work and is also usable standalone via dkms.conf PATCH[N]. See PR #1 for the full context and the dma-fence correctness fix.

5.7 Verifying the fix worked

After applying the 3 layers, monitor for 24h:

# Cron-friendly check (add to /etc/cron.d/lzt-dkms-monitor)
DKMS_BUILDING=$(ps aux | grep -cE "cc1.*nvidia|make.*nvidia-current" )
LOAD=$(cut -d' ' -f1 /proc/loadavg)
LOCK=$(sudo fuser /var/lib/dpkg/lock-frontend 2>/dev/null | tr -d ' ')

if [ "$DKMS_BUILDING" -gt 0 ] || awk "BEGIN{exit !($LOAD > 5)}" || [ -n "$LOCK" ]; then
    echo "ALERT: dkms loop active (builds=$DKMS_BUILDING load=$LOAD lock=$LOCK)"
    # Send notification, page, etc.
fi

For long-running prevention, the systemd units at lzt-dpkg-broken-detect.service (5min before apt-daily-upgrade) + lzt-unattended-upgrade-stuck-kill.service (5min after) provide automated detection + remediation.


Why Distrobox + Arch is the Escape Hatch

If you find yourself fighting Sid + NVIDIA + DKMS daily, the isolation strategy is Distrobox + Arch (or Bazzite for gaming):

  • Host: Debian Sid for development (your familiar toolchain)
  • Guest: Arch inside Distrobox for NVIDIA-heavy workloads (gaming, CUDA, proprietary rendering)
  • Forward nvidia-container-toolkit to the guest for GPU passthrough

This decouples your base system from NVIDIA's release cadence.

References: r/linux_gaming Distrobox Gaming · r/archlinux 2026 NVIDIA status


References

Project Issue / URL
NVIDIA open-gpu-kernel-modules GitHub #1113
NixOS nixpkgs GitHub #510962
Niri WM GitHub #3265
Debian NVIDIA Wiki https://wiki.debian.org/NvidiaGraphicsDrivers
r/linux (v1 RFC, 2026-06-17) https://www.reddit.com/r/linux/comments/1sodpgh/
r/debian (community triage thread, 2026-07) https://www.reddit.com/r/debian/comments/1tbt36v/
DKMS framework man dkms / /usr/lib/dkms/common.postinst
Proxmox VE 9 patch helper (egeekial) GitHub PR #1 — includes the vmflags and dma-fence fixes adopted here

Acknowledgements

  • dCSeven: First tester to confirm patch 1a (vma.patch) builds successfully; reported patch offset bug (fixed in v2) and identified the secondary nvidia-dma-fence-helper.h build failure that required patch 1b (drm.patch).
  • 80kman (r/linux, Quadro P1000 user): Reported the 580 branch strlcpy error path; full 580 workflow documented here.
  • egeekial (nvidia-550xx-dkms-proxmox): Identified the __vm_flags removal in kernel 7.0.2+ as a separate failure; contributed the vm_flags_reset() replacement pattern and the comprehensive apply-patches-proxmox.sh script that covers GCC 15, timer functions, and drm_print updates.

Changelog

  • v7 (2026-11-14): RFC Fix 3 deployed and verified on the author's machine (nvidia-kernel-dkms 550.163.01-6 + the one-line conftest patch, kernel 6.19.14+deb14-amd64): build clean, drm_connector_list_iter_* imported, mutex_is_locked call sites 7 → 1, module installed and signed. Documented the two silent DKMS traps that cost the most debugging time: (1) patch files must live in <source>/patches/ — DKMS reads $build_dir/patches/$p and does not copy them; (2) PATCH[] indices must be contiguous from 0, because DKMS iterates index=0..${#PATCH[@]}-1 and ${#PATCH[@]} counts elements — a lone PATCH[3] is ignored without a message. Added dkms build --force (without it the stale .ko is reused in 0 s) and parallel_jobs guidance. Added a Gate 3 comparing the build-id of the loaded module against the one on disk: dkms install does not change what is running until reboot.
  • v6 (2026-11-14): Added RFC Fix 3 — NVIDIA's conftest.sh probes struct drm_connector_list_iter with an int-returning function that never returns, so on every kernel ≥ 6.9 (-Werror=return-type) the probe fails and the driver silently compiles the legacy connector-iterator branch with WARN_ON(!mutex_is_locked(...)). 1-line patch + a nm -u verification gate. Added Correction (2026-11-14): the 7.0.10 build failure logged on the author's machine was an OOM kill (-j16, 0 API errors), the packaged nv-mmap.c had been hand-edited (dpkg --verify detects it), the driver package was hi (half-installed), and Debian's 550.163.01-6 already carries the __is_vma_write_locked() adaptation. Corrected the earlier "these WARN_ONs are oops / they kill the compositor" claim: they are warnings, non-fatal by default.
  • v5 (2026-07-13): Added Patch 1c (nvidia-7.0-vmflags.patch) for __vm_flags removal (kernel 7.0.2+). Updated Branch Compatibility Matrix to reflect kernel 7.0–7.1 vs 7.2+ distinction. Added reference to egeekial/nvidia-550xx-dkms-proxmox PR #1. Added egeekial to Acknowledgements.
  • v4 (2026-07-12): Added Proxmox VE footnote to §5.6 cross-distro table (links to egeekial/nvidia-550xx-dkms-proxmox for pve kernels). Added two r/linux + r/debian thread references in §7 with dates. No RFC/patch changes.
  • v3 (2026-07-12): Added §5 DKMS Loop Diagnosis & Triage — universal recipe for Debian/Ubuntu/Arch/Fedora. Documents the 3-trigger root cause, the 3-layer fix (no-autoinstall + hold + blacklist), diagnosis one-liners, recovery procedure, and cross-distro applicability matrix. Derived from a real production incident (Debian Sid, ASUS TUF A15, 30GB RAM, load avg 28).
  • v2 (2026-07-12): Added drm.patch for the second build error. Restructured with TL;DR + Branch Compatibility Matrix + Distrobox escape hatch + Acknowledgements.
  • v1 (2026-06-17): Initial patch + Wayland D3cold fix.
@dCSeven

dCSeven commented Jul 2, 2026 •

Copy link
Copy Markdown

Hi there,
I tried your patch.

Pulling the first patch down two lines (below the two following includes) makes the file compile for me.
However, I get another issue in nvidia-drm/nvidia-drm-fence-helper.h

Find my make.log below
[I stripped the comments from your diff, therefore the lines don't match. The warning of the unused result of refcount_sub_and_test is in the (untouched) function nv_vma_enter_locked.
Also I had to snip away a bit of the output to fit it in this comment (compiled files without errors or warnings)]

DKMS (dkms-3.2.2) make.log for nvidia-current/550.163.01 for kernel 7.0.10+deb14-amd64 (x86_64)
Do 02 Jul 2026 17:57:46 CEST

Applying patch nvidia-7.0-vma.patch
# command: patch -p1 < ./patches/nvidia-7.0-vma.patch
patching file nvidia/nv-mmap.c

# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------

Building module(s)
# command: env NV_VERBOSE=1 make -j12 modules KERNEL_UNAME=7.0.10+deb14-amd64
make \
  "PAHOLE=awk 'BEGIN { pahole_cmd = \"pahole\"; for (i = 1; i < ARGC; i++) { if (ARGV[i] ~ /--lang_exclude=/) { pahole_cmd = pahole_cmd sprintf(\" %s,c++,c++11\", ARGV[i]); } else { pahole_cmd = pahole_cmd sprintf(\" %s\", ARGV[i]); } } system(pahole_cmd); }'" KBUILD_OUTPUT=/lib/modules/7.0.10+deb14-amd64/build V=1 -C /lib/modules/7.0.10+deb14-amd64/source M=/var/lib/dkms/nvidia-current/550.163.01/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/7.0.10+deb14-amd64/source NV_KERNEL_OUTPUT=/lib/modules/7.0.10+deb14-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR="kernel/drivers/video" NV_SPECTRE_V2=0 modules
make[1]: Verzeichnis „/usr/src/linux-headers-7.0.10+deb14-common“ wird betreten
make  -C /var/lib/dkms/nvidia-current/550.163.01/build \
-f /usr/src/linux-headers-7.0.10+deb14-common/Makefile modules
make[2]: Verzeichnis „/var/lib/dkms/nvidia-current/550.163.01/build“ wird betreten
make --no-print-directory -C /var/lib/dkms/nvidia-current/550.163.01/build \
-f /usr/src/linux-headers-7.0.10+deb14-common/Makefile modules
make -f /usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build obj=. need-builtin=1 need-modorder=1 
# cmd_mod nvidia.mod
  printf '%s
'   nvidia/nv.o nvidia/nv-pci.o nvidia/nv-dmabuf.o nvidia/nv-nano-timer.o nvidia/nv-acpi.o nvidia/nv-cray.o nvidia/nv-dma.o nvidia/nv-i2c.o nvidia/nv-mmap.o nvidia/nv-p2p.o nvidia/nv-pat.o nvidia/nv-procfs.o nvidia/nv-usermap.o nvidia/nv-vm.o nvidia/nv-vtophys.o nvidia/os-interface.o nvidia/os-mlock.o nvidia/os-pci.o nvidia/os-registry.o nvidia/os-usermap.o nvidia/nv-modeset-interface.o nvidia/nv-pci-table.o nvidia/nv-kthread-q.o nvidia/nv-memdbg.o nvidia/nv-ibmnpu.o nvidia/nv-report-err.o nvidia/nv-rsync.o nvidia/nv-msi.o nvidia/nv-caps.o nvidia/nv-caps-imex.o nvidia/nv_uvm_interface.o nvidia/libspdm_aead.o nvidia/libspdm_ecc.o nvidia/libspdm_hkdf.o nvidia/libspdm_rand.o nvidia/libspdm_shash.o nvidia/libspdm_rsa.o nvidia/libspdm_aead_aes_gcm.o nvidia/libspdm_sha.o nvidia/libspdm_hmac_sha.o nvidia/libspdm_internal_crypt_lib.o nvidia/libspdm_hkdf_sha.o nvidia/libspdm_ec.o nvidia/libspdm_x509.o nvidia/libspdm_rsa_ext.o nvidia/nvlink_linux.o nvidia/nvlink_caps.o nvidia/linux_nvswitch.o nvidia/procfs_nvswitch.o nvidia/i2c_nvswitch.o nvidia/nv-kernel.o | awk '!x[$0]++ { print("./"$0) }' > nvidia.mod
uname -a
Linux DopLapDeb 7.0.10+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.0.10-1 (2026-05-27) x86_64 GNU/Linux
NV_CONFTEST_CMD=/bin/sh ././conftest.sh "x86_64-linux-gnu-gcc-15" x86_64 /lib/modules/7.0.10+deb14-amd64/source /lib/modules/7.0.10+deb14-amd64/build
NV_CONFTEST_CFLAGS=-std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest98215" -DKBUILD_MODNAME="#conftest98215" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/15/include -Wno-implicit-function-declaration -Wno-strict-prototypes -I/lib/modules/7.0.10+deb14-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/7.0.10+deb14-amd64/source/include/asm-x86/mach-default -I/lib/modules/7.0.10+deb14-amd64/build/include2 -I/lib/modules/7.0.10+deb14-amd64/build/include -include /lib/modules/7.0.10+deb14-amd64/build/include/generated/autoconf.h -I/lib/modules/7.0.10+deb14-amd64/source/arch/x86/include -I/lib/modules/7.0.10+deb14-amd64/source/arch/x86/include/uapi -I/lib/modules/7.0.10+deb14-amd64/build/arch/x86/include/generated -I/lib/modules/7.0.10+deb14-amd64/build/arch/x86/include/generated/uapi -I/lib/modules/7.0.10+deb14-amd64/source/include -I/lib/modules/7.0.10+deb14-amd64/source/include/uapi -I/lib/modules/7.0.10+deb14-amd64/source/include/xen -I/lib/modules/7.0.10+deb14-amd64/build/include/generated/uapi -mfentry -DCC_USING_FENTRY -I././common/inc -I./. -Wall   -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -fno-pie -Wno-pointer-sign -fshort-wchar -Werror=incompatible-pointer-types -Wno-error
# SYMLINK nvidia/nv-kernel.o
  ln -sf /var/lib/dkms/nvidia-current/550.163.01/build/nvidia/nv-kernel.o_binary nvidia/nv-kernel.o
KBUILD_CFLAGS=-std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16  -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address  -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits  -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type  -Wno-unterminated-string-initialization -Wno-array-bounds  -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable  -Wno-packed-not-aligned  -Wno-format-overflow -Wno-format-truncation  -Wno-stringop-truncation -Wno-override-init  -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g 
# cmd_mod nvidia-uvm.mod
  printf '%s
'   nvidia-uvm/uvm_ats_sva.o nvidia-uvm/uvm_conf_computing.o nvidia-uvm/uvm_sec2_test.o nvidia-uvm/uvm_maxwell_sec2.o nvidia-uvm/uvm_hopper_sec2.o nvidia-uvm/uvm_common.o nvidia-uvm/uvm_linux.o nvidia-uvm/nvstatus.o nvidia-uvm/nvCpuUuid.o nvidia-uvm/nv-kthread-q.o nvidia-uvm/nv-kthread-q-selftest.o nvidia-uvm/uvm.o nvidia-uvm/uvm_tools.o nvidia-uvm/uvm_global.o nvidia-uvm/uvm_gpu.o nvidia-uvm/uvm_gpu_isr.o nvidia-uvm/uvm_procfs.o nvidia-uvm/uvm_va_space.o nvidia-uvm/uvm_va_space_mm.o nvidia-uvm/uvm_gpu_semaphore.o nvidia-uvm/uvm_mem.o nvidia-uvm/uvm_rm_mem.o nvidia-uvm/uvm_channel.o nvidia-uvm/uvm_lock.o nvidia-uvm/uvm_hal.o nvidia-uvm/uvm_processors.o nvidia-uvm/uvm_range_tree.o nvidia-uvm/uvm_rb_tree.o nvidia-uvm/uvm_range_allocator.o nvidia-uvm/uvm_va_range.o nvidia-uvm/uvm_va_policy.o nvidia-uvm/uvm_va_block.o nvidia-uvm/uvm_range_group.o nvidia-uvm/uvm_gpu_replayable_faults.o nvidia-uvm/uvm_gpu_non_replayable_faults.o nvidia-uvm/uvm_gpu_access_counters.o nvidia-uvm/uvm_perf_events.o nvidia-uvm/uvm_perf_module.o nvidia-uvm/uvm_mmu.o nvidia-uvm/uvm_pte_batch.o nvidia-uvm/uvm_tlb_batch.o nvidia-uvm/uvm_push.o nvidia-uvm/uvm_pushbuffer.o nvidia-uvm/uvm_thread_context.o nvidia-uvm/uvm_tracker.o nvidia-uvm/uvm_maxwell.o nvidia-uvm/uvm_maxwell_host.o nvidia-uvm/uvm_maxwell_ce.o nvidia-uvm/uvm_maxwell_mmu.o nvidia-uvm/uvm_maxwell_fault_buffer.o nvidia-uvm/uvm_maxwell_access_counter_buffer.o nvidia-uvm/uvm_pascal.o nvidia-uvm/uvm_pascal_ce.o nvidia-uvm/uvm_pascal_host.o nvidia-uvm/uvm_pascal_mmu.o nvidia-uvm/uvm_pascal_fault_buffer.o nvidia-uvm/uvm_volta_ce.o nvidia-uvm/uvm_volta_host.o nvidia-uvm/uvm_volta_mmu.o nvidia-uvm/uvm_volta.o nvidia-uvm/uvm_volta_fault_buffer.o nvidia-uvm/uvm_volta_access_counter_buffer.o nvidia-uvm/uvm_turing.o nvidia-uvm/uvm_turing_access_counter_buffer.o nvidia-uvm/uvm_turing_fault_buffer.o nvidia-uvm/uvm_turing_mmu.o nvidia-uvm/uvm_turing_host.o nvidia-uvm/uvm_ampere.o nvidia-uvm/uvm_ampere_ce.o nvidia-uvm/uvm_ampere_host.o nvidia-uvm/uvm_ampere_mmu.o nvidia-uvm/uvm_hopper.o nvidia-uvm/uvm_hopper_fault_buffer.o nvidia-uvm/uvm_hopper_ce.o nvidia-uvm/uvm_hopper_host.o nvidia-uvm/uvm_hopper_mmu.o nvidia-uvm/uvm_ada.o nvidia-uvm/uvm_policy.o nvidia-uvm/uvm_perf_utils.o nvidia-uvm/uvm_kvmalloc.o nvidia-uvm/uvm_pmm_sysmem.o nvidia-uvm/uvm_pmm_gpu.o nvidia-uvm/uvm_migrate.o nvidia-uvm/uvm_populate_pageable.o nvidia-uvm/uvm_migrate_pageable.o nvidia-uvm/uvm_map_external.o nvidia-uvm/uvm_user_channel.o nvidia-uvm/uvm_hmm.o nvidia-uvm/uvm_perf_heuristics.o nvidia-uvm/uvm_perf_thrashing.o nvidia-uvm/uvm_perf_prefetch.o nvidia-uvm/uvm_ats.o nvidia-uvm/uvm_ats_ibm.o nvidia-uvm/uvm_ats_faults.o nvidia-uvm/uvm_test.o nvidia-uvm/uvm_test_rng.o nvidia-uvm/uvm_range_tree_test.o nvidia-uvm/uvm_range_allocator_test.o nvidia-uvm/uvm_gpu_semaphore_test.o nvidia-uvm/uvm_mem_test.o nvidia-uvm/uvm_rm_mem_test.o nvidia-uvm/uvm_page_tree_test.o nvidia-uvm/uvm_tracker_test.o nvidia-uvm/uvm_push_test.o nvidia-uvm/uvm_channel_test.o nvidia-uvm/uvm_ce_test.o nvidia-uvm/uvm_host_test.o nvidia-uvm/uvm_lock_test.o nvidia-uvm/uvm_perf_utils_test.o nvidia-uvm/uvm_kvmalloc_test.o nvidia-uvm/uvm_pmm_test.o nvidia-uvm/uvm_pmm_sysmem_test.o nvidia-uvm/uvm_perf_events_test.o nvidia-uvm/uvm_perf_module_test.o nvidia-uvm/uvm_get_rm_ptes_test.o nvidia-uvm/uvm_fault_buffer_flush_test.o nvidia-uvm/uvm_peer_identity_mappings_test.o nvidia-uvm/uvm_va_block_test.o nvidia-uvm/uvm_range_group_tree_test.o nvidia-uvm/uvm_thread_context_test.o nvidia-uvm/uvm_rb_tree_test.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-uvm.mod
LINUXINCLUDE=-I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h
# cmd_mod nvidia-modeset.mod
  printf '%s
'   nvidia-modeset/nvidia-modeset-linux.o nvidia-modeset/nv-kthread-q.o nvidia-modeset/nv-modeset-kernel.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-modeset.mod
LDFLAGS=
# SYMLINK nvidia-modeset/nv-modeset-kernel.o
  ln -sf /var/lib/dkms/nvidia-current/550.163.01/build/nvidia-modeset/nv-modeset-kernel.o_binary nvidia-modeset/nv-modeset-kernel.o
KBUILD_LDFLAGS=-m elf_x86_64 -z noexecstack --no-warn-rwx-segments
# cmd_mod nvidia-drm.mod
  printf '%s
'   nvidia-drm/nvidia-drm.o nvidia-drm/nvidia-drm-drv.o nvidia-drm/nvidia-drm-utils.o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-gem.o nvidia-drm/nvidia-drm-fb.o nvidia-drm/nvidia-drm-modeset.o nvidia-drm/nvidia-drm-fence.o nvidia-drm/nvidia-drm-helper.o nvidia-drm/nv-kthread-q.o nvidia-drm/nv-pci-table.o nvidia-drm/nvidia-drm-gem-nvkms-memory.o nvidia-drm/nvidia-drm-gem-user-memory.o nvidia-drm/nvidia-drm-gem-dma-buf.o nvidia-drm/nvidia-drm-format.o nvidia-drm/nvidia-drm-os-interface.o nvidia-drm/nvidia-drm-linux.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-drm.mod
ARCH=x86_64
# cmd_mod nvidia-peermem.mod
  printf '%s
'   nvidia-peermem/nvidia-peermem.o | awk '!x[$0]++ { print("./"$0) }' > nvidia-peermem.mod
 CONFTEST: cc_sanity_check
 CONFTEST: cc_version_check
 CONFTEST: dom0_sanity_check
 CONFTEST: xen_sanity_check
 CONFTEST: preempt_rt_sanity_check
 CONFTEST: vgpu_kvm_sanity_check
 CONFTEST: module_symvers_sanity_check
 CONFTEST uts_release:
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
 CONFTEST: asm/system.h
 CONFTEST: drm/drmP.h
 CONFTEST: drm/drm_print.h
 CONFTEST: drm/drm_aperture.h
 CONFTEST: drm/drm_auth.h
 CONFTEST: drm/drm_gem.h
 CONFTEST: drm/drm_crtc.h
 CONFTEST: drm/drm_color_mgmt.h
 CONFTEST: drm/drm_atomic.h
 CONFTEST: drm/drm_atomic_helper.h
 CONFTEST: drm/drm_atomic_state_helper.h
 CONFTEST: drm/drm_encoder.h
 CONFTEST: drm/drm_atomic_uapi.h
 CONFTEST: drm/drm_drv.h
 CONFTEST: drm/drm_fbdev_generic.h
 CONFTEST: drm/drm_fbdev_ttm.h
 CONFTEST: drm/drm_client_setup.h
 CONFTEST: drm/drm_framebuffer.h
 CONFTEST: drm/drm_connector.h
 CONFTEST: drm/drm_probe_helper.h
 CONFTEST: drm/drm_blend.h
 CONFTEST: drm/drm_fourcc.h
 CONFTEST: drm/drm_prime.h
 CONFTEST: drm/drm_plane.h
 CONFTEST: drm/drm_vblank.h
 CONFTEST: drm/drm_file.h
 CONFTEST: drm/drm_ioctl.h
 CONFTEST: drm/drm_device.h
 CONFTEST: drm/drm_mode_config.h
 CONFTEST: drm/drm_modeset_lock.h
 CONFTEST: drm/clients/drm_client_setup.h
 CONFTEST: dt-bindings/interconnect/tegra_icc_id.h
 CONFTEST: generated/autoconf.h
 CONFTEST: generated/compile.h
 CONFTEST: generated/utsrelease.h
 CONFTEST: linux/aperture.h
 CONFTEST: linux/efi.h
 CONFTEST: linux/kconfig.h
 CONFTEST: linux/platform/tegra/mc_utils.h
 CONFTEST: linux/printk.h
 CONFTEST: linux/ratelimit.h
 CONFTEST: linux/prio_tree.h
 CONFTEST: linux/log2.h
 CONFTEST: linux/of.h
 CONFTEST: linux/bug.h
 CONFTEST: linux/sched.h
 CONFTEST: linux/sched/mm.h
 CONFTEST: linux/sched/signal.h
 CONFTEST: linux/sched/task.h
 CONFTEST: linux/sched/task_stack.h
 CONFTEST: xen/ioemu.h
 CONFTEST: linux/fence.h
 CONFTEST: linux/dma-fence.h
 CONFTEST: linux/dma-resv.h
 CONFTEST: soc/tegra/chip-id.h
 CONFTEST: soc/tegra/fuse.h
 CONFTEST: soc/tegra/tegra_bpmp.h
 CONFTEST: video/nv_internal.h
 CONFTEST: linux/platform/tegra/dce/dce-client-ipc.h
 CONFTEST: linux/nvhost.h
 CONFTEST: linux/nvhost_t194.h
 CONFTEST: linux/host1x-next.h
 CONFTEST: asm/book3s/64/hash-64k.h
 CONFTEST: asm/set_memory.h
 CONFTEST: asm/prom.h
 CONFTEST: asm/powernv.h
 CONFTEST: linux/atomic.h
 CONFTEST: asm/barrier.h
 CONFTEST: asm/opal-api.h
 CONFTEST: sound/hdaudio.h
 CONFTEST: asm/pgtable_types.h
 CONFTEST: asm/page.h
 CONFTEST: linux/stringhash.h
 CONFTEST: linux/dma-map-ops.h
 CONFTEST: rdma/peer_mem.h
 CONFTEST: sound/hda_codec.h
 CONFTEST: linux/dma-buf.h
 CONFTEST: linux/time.h
 CONFTEST: linux/platform_device.h
 CONFTEST: linux/mutex.h
 CONFTEST: linux/reset.h
 CONFTEST: linux/of_platform.h
 CONFTEST: linux/of_device.h
 CONFTEST: linux/of_gpio.h
 CONFTEST: linux/gpio.h
 CONFTEST: linux/gpio/consumer.h
 CONFTEST: linux/interconnect.h
 CONFTEST: linux/pm_runtime.h
 CONFTEST: linux/clk.h
 CONFTEST: linux/clk-provider.h
 CONFTEST: linux/ioasid.h
 CONFTEST: linux/stdarg.h
 CONFTEST: linux/iosys-map.h
 CONFTEST: asm/coco.h
 CONFTEST: linux/vfio_pci_core.h
 CONFTEST: linux/mdev.h
 CONFTEST: soc/tegra/bpmp-abi.h
 CONFTEST: soc/tegra/bpmp.h
 CONFTEST: linux/sync_file.h
 CONFTEST: linux/cc_platform.h
 CONFTEST: asm/cpufeature.h
 CONFTEST: linux/mpi.h
 CONFTEST: asm/mshyperv.h
 CONFTEST: crypto/sig.h
 CONFTEST macros.h:
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_PRINT_H_PRESENT
#undef NV_DRM_DRM_APERTURE_H_PRESENT
#define NV_DRM_DRM_AUTH_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_DRM_DRM_CRTC_H_PRESENT
#define NV_DRM_DRM_COLOR_MGMT_H_PRESENT
#define NV_DRM_DRM_ATOMIC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_HELPER_H_PRESENT
#define NV_DRM_DRM_ATOMIC_STATE_HELPER_H_PRESENT
#define NV_DRM_DRM_ENCODER_H_PRESENT
#define NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT
#define NV_DRM_DRM_DRV_H_PRESENT
#undef NV_DRM_DRM_FBDEV_GENERIC_H_PRESENT
#define NV_DRM_DRM_FBDEV_TTM_H_PRESENT
#undef NV_DRM_DRM_CLIENT_SETUP_H_PRESENT
#define NV_DRM_DRM_FRAMEBUFFER_H_PRESENT
#define NV_DRM_DRM_CONNECTOR_H_PRESENT
#define NV_DRM_DRM_PROBE_HELPER_H_PRESENT
#define NV_DRM_DRM_BLEND_H_PRESENT
#define NV_DRM_DRM_FOURCC_H_PRESENT
#define NV_DRM_DRM_PRIME_H_PRESENT
#define NV_DRM_DRM_PLANE_H_PRESENT
#define NV_DRM_DRM_VBLANK_H_PRESENT
#define NV_DRM_DRM_FILE_H_PRESENT
#define NV_DRM_DRM_IOCTL_H_PRESENT
#define NV_DRM_DRM_DEVICE_H_PRESENT
#define NV_DRM_DRM_MODE_CONFIG_H_PRESENT
#define NV_DRM_DRM_MODESET_LOCK_H_PRESENT
#define NV_DRM_CLIENTS_DRM_CLIENT_SETUP_H_PRESENT
#undef NV_DT_BINDINGS_INTERCONNECT_TEGRA_ICC_ID_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_APERTURE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_MC_UTILS_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#define NV_LINUX_SCHED_H_PRESENT
#define NV_LINUX_SCHED_MM_H_PRESENT
#define NV_LINUX_SCHED_SIGNAL_H_PRESENT
#define NV_LINUX_SCHED_TASK_H_PRESENT
#define NV_LINUX_SCHED_TASK_STACK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#undef NV_LINUX_FENCE_H_PRESENT
#define NV_LINUX_DMA_FENCE_H_PRESENT
#define NV_LINUX_DMA_RESV_H_PRESENT
#undef NV_SOC_TEGRA_CHIP_ID_H_PRESENT
#define NV_SOC_TEGRA_FUSE_H_PRESENT
#undef NV_SOC_TEGRA_TEGRA_BPMP_H_PRESENT
#undef NV_VIDEO_NV_INTERNAL_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_DCE_DCE_CLIENT_IPC_H_PRESENT
#undef NV_LINUX_NVHOST_H_PRESENT
#undef NV_LINUX_NVHOST_T194_H_PRESENT
#undef NV_LINUX_HOST1X_NEXT_H_PRESENT
#undef NV_ASM_BOOK3S_64_HASH_64K_H_PRESENT
#define NV_ASM_SET_MEMORY_H_PRESENT
#define NV_ASM_PROM_H_PRESENT
#undef NV_ASM_POWERNV_H_PRESENT
#define NV_LINUX_ATOMIC_H_PRESENT
#define NV_ASM_BARRIER_H_PRESENT
#undef NV_ASM_OPAL_API_H_PRESENT
#define NV_SOUND_HDAUDIO_H_PRESENT
#define NV_ASM_PGTABLE_TYPES_H_PRESENT
#define NV_ASM_PAGE_H_PRESENT
#define NV_LINUX_STRINGHASH_H_PRESENT
#define NV_LINUX_DMA_MAP_OPS_H_PRESENT
#undef NV_RDMA_PEER_MEM_H_PRESENT
#define NV_SOUND_HDA_CODEC_H_PRESENT
#define NV_LINUX_DMA_BUF_H_PRESENT
#define NV_LINUX_TIME_H_PRESENT
#define NV_LINUX_PLATFORM_DEVICE_H_PRESENT
#define NV_LINUX_MUTEX_H_PRESENT
#define NV_LINUX_RESET_H_PRESENT
#define NV_LINUX_OF_PLATFORM_H_PRESENT
#define NV_LINUX_OF_DEVICE_H_PRESENT
#define NV_LINUX_OF_GPIO_H_PRESENT
#define NV_LINUX_GPIO_H_PRESENT
#define NV_LINUX_GPIO_CONSUMER_H_PRESENT
#define NV_LINUX_INTERCONNECT_H_PRESENT
#define NV_LINUX_PM_RUNTIME_H_PRESENT
#define NV_LINUX_CLK_H_PRESENT
#define NV_LINUX_CLK_PROVIDER_H_PRESENT
#undef NV_LINUX_IOASID_H_PRESENT
#define NV_LINUX_STDARG_H_PRESENT
#define NV_LINUX_IOSYS_MAP_H_PRESENT
#define NV_ASM_COCO_H_PRESENT
#define NV_LINUX_VFIO_PCI_CORE_H_PRESENT
#define NV_LINUX_MDEV_H_PRESENT
#define NV_SOC_TEGRA_BPMP_ABI_H_PRESENT
#define NV_SOC_TEGRA_BPMP_H_PRESENT
#define NV_LINUX_SYNC_FILE_H_PRESENT
#define NV_LINUX_CC_PLATFORM_H_PRESENT
#define NV_ASM_CPUFEATURE_H_PRESENT
#define NV_LINUX_MPI_H_PRESENT
#define NV_ASM_MSHYPERV_H_PRESENT
#define NV_CRYPTO_SIG_H_PRESENT
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST: hash__remap_4k_pfn
 CONFTEST: set_pages_uc
 CONFTEST: list_is_first
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: set_pages_array_uc
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: ioremap_driver_hardened
 CONFTEST: ioremap_driver_hardened_wc
 CONFTEST: ioremap_cache_shared
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: pde_data
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: dma_attr_macros
 CONFTEST: dma_map_page_attrs
 CONFTEST: write_cr4
 CONFTEST: of_find_node_by_phandle
 CONFTEST: of_node_to_nid
 CONFTEST: pnv_pci_get_npu_dev
 CONFTEST: of_get_ibm_chip_id
 CONFTEST: pci_bus_address
 CONFTEST: pci_stop_and_remove_bus_device
 CONFTEST: pci_rebar_get_possible_sizes
 CONFTEST: wait_for_random_bytes
 CONFTEST: register_cpu_notifier
 CONFTEST: cpuhp_setup_state
 CONFTEST: dma_map_resource
 CONFTEST: get_backlight_device_by_name
 CONFTEST: timer_setup
 CONFTEST: pci_enable_msix_range
 CONFTEST: kernel_read_has_pointer_pos_arg
 CONFTEST: kernel_write_has_pointer_pos_arg
 CONFTEST: dma_direct_map_resource
 CONFTEST: tegra_get_platform
 CONFTEST: tegra_bpmp_send_receive
 CONFTEST: flush_cache_all
 CONFTEST: vmf_insert_pfn
 CONFTEST: jiffies_to_timespec
 CONFTEST: ktime_get_raw_ts64
 CONFTEST: ktime_get_real_ts64
 CONFTEST: full_name_hash
 CONFTEST: pci_enable_atomic_ops_to_root
 CONFTEST: vga_tryget
 CONFTEST: cc_platform_has
 CONFTEST: cc_attr_guest_sev_snp
 CONFTEST: hv_get_isolation_type
 CONFTEST: seq_read_iter
 CONFTEST: follow_pfn
 CONFTEST: ptep_get
 CONFTEST: drm_gem_object_get
 CONFTEST: drm_gem_object_put_unlocked
 CONFTEST: add_memory_driver_managed
 CONFTEST: device_property_read_u64
 CONFTEST: devm_of_platform_populate
 CONFTEST: of_dma_configure
 CONFTEST: of_property_count_elems_of_size
 CONFTEST: of_property_read_variable_u8_array
 CONFTEST: of_property_read_variable_u32_array
 CONFTEST: i2c_new_client_device
 CONFTEST: i2c_unregister_device
 CONFTEST: of_get_named_gpio
 CONFTEST: devm_gpio_request_one
 CONFTEST: gpio_direction_input
 CONFTEST: gpio_direction_output
 CONFTEST: gpio_get_value
 CONFTEST: gpio_set_value
 CONFTEST: gpio_to_irq
 CONFTEST: icc_get
 CONFTEST: icc_put
 CONFTEST: icc_set_bw
 CONFTEST: dma_map_ops_has_map_phys
 CONFTEST: dma_buf_export_args
 CONFTEST: dma_buf_ops_has_kmap
 CONFTEST: dma_buf_ops_has_kmap_atomic
 CONFTEST: dma_buf_ops_has_map
 CONFTEST: dma_buf_ops_has_map_atomic
 CONFTEST: dma_buf_has_dynamic_attachment
 CONFTEST: dma_buf_attachment_has_peer2peer
 CONFTEST: dma_set_mask_and_coherent
 CONFTEST: devm_clk_bulk_get_all
 CONFTEST: get_task_ioprio
 CONFTEST: mdev_set_iommu_device
 CONFTEST: offline_and_remove_memory
 CONFTEST: crypto_tfm_ctx_aligned
 CONFTEST: module_import_ns_takes_string_literal
 CONFTEST: vma_flags_set_word
 CONFTEST: vm_flags_set
 CONFTEST: wait_on_bit_lock_argument_count
 CONFTEST: radix_tree_empty
 CONFTEST: radix_tree_replace_slot
 CONFTEST: pnv_npu2_init_context
 CONFTEST: cpumask_of_node
 CONFTEST: ioasid_get
 CONFTEST: mm_pasid_drop
 CONFTEST: mmget_not_zero
 CONFTEST: mmgrab
 CONFTEST: iommu_sva_bind_device_has_drvdata_arg
 CONFTEST: vm_fault_to_errno
 CONFTEST: find_next_bit_wrap
 CONFTEST: iommu_is_dma_domain
 CONFTEST: folio_test_swapcache
 CONFTEST: page_pgmap
 CONFTEST: acpi_video_backlight_use_native
 CONFTEST: acpi_video_register_backlight
 CONFTEST: drm_dev_unref
 CONFTEST: drm_reinit_primary_mode_group
 CONFTEST: get_user_pages_remote
 CONFTEST: get_user_pages
 CONFTEST: pin_user_pages_remote
 CONFTEST: pin_user_pages
 CONFTEST: drm_gem_object_lookup
 CONFTEST: drm_atomic_state_ref_counting
 CONFTEST: drm_driver_has_gem_prime_res_obj
 CONFTEST: drm_atomic_helper_connector_dpms
 CONFTEST: drm_connector_funcs_have_mode_in_name
 CONFTEST: drm_connector_has_vrr_capable_property
 CONFTEST: drm_framebuffer_get
 CONFTEST: drm_dev_put
 CONFTEST: drm_format_num_planes
 CONFTEST: drm_connector_for_each_possible_encoder
 CONFTEST: drm_rotation_available
 CONFTEST: drm_vma_offset_exact_lookup_locked
 CONFTEST: nvhost_dma_fence_unpack
 CONFTEST: dma_fence_set_error
 CONFTEST: fence_set_error
 CONFTEST: sync_file_get_fence
 CONFTEST: drm_aperture_remove_conflicting_pci_framebuffers
 CONFTEST: aperture_remove_conflicting_devices
 CONFTEST: aperture_remove_conflicting_pci_devices
 CONFTEST: drm_fbdev_generic_setup
 CONFTEST: drm_fbdev_ttm_setup
 CONFTEST: drm_client_setup
 CONFTEST: drm_connector_attach_hdr_output_metadata_property
 CONFTEST: drm_helper_crtc_enable_color_mgmt
 CONFTEST: drm_crtc_enable_color_mgmt
 CONFTEST: drm_atomic_helper_legacy_gamma_set
 CONFTEST: is_export_symbol_gpl_of_node_to_nid
 CONFTEST: is_export_symbol_gpl_sme_active
 CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
 CONFTEST: is_export_symbol_present_swiotlb_dma_ops
 CONFTEST: is_export_symbol_present___close_fd
 CONFTEST: is_export_symbol_present_close_fd
 CONFTEST: is_export_symbol_present_get_unused_fd
 CONFTEST: is_export_symbol_present_get_unused_fd_flags
 CONFTEST: is_export_symbol_present_nvhost_get_default_device
 CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
 CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
 CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
 CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
 CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
 CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
 CONFTEST: is_export_symbol_present_get_dram_num_channels
 CONFTEST: is_export_symbol_present_tegra_dram_types
 CONFTEST: is_export_symbol_present_pxm_to_node
 CONFTEST: is_export_symbol_present_screen_info
 CONFTEST: is_export_symbol_gpl_screen_info
 CONFTEST: is_export_symbol_present_i2c_bus_status
 CONFTEST: is_export_symbol_present_tegra_fuse_control_read
 CONFTEST: is_export_symbol_present_tegra_get_platform
 CONFTEST: is_export_symbol_present_pci_find_host_bridge
 CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
 CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
 CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
 CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
 CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
 CONFTEST: is_export_symbol_present_memory_block_size_bytes
 CONFTEST: crypto
 CONFTEST: crypto_akcipher_verify
 CONFTEST: is_export_symbol_present_follow_pte
 CONFTEST: follow_pte_arg_vma
 CONFTEST: is_export_symbol_present_follow_pfnmap_start
 CONFTEST: is_export_symbol_gpl_pci_ats_supported
 CONFTEST: ecc_digits_from_bytes
 CONFTEST: is_export_symbol_present_timer_delete_sync
 CONFTEST: is_export_symbol_present_hrtimer_setup
 CONFTEST: is_export_symbol_gpl___vma_start_write
 CONFTEST: is_export_symbol_gpl_iommu_dev_enable_feature
 CONFTEST: is_export_symbol_gpl_iommu_dev_disable_feature
 CONFTEST: is_export_symbol_present_int_active_memcg
 CONFTEST: is_export_symbol_present_migrate_vma_setup
 CONFTEST: is_export_symbol_present___iowrite64_lo_hi
 CONFTEST: is_export_symbol_present_make_device_exclusive
 CONFTEST: dma_ops
 CONFTEST: swiotlb_dma_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: vm_fault_has_address
 CONFTEST: vm_insert_pfn_prot
 CONFTEST: vmf_insert_pfn_prot
 CONFTEST: vm_ops_fault_removed_vma_arg
 CONFTEST: kmem_cache_has_kobj_remove_work
 CONFTEST: sysfs_slab_unlink
 CONFTEST: proc_ops
 CONFTEST: timespec64
 CONFTEST: vmalloc_has_pgprot_t_arg
 CONFTEST: mm_has_mmap_lock
 CONFTEST: pci_channel_state
 CONFTEST: pci_dev_has_ats_enabled
 CONFTEST: remove_memory_has_nid_arg
 CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
 CONFTEST: num_registered_fb
 CONFTEST: pci_driver_has_driver_managed_dma
 CONFTEST: memory_failure_has_trapno_arg
 CONFTEST: foll_longterm_present
 CONFTEST: bus_type_has_iommu_ops
 CONFTEST: backing_dev_info
 CONFTEST: mm_context_t
 CONFTEST: vm_fault_t
 CONFTEST: mmu_notifier_ops_invalidate_range
 CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
 CONFTEST: migrate_vma_added_flags
 CONFTEST: migrate_device_range
 CONFTEST: handle_mm_fault_has_mm_arg
 CONFTEST: handle_mm_fault_has_pt_regs_arg
 CONFTEST: mempolicy_has_unified_nodes
 CONFTEST: mempolicy_has_home_node
 CONFTEST: mpol_preferred_many_present
 CONFTEST: mmu_interval_notifier
 CONFTEST: drm_bus_present
 CONFTEST: drm_bus_has_bus_type
 CONFTEST: drm_bus_has_get_irq
 CONFTEST: drm_bus_has_get_name
 CONFTEST: drm_driver_has_device_list
 CONFTEST: drm_driver_has_legacy_dev_list
 CONFTEST: drm_driver_has_set_busid
 CONFTEST: drm_crtc_state_has_connectors_changed
 CONFTEST: drm_init_function_args
 CONFTEST: drm_helper_mode_fill_fb_struct
 CONFTEST: drm_master_drop_has_from_release_arg
 CONFTEST: drm_driver_unload_has_int_return_type
 CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
 CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
 CONFTEST: drm_mode_object_find_has_file_priv_arg
 CONFTEST: dma_buf_owner
 CONFTEST: drm_connector_list_iter
 CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
 CONFTEST: drm_driver_prime_flag_present
 CONFTEST: drm_gem_object_has_resv
 CONFTEST: drm_crtc_state_has_async_flip
 CONFTEST: drm_crtc_state_has_pageflip_flags
 CONFTEST: drm_crtc_state_has_vrr_enabled
 CONFTEST: drm_format_modifiers_present
 CONFTEST: drm_vma_node_is_allowed_has_tag_arg
 CONFTEST: drm_vma_offset_node_has_readonly
 CONFTEST: drm_display_mode_has_vrefresh
 CONFTEST: drm_driver_master_set_has_int_return_type
 CONFTEST: drm_driver_has_gem_free_object
 CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
 CONFTEST: drm_driver_has_gem_prime_callbacks
 CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
 CONFTEST: drm_gem_object_vmap_has_map_arg
 CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
 CONFTEST: drm_device_has_pdev
 CONFTEST: drm_crtc_state_has_no_vblank
 CONFTEST: drm_mode_config_has_allow_fb_modifiers
 CONFTEST: drm_has_hdr_output_metadata
 CONFTEST: dma_resv_add_fence
 CONFTEST: dma_resv_reserve_fences
 CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
 CONFTEST: drm_connector_has_override_edid
 CONFTEST: drm_master_has_leases
 CONFTEST: drm_file_get_master
 CONFTEST: drm_modeset_lock_all_end
 CONFTEST: drm_connector_lookup
 CONFTEST: drm_connector_put
 CONFTEST: drm_driver_has_dumb_destroy
 CONFTEST: fence_ops_use_64bit_seqno
 CONFTEST: drm_aperture_remove_conflicting_pci_framebuffers_has_driver_arg
 CONFTEST: drm_mode_create_dp_colorspace_property_has_supported_colorspaces_arg
 CONFTEST: drm_unlocked_ioctl_flag_present
 CONFTEST: drm_output_poll_changed
 CONFTEST: drm_driver_has_date
 CONFTEST: file_operations_fop_unsigned_offset_present
 CONFTEST: drm_connector_helper_funcs_mode_valid_has_const_mode_arg
 CONFTEST: drm_fb_create_takes_format_info
 CONFTEST: dom0_kernel_present
 CONFTEST: nvidia_vgpu_kvm_build
 CONFTEST: nvidia_grid_build
 CONFTEST: nvidia_grid_csp_build
 CONFTEST: pm_runtime_available
 CONFTEST: pci_class_multimedia_hd_audio
 CONFTEST: drm_available
 CONFTEST: vfio_pci_core_available
 CONFTEST: mdev_available
 CONFTEST: cmd_uphy_display_port_init
 CONFTEST: cmd_uphy_display_port_off
 CONFTEST: memory_failure_mf_sw_simulated_defined
 CONFTEST: drm_atomic_available
 CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
 CONFTEST: drm_alpha_blending_available
 CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
 CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
 CONFTEST: ib_peer_memory_symbols
 CONFTEST symbols.h:
#define NV_IS_EXPORT_SYMBOL_GPL_of_node_to_nid 0
#define NV_IS_EXPORT_SYMBOL_GPL_sme_active 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_map_sg_attrs 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_dma_ops 0
#define NV_IS_EXPORT_SYMBOL_PRESENT___close_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_close_fd 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd_flags 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_get_default_device 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_byte_offset 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_aperture 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_register_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_unregister_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_client_ipc_send_recv 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_dram_clk_to_mc_clk 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_dram_num_channels 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dram_types 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_pxm_to_node 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_screen_info 0
#define NV_IS_EXPORT_SYMBOL_GPL_screen_info 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_i2c_bus_status 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_fuse_control_read 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_get_platform 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_pci_find_host_bridge 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_tsec_comms_send_cmd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tsec_comms_set_init_cb 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tsec_comms_clear_init_cb 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tsec_comms_alloc_mem_from_gscco 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tsec_comms_free_gscco_mem 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_memory_block_size_bytes 1
#define NV_CRYPTO_PRESENT
#undef NV_CRYPTO_AKCIPHER_VERIFY_PRESENT
#define NV_IS_EXPORT_SYMBOL_PRESENT_follow_pte 0
#undef NV_FOLLOW_PTE_ARG1_VMA
#define NV_IS_EXPORT_SYMBOL_PRESENT_follow_pfnmap_start 1
#define NV_IS_EXPORT_SYMBOL_GPL_pci_ats_supported 1
#undef NV_ECC_DIGITS_FROM_BYTES_PRESENT
#define NV_IS_EXPORT_SYMBOL_PRESENT_timer_delete_sync 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_hrtimer_setup 1
#define NV_IS_EXPORT_SYMBOL_GPL___vma_start_write 1
#define NV_IS_EXPORT_SYMBOL_GPL_iommu_dev_enable_feature 0
#define NV_IS_EXPORT_SYMBOL_GPL_iommu_dev_disable_feature 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_int_active_memcg 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_migrate_vma_setup 1
#define NV_IS_EXPORT_SYMBOL_PRESENT___iowrite64_lo_hi 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_make_device_exclusive 1
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST types.h:
#undef NV_DMA_OPS_PRESENT
#undef NV_SWIOTLB_DMA_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#undef NV_VM_INSERT_PFN_PROT_PRESENT
#define NV_VMF_INSERT_PFN_PROT_PRESENT
#define NV_VM_OPS_FAULT_REMOVED_VMA_ARG
#undef NV_KMEM_CACHE_HAS_KOBJ_REMOVE_WORK
#undef NV_SYSFS_SLAB_UNLINK_PRESENT
#define NV_PROC_OPS_PRESENT
#define NV_TIMESPEC64_PRESENT
#undef NV_VMALLOC_HAS_PGPROT_T_ARG
#define NV_MM_HAS_MMAP_LOCK
#undef NV_PCI_CHANNEL_STATE_PRESENT
#define NV_PCI_DEV_HAS_ATS_ENABLED
#undef NV_REMOVE_MEMORY_HAS_NID_ARG
#define NV_ADD_MEMORY_DRIVER_MANAGED_HAS_MHP_FLAGS_ARG
#undef NV_NUM_REGISTERED_FB_PRESENT
#define NV_PCI_DRIVER_HAS_DRIVER_MANAGED_DMA
#undef NV_MEMORY_FAILURE_HAS_TRAPNO_ARG
#define NV_FOLL_LONGTERM_PRESENT
#undef NV_BUS_TYPE_HAS_IOMMU_OPS
#undef NV_ADDRESS_SPACE_HAS_BACKING_DEV_INFO
#undef NV_MM_CONTEXT_T_HAS_ID
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_PIN_USER_PAGES_REMOTE_PRESENT
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_TSK_VMAS
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_VMAS
#define NV_PIN_USER_PAGES_PRESENT
#undef NV_PIN_USER_PAGES_HAS_ARGS_VMAS
#define NV_VM_FAULT_T_IS_PRESENT
#undef NV_MMU_NOTIFIER_OPS_HAS_INVALIDATE_RANGE
#define NV_MMU_NOTIFIER_OPS_HAS_ARCH_INVALIDATE_SECONDARY_TLBS
#define NV_MIGRATE_VMA_FLAGS_PRESENT
#define NV_MIGRATE_DEVICE_RANGE_PRESENT
#undef NV_HANDLE_MM_FAULT_HAS_MM_ARG
#define NV_HANDLE_MM_FAULT_HAS_PT_REGS_ARG
#define NV_MEMPOLICY_HAS_UNIFIED_NODES
#define NV_MEMPOLICY_HAS_HOME_NODE
#define NV_MPOL_PREFERRED_MANY_PRESENT
#define NV_MMU_INTERVAL_NOTIFIER
#undef NV_DRM_BUS_PRESENT
#undef NV_DRM_BUS_HAS_BUS_TYPE
#undef NV_DRM_BUS_HAS_GET_IRQ
#undef NV_DRM_BUS_HAS_GET_NAME
#undef NV_DRM_DRIVER_HAS_DEVICE_LIST
#undef NV_DRM_DRIVER_HAS_LEGACY_DEV_LIST
#undef NV_DRM_DRIVER_HAS_SET_BUSID
#define NV_DRM_CRTC_STATE_HAS_CONNECTORS_CHANGED
#define NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG
#define NV_DRM_ENCODER_INIT_HAS_NAME_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_NAME_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_DEV_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG
#undef NV_DRM_MASTER_DROP_HAS_FROM_RELEASE_ARG
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#undef NV_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_HAS_CRTC_ARG
#undef NV_DRM_ATOMIC_HELPER_PLANE_DESTROY_STATE_HAS_PLANE_ARG
#define NV_DRM_MODE_OBJECT_FIND_HAS_FILE_PRIV_ARG
#define NV_DMA_BUF_OWNER_PRESENT
#undef NV_DRM_CONNECTOR_LIST_ITER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_HAS_STALL_ARG
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_RETURN_INT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#define NV_DRM_GEM_OBJECT_HAS_RESV
#define NV_DRM_CRTC_STATE_HAS_ASYNC_FLIP
#undef NV_DRM_CRTC_STATE_HAS_PAGEFLIP_FLAGS
#define NV_DRM_CRTC_STATE_HAS_VRR_ENABLED
#define NV_DRM_FORMAT_MODIFIERS_PRESENT
#define NV_DRM_VMA_NODE_IS_ALLOWED_HAS_TAG_ARG
#undef NV_DRM_VMA_OFFSET_NODE_HAS_READONLY
#undef NV_DRM_DISPLAY_MODE_HAS_VREFRESH
#undef NV_DRM_DRIVER_SET_MASTER_HAS_INT_RETURN_TYPE
#undef NV_DRM_DRIVER_HAS_GEM_FREE_OBJECT
#define NV_DRM_PRIME_PAGES_TO_SG_HAS_DRM_DEVICE_ARG
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS
#define NV_DRM_CRTC_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
#define NV_DRM_GEM_OBJECT_VMAP_HAS_MAP_ARG
#define NV_DRM_PLANE_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
#undef NV_DRM_DEVICE_HAS_PDEV
#define NV_DRM_CRTC_STATE_HAS_NO_VBLANK
#undef NV_DRM_MODE_CONFIG_HAS_ALLOW_FB_MODIFIERS
#define NV_DRM_HAS_HDR_OUTPUT_METADATA
#define NV_DMA_RESV_ADD_FENCE_PRESENT
#define NV_DMA_RESV_RESERVE_FENCES_PRESENT
#undef NV_RESERVATION_OBJECT_RESERVE_SHARED_HAS_NUM_FENCES_ARG
#undef NV_DRM_CONNECTOR_HAS_OVERRIDE_EDID
#define NV_DRM_MASTER_HAS_LEASES
#define NV_DRM_FILE_GET_MASTER_PRESENT
#define NV_DRM_MODESET_LOCK_ALL_END_ARGUMENT_COUNT 3
#define NV_DRM_CONNECTOR_LOOKUP_PRESENT
#define NV_DRM_CONNECTOR_PUT_PRESENT
#undef NV_DRM_DRIVER_HAS_DUMB_DESTROY
#undef NV_DMA_FENCE_OPS_HAS_USE_64BIT_SEQNO
#undef NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_HAS_DRIVER_ARG
#define NV_DRM_MODE_CREATE_DP_COLORSPACE_PROPERTY_HAS_SUPPORTED_COLORSPACES_ARG
#undef NV_DRM_UNLOCKED_IOCTL_FLAG_PRESENT
#undef NV_DRM_OUTPUT_POLL_CHANGED_PRESENT
#undef NV_DRM_DRIVER_HAS_DATE
#define NV_FILE_OPERATIONS_FOP_UNSIGNED_OFFSET_PRESENT
#define NV_DRM_CONNECTOR_HELPER_FUNCS_MODE_VALID_HAS_CONST_MODE_ARG
#define NV_DRM_FB_CREATE_TAKES_FORMAT_INFO
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST functions.h:
#undef NV_HASH__REMAP_4K_PFN_PRESENT
#define NV_SET_PAGES_UC_PRESENT
#define NV_LIST_IS_FIRST_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#define NV_SET_PAGES_ARRAY_UC_PRESENT
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#undef NV_IOREMAP_DRIVER_HARDENED_PRESENT
#undef NV_IOREMAP_DRIVER_HARDENED_WC_PRESENT
#undef NV_IOREMAP_CACHE_SHARED_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_PDE_DATA_LOWER_CASE_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#undef NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#define NV_DMA_ATTR_SKIP_CPU_SYNC_PRESENT
#define NV_DMA_MAP_PAGE_ATTRS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_NODE_BY_PHANDLE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_NODE_TO_NID_PRESENT
#undef NV_PNV_PCI_GET_NPU_DEV_PRESENT
#undef NV_OF_GET_IBM_CHIP_ID_PRESENT
#define NV_PCI_BUS_ADDRESS_PRESENT
#define NV_PCI_STOP_AND_REMOVE_BUS_DEVICE_PRESENT
#define NV_PCI_REBAR_GET_POSSIBLE_SIZES_PRESENT
#define NV_WAIT_FOR_RANDOM_BYTES_PRESENT
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DMA_MAP_RESOURCE_PRESENT
#undef NV_GET_BACKLIGHT_DEVICE_BY_NAME_PRESENT
#define NV_TIMER_SETUP_PRESENT
#define NV_PCI_ENABLE_MSIX_RANGE_PRESENT
#define NV_KERNEL_READ_HAS_POINTER_POS_ARG
#define NV_KERNEL_WRITE_HAS_POINTER_POS_ARG
#undef NV_DMA_IS_DIRECT_PRESENT
#define NV_TEGRA_GET_PLATFORM_PRESENT
#undef NV_TEGRA_BPMP_SEND_RECEIVE
#define NV_FLUSH_CACHE_ALL_PRESENT
#define NV_VMF_INSERT_PFN_PRESENT
#undef NV_JIFFIES_TO_TIMESPEC_PRESENT
#define NV_KTIME_GET_RAW_TS64_PRESENT
#define NV_KTIME_GET_REAL_TS64_PRESENT
#define NV_FULL_NAME_HASH_ARGUMENT_COUNT 3
#define NV_PCI_ENABLE_ATOMIC_OPS_TO_ROOT_PRESENT
#undef NV_VGA_TRYGET_PRESENT
#define NV_CC_PLATFORM_PRESENT
#define NV_CC_ATTR_SEV_SNP
#define NV_HV_GET_ISOLATION_TYPE
#define NV_SEQ_READ_ITER_PRESENT
#undef NV_FOLLOW_PFN_PRESENT
#define NV_PTEP_GET_PRESENT
#define NV_DRM_GEM_OBJECT_GET_PRESENT
#undef NV_DRM_GEM_OBJECT_PUT_UNLOCK_PRESENT
#define NV_ADD_MEMORY_DRIVER_MANAGED_PRESENT
#define NV_DEVICE_PROPERTY_READ_U64_PRESENT
#define NV_DEVM_OF_PLATFORM_POPULATE_PRESENT
#define NV_OF_DMA_CONFIGURE_PRESENT
#define NV_OF_PROPERTY_COUNT_ELEMS_OF_SIZE_PRESENT
#define NV_OF_PROPERTY_READ_VARIABLE_U8_ARRAY_PRESENT
#define NV_OF_PROPERTY_READ_VARIABLE_U32_ARRAY_PRESENT
#define NV_I2C_NEW_CLIENT_DEVICE_PRESENT
#define NV_I2C_UNREGISTER_DEVICE_PRESENT
#define NV_OF_GET_NAME_GPIO_PRESENT
#define NV_DEVM_GPIO_REQUEST_ONE_PRESENT
#define NV_GPIO_DIRECTION_INPUT_PRESENT
#define NV_GPIO_DIRECTION_OUTPUT_PRESENT
#define NV_GPIO_GET_VALUE_PRESENT
#define NV_GPIO_SET_VALUE_PRESENT
#define NV_GPIO_TO_IRQ_PRESENT
#undef NV_ICC_GET_PRESENT
#define NV_ICC_PUT_PRESENT
#define NV_ICC_SET_BW_PRESENT
#define NV_DMA_MAP_OPS_HAS_MAP_PHYS
#define NV_DMA_BUF_EXPORT_ARGUMENT_COUNT 1
#undef NV_DMA_BUF_OPS_HAS_KMAP
#undef NV_DMA_BUF_OPS_HAS_KMAP_ATOMIC
#undef NV_DMA_BUF_OPS_HAS_MAP
#undef NV_DMA_BUF_OPS_HAS_MAP_ATOMIC
#define NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT
#define NV_DMA_BUF_ATTACHMENT_HAS_PEER2PEER
#define NV_DMA_SET_MASK_AND_COHERENT_PRESENT
#define NV_DEVM_CLK_BULK_GET_ALL_PRESENT
#define NV_GET_TASK_IOPRIO_PRESENT
#undef NV_MDEV_SET_IOMMU_DEVICE_PRESENT
#define NV_OFFLINE_AND_REMOVE_MEMORY_PRESENT
#undef NV_CRYPTO_TFM_CTX_ALIGNED_PRESENT
#define NV_MODULE_IMPORT_NS_TAKES_STRING_LITERAL
#define NV_VMA_FLAGS_SET_WORD_PRESENT
#define NV_VM_FLAGS_SET_PRESENT
#define NV_WAIT_ON_BIT_LOCK_ARGUMENT_COUNT 3
#define NV_RADIX_TREE_EMPTY_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_ARGUMENT_COUNT 3
#undef NV_PNV_NPU2_INIT_CONTEXT_PRESENT
#undef NV_PNV_NPU2_INIT_CONTEXT_CALLBACK_RETURNS_VOID
#define NV_CPUMASK_OF_NODE_PRESENT
#undef NV_IOASID_GET_PRESENT
#define NV_MM_PASID_DROP_PRESENT
#define NV_MMGET_NOT_ZERO_PRESENT
#define NV_MMGRAB_PRESENT
#undef NV_IOMMU_SVA_BIND_DEVICE_HAS_DRVDATA_ARG
#undef NV_VM_FAULT_TO_ERRNO_PRESENT
#define NV_FIND_NEXT_BIT_WRAP_PRESENT
#define NV_IOMMU_IS_DMA_DOMAIN_PRESENT
#define NV_FOLIO_TEST_SWAPCACHE_PRESENT
#define NV_PAGE_PGMAP_PRESENT
#define NV_ACPI_VIDEO_BACKLIGHT_USE_NATIVE
#define NV_ACPI_VIDEO_REGISTER_BACKLIGHT
#undef NV_DRM_DEV_UNREF_PRESENT
#undef NV_DRM_REINIT_PRIMARY_MODE_GROUP_PRESENT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_PIN_USER_PAGES_REMOTE_PRESENT
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_TSK_VMAS
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_VMAS
#define NV_PIN_USER_PAGES_PRESENT
#undef NV_PIN_USER_PAGES_HAS_ARGS_VMAS
#define NV_DRM_GEM_OBJECT_LOOKUP_ARGUMENT_COUNT 2
#define NV_DRM_ATOMIC_STATE_REF_COUNTING_PRESENT
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ
#undef NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESENT
#undef NV_DRM_CONNECTOR_FUNCS_HAVE_MODE_IN_NAME
#define NV_DRM_CONNECTOR_HAS_VRR_CAPABLE_PROPERTY
#define NV_DRM_FRAMEBUFFER_GET_PRESENT
#define NV_DRM_DEV_PUT_PRESENT
#undef NV_DRM_FORMAT_NUM_PLANES_PRESENT
#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2
#define NV_DRM_ROTATION_AVAILABLE
#define NV_DRM_VMA_OFFSET_EXACT_LOOKUP_LOCKED_PRESENT
#undef NV_NVHOST_DMA_FENCE_UNPACK_PRESENT
#define NV_DMA_FENCE_SET_ERROR_PRESENT
#undef NV_FENCE_SET_ERROR_PRESENT
#define NV_SYNC_FILE_GET_FENCE_PRESENT
#undef NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT
#define NV_APERTURE_REMOVE_CONFLICTING_DEVICES_PRESENT
#define NV_APERTURE_REMOVE_CONFLICTING_PCI_DEVICES_PRESENT
#undef NV_DRM_FBDEV_GENERIC_SETUP_PRESENT
#undef NV_DRM_FBDEV_TTM_SETUP_PRESENT
#define NV_DRM_CLIENT_SETUP_PRESENT
#define NV_DRM_CONNECTOR_ATTACH_HDR_OUTPUT_METADATA_PROPERTY_PRESENT
#undef NV_DRM_HELPER_CRTC_ENABLE_COLOR_MGMT_PRESENT
#define NV_DRM_CRTC_ENABLE_COLOR_MGMT_PRESENT
#undef NV_DRM_ATOMIC_HELPER_LEGACY_GAMMA_SET_PRESENT
// Kernel version:             "7.0.10+deb14-amd64"
 CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#undef NV_VGPU_KVM_BUILD
#undef NV_GRID_BUILD
#undef NV_GRID_BUILD_CSP
#undef NV_GET_USER_PAGES_HAS_ARGS_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_HAS_ARGS_FLAGS_VMAS
#define NV_GET_USER_PAGES_HAS_ARGS_FLAGS
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_WRITE_FORCE_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_TSK_FLAGS_LOCKED_VMAS
#undef NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED_VMAS
#define NV_GET_USER_PAGES_REMOTE_HAS_ARGS_FLAGS_LOCKED
#define NV_PIN_USER_PAGES_PRESENT
#undef NV_PIN_USER_PAGES_HAS_ARGS_VMAS
#define NV_PIN_USER_PAGES_REMOTE_PRESENT
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_TSK_VMAS
#undef NV_PIN_USER_PAGES_REMOTE_HAS_ARGS_VMAS
#define NV_PM_RUNTIME_AVAILABLE
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_PCI_CLASS_MULTIMEDIA_HD_AUDIO_PRESENT
#define NV_DRM_AVAILABLE
#define NV_VFIO_PCI_CORE_PRESENT
#define NV_MDEV_PRESENT
#define NV_CMD_UPHY_DISPLAY_PORT_INIT_PRESENT
#define NV_CMD_UPHY_DISPLAY_PORT_OFF_PRESENT
#define NV_MEMORY_FAILURE_MF_SW_SIMULATED_DEFINED
#define NV_DRM_ATOMIC_MODESET_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_inc 0
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_dec_and_test 0
#define NV_DRM_ALPHA_BLENDING_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_PRESENT_drm_gem_prime_fd_to_handle 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_drm_gem_prime_handle_to_fd 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_timer_delete_sync 1
#define NV_IS_EXPORT_SYMBOL_GPL___vma_start_write 1
#undef NV_MLNX_IB_PEER_MEM_SYMBOLS_PRESENT
// Kernel version:             "7.0.10+deb14-amd64"
# CC [M]  nvidia/nv.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv.o nvidia/nv.c  
# CC [M]  nvidia/nv-pci.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-pci.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_pci"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-pci.o nvidia/nv-pci.c  
# CC [M]  nvidia/nv-dmabuf.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-dmabuf.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_dmabuf"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-dmabuf.o nvidia/nv-dmabuf.c  
# CC [M]  nvidia/nv-nano-timer.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-nano-timer.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_nano_timer"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-nano-timer.o nvidia/nv-nano-timer.c  
# CC [M]  nvidia/nv-acpi.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-acpi.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-acpi.o nvidia/nv-acpi.c  
# CC [M]  nvidia/nv-cray.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-cray.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-cray.o nvidia/nv-cray.c  
# CC [M]  nvidia/nv-dma.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-dma.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-dma.o nvidia/nv-dma.c  
# CC [M]  nvidia/nv-i2c.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-i2c.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-i2c.o nvidia/nv-i2c.c  
# CC [M]  nvidia/nv-mmap.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-mmap.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-mmap.o nvidia/nv-mmap.c  
# CC [M]  nvidia/nv-p2p.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-p2p.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-p2p.o nvidia/nv-p2p.c  
# CC [M]  nvidia/nv-pat.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-pat.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-pat.o nvidia/nv-pat.c  
# CC [M]  nvidia/nv-procfs.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-procfs.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-procfs.o nvidia/nv-procfs.c  
nvidia/nv-mmap.c: In function ‘nv_vma_enter_locked’:
nvidia/nv-mmap.c:887:9: warning: ignoring return value of ‘refcount_sub_and_test’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  887 |         refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# CC [M]  nvidia/nv-usermap.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-usermap.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=nvidia -c -o nvidia/nv-usermap.o nvidia/nv-usermap.c  
 
 --- snip ----
 
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia-drm/.nvidia-drm-crtc.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia-drm -UDEBUG -U_DEBUG -DNDEBUG -DNV_BUILD_MODULE_INSTANCES=0  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nvidia_drm_crtc"' -DKBUILD_MODNAME='"nvidia_drm"' -D__KBUILD_MODNAME=nvidia_drm -c -o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-crtc.c  
# CC [M]  nvidia-drm/nvidia-drm-encoder.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia-drm/.nvidia-drm-encoder.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia-drm -UDEBUG -U_DEBUG -DNDEBUG -DNV_BUILD_MODULE_INSTANCES=0  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nvidia_drm_encoder"' -DKBUILD_MODNAME='"nvidia_drm"' -D__KBUILD_MODNAME=nvidia_drm -c -o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-encoder.c  
# CC [M]  nvidia-drm/nvidia-drm-connector.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia-drm/.nvidia-drm-connector.o.d -nostdinc -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated -I/usr/src/linux-headers-7.0.10+deb14-common/include -I/usr/src/linux-headers-7.0.10+deb14-amd64/include -I/usr/src/linux-headers-7.0.10+deb14-common/arch/x86/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-7.0.10+deb14-common/include/uapi -I/usr/src/linux-headers-7.0.10+deb14-amd64/include/generated/uapi -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler-version.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/kconfig.h -include /usr/src/linux-headers-7.0.10+deb14-common/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"550.163.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-error -I././nvidia-drm -UDEBUG -U_DEBUG -DNDEBUG -DNV_BUILD_MODULE_INSTANCES=0  -fsanitize=bounds-strict -fsanitize=shift    -DMODULE  -DKBUILD_BASENAME='"nvidia_drm_connector"' -DKBUILD_MODNAME='"nvidia_drm"' -D__KBUILD_MODNAME=nvidia_drm -c -o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-connector.c  
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm.c:27:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm.o] Fehler 1
make[4]: *** Es wird auf noch nicht beendete Prozesse gewartet …
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm-drv.c:25:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm-utils.c:38:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm-utils.o] Fehler 1
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm-crtc.c:28:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm-crtc.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm-drv.o] Fehler 1
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm-encoder.c:27:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm-encoder.o] Fehler 1
In file included from nvidia-drm/nvidia-drm-os-interface.h:33,
                 from nvidia-drm/nvidia-drm-priv.h:46,
                 from nvidia-drm/nvidia-drm-connector.c:28:
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal’:
nvidia-drm/nvidia-dma-fence-helper.h:100:12: error: void value not ignored as it ought to be
  100 |     return dma_fence_signal(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-dma-fence-helper.h: In function ‘nv_dma_fence_signal_locked’:
nvidia-drm/nvidia-dma-fence-helper.h:108:12: error: void value not ignored as it ought to be
  108 |     return dma_fence_signal_locked(fence);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: nvidia-drm/nvidia-drm-connector.o] Fehler 1
make[3]: *** [/usr/src/linux-headers-7.0.10+deb14-common/Makefile:2134: .] Fehler 2
make[2]: *** [/usr/src/linux-headers-7.0.10+deb14-common/Makefile:260: __sub-make] Fehler 2
make[2]: Verzeichnis „/var/lib/dkms/nvidia-current/550.163.01/build“ wird verlassen
make[1]: *** [Makefile:260: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-7.0.10+deb14-common“ wird verlassen
make: *** [Makefile:140: modules] Fehler 2

# exit code: 2
# elapsed time: 00:00:46
----------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment