Skip to content

NVKM GSP RPC message handling policy

Zhi Wang nouveau 3 versions – Applied

Status from this message: Applied to drm-misc-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v15 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Fix a hidden use-after-free caught by KFENCE in PATCH 1, r535_gsp_rpc_send(). (Ben)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2drm/nouveau/nvkm: factor out current GSP RPC command policiesDocumentation/gpu/nouveau.rst drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h drivers/gpu/drm/nouveau/nvkm/subdev/bar/r535.c +2 more+72 -443 replies
2/2drm/nouveau/nvkm: introduce new GSP reply policy NVKM_GSP_RPC_REPLY_POLLdrivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c drivers/gpu/drm/nouveau/nvkm/subdev/instmem/r535.c+8 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchBen Skeggs
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] NVKM GSP RPC message handling policy

Hi folks:

Here are the v3 version of NVKM GSP RPC message handling policy which solves the issue reported by Ben. More details can be found in v1 [1].

v3:

- Fix a hidden use-after-free caught by KFENCE in PATCH 1, r535_gsp_rpc_send(). (Ben)

Zhi Wang (2):
drm/nouveau/nvkm: factor out current GSP RPC command policies drm/nouveau/nvkm: introduce new GSP reply policy
NVKM_GSP_RPC_REPLY_POLL

 Documentation/gpu/nouveau.rst                 |  3 +
 .../gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 38 +++++++--
 .../gpu/drm/nouveau/nvkm/subdev/bar/r535.c    |  2 +-
 .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c    | 78 ++++++++++---------
 .../drm/nouveau/nvkm/subdev/instmem/r535.c    |  2 +-
 5 files changed, 79 insertions(+), 44 deletions(-)
Signature · 1 line
2.43.5