Skip to content

Improve Robust Channel (RC) recovery for Turing

Alistair Popple nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/nouveau: Fix MMU fault interrupts on Turingdrivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c+122 -60 replies
2/5drm/nouveau: Remove Turing interrupt hackdrivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c+0 -200 replies
3/5drm/nouveau: Move Turing specific FIFO functionsdrivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.h drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c+511 -300 replies
4/5drm/nouveau: FIFO interrupt fixes for Turingdrivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c+9 -690 replies
5/5drm/nouveau: Turing channel preemption fixdrivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c+2 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Improve Robust Channel (RC) recovery for Turing

This is an initial series of patches to improve channel recovery on Turing GPUs with the goal of improving reliability enough to eventually enable SVM for Turing. It's likely follow up patches will be required to fully address problems with less trivial workloads than what I have been able to test thus far.

This series primarily addresses a number of hardware changes to interrupt layout and channel recovery for Turing and for simple cases improves handling and reliability of recovery.

I have been testing trivial OpenCL workloads and with this series have been able to recover from while(1) style GPU loops and bad pointer dereferences on a Turing GPU. However if there are less trivial tests available that have been known to cause problems with channel recovery in the past let me know and I'll start testing those as well.

Alistair Popple (5):
drm/nouveau: Fix MMU fault interrupts on Turing drm/nouveau: Remove Turing interrupt hack drm/nouveau: Move Turing specific FIFO functions drm/nouveau: FIFO interrupt fixes for Turing drm/nouveau: Turing channel preemption fix

 .../gpu/drm/nouveau/nvkm/engine/fifo/gk104.c  |  46 +--
 .../gpu/drm/nouveau/nvkm/engine/fifo/gk104.h  |  32 ++
 .../gpu/drm/nouveau/nvkm/engine/fifo/tu102.c  | 364 +++++++++++++++++-
 .../gpu/drm/nouveau/nvkm/subdev/fault/tu102.c |  21 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c |   3 -
 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h |   1 -
 .../gpu/drm/nouveau/nvkm/subdev/mc/tu102.c    | 113 +++++-
 7 files changed, 529 insertions(+), 51 deletions(-)
Signature · 1 line
2.20.1