All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Fix several bugs in error handling during device
@ 2025-01-02  5:36 Jiang Liu
  2025-01-02  5:36 ` [PATCH 1/6] amdgpu: add flags to track sysfs initialization status Jiang Liu
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Jiang Liu @ 2025-01-02  5:36 UTC (permalink / raw)
  To: amd-gfx, kent.russell, shuox.liu; +Cc: Jiang Liu

This patchset tries to fix several memory leakages/invalid memory
accesses on error handling path during GPU driver loading/unloading.
They applies to:
https://github.com/ROCm/ROCK-Kernel-Driver/tree/master/drivers

Jiang Liu (6):
  amdgpu: add flags to track sysfs initialization status
  amdgpu: fix invalid memory access in kfd_cleanup_nodes()
  amdgpu: clear adev->in_suspend flag when fails to suspend
  amdgpu: fix use after free bug related to amdgpu_driver_release_kms()
  amdgpu: fix invalid memory access in amdgpu_fence_driver_sw_fini()
  amdgpu: get rid of false warnings caused by amdgpu_irq_put()

 drivers/gpu/drm/amd/amdgpu/amdgpu.h        |  3 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 47 +++++++++++++++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c  |  9 ++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c    |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h   |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c    |  1 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c    |  7 +++-
 drivers/gpu/drm/scheduler/sched_main.c     |  3 ++
 8 files changed, 60 insertions(+), 15 deletions(-)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2025-01-04 16:58 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02  5:36 [PATCH 0/6] Fix several bugs in error handling during device Jiang Liu
2025-01-02  5:36 ` [PATCH 1/6] amdgpu: add flags to track sysfs initialization status Jiang Liu
2025-01-02 23:07   ` Chen, Xiaogang
2025-01-03 13:46     ` Russell, Kent
2025-01-03  4:04   ` Lazar, Lijo
2025-01-02  5:36 ` [PATCH 2/6] amdgpu: fix invalid memory access in kfd_cleanup_nodes() Jiang Liu
2025-01-02 23:08   ` Chen, Xiaogang
2025-01-03  2:22     ` Gerry Liu
2025-01-03  5:44       ` Chen, Xiaogang
2025-01-03  5:55         ` Gerry Liu
2025-01-03  6:19           ` Chen, Xiaogang
2025-01-03  7:05             ` Gerry Liu
2025-01-03 17:33               ` Chen, Xiaogang
2025-01-04 14:18                 ` Gerry Liu
2025-01-02  5:36 ` [PATCH 3/6] amdgpu: clear adev->in_suspend flag when fails to suspend Jiang Liu
2025-01-02  5:36 ` [PATCH 4/6] amdgpu: fix use after free bug related to amdgpu_driver_release_kms() Jiang Liu
2025-01-03  5:20   ` Lazar, Lijo
2025-01-03  5:58   ` Chen, Xiaogang
2025-01-03  7:02     ` Gerry Liu
2025-01-03  7:43       ` Shuo Liu
2025-01-03 17:34         ` Chen, Xiaogang
2025-01-04 14:21           ` Gerry Liu
2025-01-02  5:36 ` [PATCH 5/6] amdgpu: fix invalid memory access in amdgpu_fence_driver_sw_fini() Jiang Liu
2025-01-02 23:09   ` Chen, Xiaogang
2025-01-03  2:35     ` Gerry Liu
2025-01-02  5:36 ` [PATCH 6/6] amdgpu: get rid of false warnings caused by amdgpu_irq_put() Jiang Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.