All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/amdkfd: fix SVM error handling
@ 2026-11-08  5:13 Aveline Noir
  2026-11-08  5:13 ` [PATCH 1/2] drm/amdkfd: handle SVM interval notifier registration failures Aveline Noir
  2026-11-08  5:13 ` [PATCH 2/2] drm/amdkfd: check HMM errors before testing range validity Aveline Noir
  0 siblings, 2 replies; 5+ messages in thread
From: Aveline Noir @ 2026-11-08  5:13 UTC (permalink / raw)
  To: Felix Kuehling, Alex Deucher, Christian König
  Cc: David Airlie, Simona Vetter, Philip Yang, Sunil Khatri, honghuan,
	honglei1.huang, psirt, amd-gfx, dri-devel, linux-kernel

These patches fix two error paths found while reviewing KFD SVM range
handling. A failed interval notifier registration can leave a published
range without a notifier, and an HMM allocation failure can lead to a
NULL notifier dereference during validation.

The fixes were tested with targeted KUnit tests under KVM with KASAN and
lockdep. The error paths use injected failures or equivalent failure
states; no AMD GPU was tested.

---
Aveline Noir (2):
      drm/amdkfd: handle SVM interval notifier registration failures
      drm/amdkfd: check HMM errors before testing range validity

 drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 58 +++++++++++++++++++++++++++---------
 1 file changed, 44 insertions(+), 14 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261108-kfd-svm-baseline-errors-20261107-355a3d0c4792

Best regards,
--  
Aveline Noir <jm5905938@gmail.com>


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

end of thread, other threads:[~2026-11-08  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-08  5:13 [PATCH 0/2] drm/amdkfd: fix SVM error handling Aveline Noir
2026-11-08  5:13 ` [PATCH 1/2] drm/amdkfd: handle SVM interval notifier registration failures Aveline Noir
2026-11-08  5:35   ` sashiko-bot
2026-11-08  9:25     ` Aveline Noir
2026-11-08  5:13 ` [PATCH 2/2] drm/amdkfd: check HMM errors before testing range validity Aveline Noir

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.