[PATCH 0/2] scsi: mvumi: do not free buffers a timed-out command left with the device

From: Yehyeong Lee

Date: Fri Nov 13 2026 - 20:45:45 EST


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

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@xxxxxxxxxxxxxxxxxx/
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