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:
https://aur.archlinux.org/cgit/aur.git/tree/kernel-5.18.patch?h=nvidia-390xx-utils
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: akpm@linux-foundation.org, minchan@kernel.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
paulmck@kernel.org, jhubbard@nvidia.com, joaodias@google.com,
jgg@ziepe.ca, david@redhat.com
Subject: [PATCH] mm: Re-allow pinning of zero pfns
Date: Fri, 10 Jun 2022 16:35:13 -0600 [thread overview]
Message-ID: (raw)
https://lore.kernel.org/all/165490039431.944052.12458624139225785964.stgit@omen/