Error: implicit declaration of function ‘PageSwapCache’ [-Wimplicit-function-declaration]

Hello Nvidia Team,

I notice this today:

/var/lib/dkms/nvidia/560.35.03/build/nvidia-uvm/uvm_hmm.c: In function ‘dmamap_src_sysmem_pages’:
/var/lib/dkms/nvidia/560.35.03/build/nvidia-uvm/uvm_hmm.c:2697:17: error: implicit declaration of function ‘PageSwapCache’ [-Wimplicit-function-declaration]
2697 | if (PageSwapCache(src_page)) {
| ^~~~~~~~~~~~~

File: /var/lib/dkms/nvidia/560.35.03/build/make.log
make.log (47.6 KB)

Kernel: 6.12.0-rc1
OS: openSUSE Tumbleweed 20241001

1 Like

The driver does not work with 6.12-rc1 yet.

We have same issue reported internally and bug 4823975 is filed for tracking purpose.