Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: mvumi: do not free buffers a timed-out command left with the device
@ 2026-11-14  1:44 Yehyeong Lee
  2026-11-14  1:44 ` [PATCH 1/2] scsi: mvumi: stop the controller bus-mastering before freeing its buffers Yehyeong Lee
  2026-11-14  1:44 ` [PATCH 2/2] scsi: mvumi: quarantine a timed-out internal command's buffers Yehyeong Lee
  0 siblings, 2 replies; 5+ messages in thread
From: Yehyeong Lee @ 2026-11-14  1:44 UTC (permalink / raw)
  To: mkp, James.Bottomley; +Cc: linux-scsi, linux-kernel

This is the follow-up I promised when answering the review of v9 7/9,
https://lore.kernel.org/all/20261015055719.3992456-1-yhlee@isslab.korea.ac.kr/
and https://lore.kernel.org/all/sashiko-outbox-172292@kernel.org/

1/2 stops the controller bus-mastering before mvumi_detach_one() frees
the buffers it was given.  2/2 keeps a timed-out internal command's
buffers until then, rather than while the controller still has them.

Based on mainline; it conflicts textually with v9 7/9 of
https://lore.kernel.org/all/20261015045213.3975845-1-yhlee@isslab.korea.ac.kr/
in mvumi_delete_internal_cmd(), and I will rebase whichever goes in second.
I have no mvumi hardware; this was checked with a KUnit model.

Best regards,
Yehyeong Lee

Yehyeong Lee (2):
  scsi: mvumi: stop the controller bus-mastering before freeing its
    buffers
  scsi: mvumi: quarantine a timed-out internal command's buffers

 drivers/scsi/mvumi.c | 42 +++++++++++++++++++++++++++++++++++++-----
 drivers/scsi/mvumi.h |  1 +
 2 files changed, 38 insertions(+), 5 deletions(-)


base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa
-- 
2.43.0


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

end of thread, other threads:[~2026-11-14  2:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14  1:44 [PATCH 0/2] scsi: mvumi: do not free buffers a timed-out command left with the device Yehyeong Lee
2026-11-14  1:44 ` [PATCH 1/2] scsi: mvumi: stop the controller bus-mastering before freeing its buffers Yehyeong Lee
2026-11-14  1:53   ` sashiko-bot
2026-11-14  1:44 ` [PATCH 2/2] scsi: mvumi: quarantine a timed-out internal command's buffers Yehyeong Lee
2026-11-14  2:05   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox