NVIDIA – Patch for Kernel 5.19-rc1
There is now a simple patch for kernel 5.19 NVIDIA support, at https://gist.github.com/joanbm/d630a02dde00bf087f64091d331f6dbb . Although this is (for some reason) for a 470.xx driver, it will apply cleanly to the latest – 515.48.07 – and I have tested it successfully with Kernel 5.19-rc1..
Robert Gadsdon. June 5th 2022.
As for 390.151 driver, I have applied this patch:
and changed nv_dma_resv_add_excl_fence to dma_resv_add_excl_fence as you described in your previous post.
After this all compiles and work well with 5.19-rc kernels.
This is just FYI in another context.
Though I have been using Intel VT-d(VFIO or PCI pass-thru’ in kernel side) feature to use NVIDIA driver on guest systems(Windows 10 and Linux) for years, from beginning of 5.19 developemtn cycle VFIO stopped working.
Today I found a patch below at last and tested it. it works well till now.
From: Alex Williamson
To: email@example.com, firstname.lastname@example.org
Cc: email@example.com, firstname.lastname@example.org,
email@example.com, firstname.lastname@example.org, email@example.com,
Subject: [PATCH] mm: Re-allow pinning of zero pfns
Date: Fri, 10 Jun 2022 16:35:13 -0600 [thread overview]