KERNEL – 6.19-rc Pre-release Tests – VMware OK, NVIDIA Fails
Tested the December 10th version of the pre-6.19-rc code, and the latest VMware version 25.0.0 (25H2) compiles/loads OK, but NVIDIA (580.105.08 and 590.44.01) compiles fail with the same errors:
.............
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] nvidia/nv-platform.o
In file included from <command-line>:
././common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
././common/inc/nv-mm.h:209:25: error: ‘struct vm_area_struct’ has no member named ‘__vm_flags’; did you mean ‘vm_flags’?
209 | ACCESS_PRIVATE(vma, __vm_flags) |= flags;
| ^~~~~~~~~~
/usr/src/linux-6.19-rc00/include/linux/compiler_types.h:95:42: note: in definition of macro ‘ACCESS_PRIVATE’
95 | # define ACCESS_PRIVATE(p, member) ((p)->member)
| ^~~~~~
././common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
././common/inc/nv-mm.h:221:25: error: ‘struct vm_area_struct’ has no member named ‘__vm_flags’; did you mean ‘vm_flags’?
221 | ACCESS_PRIVATE(vma, __vm_flags) &= ~flags;
| ^~~~~~~~~~
/usr/src/linux-6.19-rc00/include/linux/compiler_types.h:95:42: note: in definition of macro ‘ACCESS_PRIVATE’
95 | # define ACCESS_PRIVATE(p, member) ((p)->member)
| ^~~~~~
In file included from ././common/inc/nv-linux.h:37,
from ././common/inc/nv-platform.h:27,
from nvidia/nv-platform.c:29:
././common/inc/nv-time.h: In function ‘nv_sleep_us’:
././common/inc/nv-time.h:85:9: error: implicit declaration of function ‘in_irq’ [-Wimplicit-function-declaration]
85 | if (in_irq() && (us > NV_MAX_ISR_DELAY_US))
| ^~~~~~
make[4]: *** [/usr/src/linux-6.19-rc00/scripts/Makefile.build:287: nvidia/nv-platform.o] Error 1
make[3]: *** [/usr/src/linux-6.19-rc00/Makefile:2054: .] Error 2
make[2]: *** [/usr/src/linux-6.19-rc00/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/rgadsdon/NVIDIA-Linux-x86_64-590.44.01/kernel'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.19-rc00'
make: *** [Makefile:138: modules] Error 2
I was able to fix the in_irq error, by adding the define from /include/linux/preempt.h to the nv_time.h code, but was unable to fix the rest..
Obviously, there will be more changes to come before 6.19-rc is released, so there may be more errors to come..
Robert Gadsdon. December 19th 2025

Greetings!
Indeed: a lot seems to have changed for the upcoming 6.19 kernel.
According to this commit: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=70e0a80a1f3580ccf5bc1f34dbb433c67d9d8d00 “in_irq()” is an old alias for “in_hardirq()”.
NVIDIA: There are 2 places where this is used in the files common/inc/nv-time.h and nvidia/os-interface.c
In common/inc/nv-time.h:
– if (in_irq() && (us > NV_MAX_ISR_DELAY_US))
+ if (in_hardirq() && (us > NV_MAX_ISR_DELAY_US))
And in nvidia/os-interface.c:
– return (in_irq());
+ return (in_hardirq());
And like you I couldn’t resolve the other errors (yet?).
And there might be more to come, unfortunately…