Kernel – 7.1-rc Pre-test – VMware OK, NVIDIA Fails, and Fix..
Kernel 7.1-rc1 will be out soon, and I tested the latest GIT code to see if there are any issues…
VMware installs without any problems:
# vmware-modconfig –console –install-all
[AppLoader] GLib does not have GSettings support.
Stopping vmware (via systemctl): [ OK ]
Starting vmware (via systemctl): [ OK ]
root@rgenvy17:/home/rgadsdon# vmware –version
VMware Workstation 25.0.1 25219725
NVIDIA 595.58.03 compile fails:
………….
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 ././common/inc/nv-platform.h:27,
from nvidia/nv-platform.c:30:
././common/inc/nv-linux.h:1699:10: fatal error: linux/of_gpio.h: No such file or directory
1699 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-7.1-rc01/scripts/Makefile.build:289: nvidia/nv-platform.o] Error 1
make[3]: *** [/usr/src/linux-7.1-rc01/Makefile:2139: .] Error 2
make[2]: *** [/usr/src/linux-7.1-rc01/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory ‘/home/rgadsdon/NVIDIA-Linux-x86_64-595.58.03/kernel’
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory ‘/usr/src/linux-7.1-rc01’
make: *** [Makefile:138: modules] Error 2
There seems to be a simple fix for this..
In NVIDIA-Linux-x86_64-595.58.03/kernel/common/inc/nv-platform.h
replace
linux/of_gpio.h
with
linux/gpio/machine.h
-and then the compilation completes successfully (with the usual – several – warnings..)
……………..
CC [M] nvidia.mod.o
CC [M] .module-common.o
LD [M] nvidia.ko
CC [M] nvidia-uvm.mod.o
LD [M] nvidia-uvm.ko
CC [M] nvidia-modeset.mod.o
LD [M] nvidia-modeset.ko
CC [M] nvidia-drm.mod.o
LD [M] nvidia-drm.ko
CC [M] nvidia-peermem.mod.o
LD [M] nvidia-peermem.ko
make[2]: Leaving directory ‘/home/rgadsdon/NVIDIA-Linux-x86_64-595.58.03-custom/kernel’
make[1]: Leaving directory ‘/usr/src/linux-7.1-rc01’
– and # nvidia-smi
Fri Apr 24 13:30:15 2026
+—————————————————————————————–+
| NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2 |
+—————————————–+————————+———————-+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3050 … Off | 00000000:02:00.0 Off | N/A |
| N/A 46C P8 2W / 35W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+—————————————–+————————+———————-+
(this is a hybrid Intel/NVIDIA laptop)
Everything appears to work OK – tested with KDE/Plasma and VMware with Win10 Guest..
As usual, this is a non-expert solution (!) and more kernel code changes will be made before -rc1 is released..
Robert Gadsdon. April 24th 2026.

Comments
Kernel – 7.1-rc Pre-test – VMware OK, NVIDIA Fails, and Fix.. — No Comments