[PATCH 0/3] NVKM GSP RPC fixes

Zhi Wang zhiw at nvidia.com
Sun Sep 22 13:07:06 UTC 2024


Hi folks:

Here are some fixes of weird bugs I noticed when I was enabling vGPU [1] on
core-driver aka NVKM. They are exposed because of the new RPCs required by
vGPU.

For testing, I tried to run Uniengine Heave on my RTX 4060 for 12 hours and
it is working fine.

You can find the tree [2] I am using for test.

[1] https://lore.kernel.org/kvm/20240922124951.1946072-1-zhiw@nvidia.com/T/#t
[2] https://github.com/zhiwang-nvidia/linux/tree/zhi/nvkm-fixes

Zhi Wang (3):
  nvkm/gsp: correctly advance the read pointer of GSP message queue
  nvkm/gsp: correctly calculate the available space of the GSP cmdq
    buffer
  nvkm/gsp: handle the return of large RPC

 .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c    | 188 ++++++++++++------
 1 file changed, 130 insertions(+), 58 deletions(-)

-- 
2.34.1



More information about the Nouveau mailing list