public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Cleanup and improve libata-scsi command emulation
@ 2024-10-22  2:45 Damien Le Moal
  2024-10-22  2:45 ` [PATCH 1/6] ata: libata-scsi: Refactor ata_scsi_simulate() Damien Le Moal
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Damien Le Moal @ 2024-10-22  2:45 UTC (permalink / raw)
  To: linux-ide, Niklas Cassel

The first 5 patches of this series refactor and cleanup the libata-scsi
code handling command emulation. There are no functional changes
introduced by these patches.

The last patch of the series (patch 6) improves the command emulation
by accurately handling the scsi command residual and transferring back
to the requester only the relevant data of a command reply.

Damien Le Moal (6):
  ata: libata-scsi: Refactor ata_scsi_simulate()
  ata: libata-scsi: Refactor ata_scsiop_read_cap()
  ata: libata-scsi: Refactor ata_scsiop_maint_in()
  ata: libata-scsi: Document all VPD page inquiry actors
  ata: libata-scsi: Remove struct ata_scsi_args
  ata: libata-scsi: Return residual for emulated SCSI commands

 drivers/ata/libata-scsi.c | 503 +++++++++++++++++++++++---------------
 1 file changed, 305 insertions(+), 198 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2026-03-20  3:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  2:45 [PATCH 0/6] Cleanup and improve libata-scsi command emulation Damien Le Moal
2024-10-22  2:45 ` [PATCH 1/6] ata: libata-scsi: Refactor ata_scsi_simulate() Damien Le Moal
2024-10-22  2:45 ` [PATCH 2/6] ata: libata-scsi: Refactor ata_scsiop_read_cap() Damien Le Moal
2024-10-22  2:45 ` [PATCH 3/6] ata: libata-scsi: Refactor ata_scsiop_maint_in() Damien Le Moal
2026-03-20  2:13   ` Guenter Roeck
2026-03-20  3:08     ` Damien Le Moal
2024-10-22  2:45 ` [PATCH 4/6] ata: libata-scsi: Document all VPD page inquiry actors Damien Le Moal
2024-10-22  2:45 ` [PATCH 5/6] ata: libata-scsi: Remove struct ata_scsi_args Damien Le Moal
2024-10-22  2:45 ` [PATCH 6/6] ata: libata-scsi: Return residual for emulated SCSI commands Damien Le Moal
2024-10-25  8:15 ` [PATCH 0/6] Cleanup and improve libata-scsi command emulation Niklas Cassel

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