On Thu, Feb 27, 2025 at 01:35:52AM +0000, Zhi Wang wrote: > 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(-)
Applied to drm-misc-next, thanks!