All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] hw/ide: add missing features required for SATA
@ 2026-11-27 19:12 Niklas Cassel
  2026-11-27 19:12 ` [PATCH 01/13] hw/ide: report the SMART state in IDENTIFY DEVICE Niklas Cassel
                   ` (12 more replies)
  0 siblings, 13 replies; 26+ messages in thread
From: Niklas Cassel @ 2026-11-27 19:12 UTC (permalink / raw)
  To: John Snow, Denis V. Lunev, Fabiano Rosas, Laurent Vivier,
	Paolo Bonzini
  Cc: Damien Le Moal, Niklas Cassel, qemu-block, qemu-devel

This series implements mandatory features that should be implemented by
a SATA disk:

-Sense data reporting
-General Purpose Logging
-NCQ Command Error log
-SATA NCQ Send and Receive log
-Serial ATA page of the IDENTIFY DEVICE data log

All these features are added so that we eventually can add ZAC (Zoned
device ATA Command set) support, which requires all this to e.g. report
sense data unaligned write command when not writing at the write pointer.

However, all patches in this series are unrelated to ZAC and can be
accepted as is. E.g. this series adds a range check and reports sense data
LOGICAL BLOCK ADDRESS OUT OF RANGE, if the user tries to read or write an
LBA outside the LBA range.


Kind regards,
Niklas


Niklas Cassel (13):
  hw/ide: report the SMART state in IDENTIFY DEVICE
  hw/ide/ahci: stop processing commands after a fatal error
  hw/ide/ahci: clear a stale error status when an NCQ command is queued
  hw/ide/ahci: complete unsupported NCQ commands
  hw/ide: add General Purpose Logging (GPL) feature set support
  hw/ide: add the IDENTIFY DEVICE data log
  hw/ide/ahci: add RECEIVE FPDMA QUEUED support
  hw/ide: add Sense Data Reporting feature set support
  hw/ide: implement the NCQ Command Error log (10h)
  tests/qtest/libqos: skip some checks for commands expected to fail
  hw/ide: report out-of-range accesses as ILLEGAL REQUEST
  hw/ide/ahci: check the LBA range of NCQ commands
  hw/ide: report ACS-6 compliance behind AHCI

 hw/ide/ahci-internal.h    |   8 +
 hw/ide/ahci.c             | 219 ++++++++++--
 hw/ide/core.c             | 689 ++++++++++++++++++++++++++++++++++---
 hw/ide/ide-internal.h     |  44 ++-
 hw/ide/trace-events       |   2 +
 include/hw/ide/ide-dev.h  |  22 ++
 tests/qtest/ahci-test.c   | 708 ++++++++++++++++++++++++++++++++++++++
 tests/qtest/ide-test.c    |   5 +
 tests/qtest/libqos/ahci.c |  40 ++-
 tests/qtest/libqos/ahci.h |  18 +-
 10 files changed, 1682 insertions(+), 73 deletions(-)


base-commit: 29760efaf96bbe5928f8111881eddbf5ac06439e
-- 
2.56.1



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

end of thread, other threads:[~2026-11-30  5:37 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 19:12 [PATCH 00/13] hw/ide: add missing features required for SATA Niklas Cassel
2026-11-27 19:12 ` [PATCH 01/13] hw/ide: report the SMART state in IDENTIFY DEVICE Niklas Cassel
2026-11-30  5:10   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 02/13] hw/ide/ahci: stop processing commands after a fatal error Niklas Cassel
2026-11-30  5:13   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 03/13] hw/ide/ahci: clear a stale error status when an NCQ command is queued Niklas Cassel
2026-11-30  5:15   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 04/13] hw/ide/ahci: complete unsupported NCQ commands Niklas Cassel
2026-11-30  5:16   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 05/13] hw/ide: add General Purpose Logging (GPL) feature set support Niklas Cassel
2026-11-30  5:20   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 06/13] hw/ide: add the IDENTIFY DEVICE data log Niklas Cassel
2026-11-30  5:23   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 07/13] hw/ide/ahci: add RECEIVE FPDMA QUEUED support Niklas Cassel
2026-11-30  5:25   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 08/13] hw/ide: add Sense Data Reporting feature set support Niklas Cassel
2026-11-30  5:30   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 09/13] hw/ide: implement the NCQ Command Error log (10h) Niklas Cassel
2026-11-30  5:34   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 10/13] tests/qtest/libqos: skip some checks for commands expected to fail Niklas Cassel
2026-11-27 19:12 ` [PATCH 11/13] hw/ide: report out-of-range accesses as ILLEGAL REQUEST Niklas Cassel
2026-11-30  5:35   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 12/13] hw/ide/ahci: check the LBA range of NCQ commands Niklas Cassel
2026-11-30  5:36   ` Damien Le Moal
2026-11-27 19:12 ` [PATCH 13/13] hw/ide: report ACS-6 compliance behind AHCI Niklas Cassel
2026-11-30  5:37   ` Damien Le Moal

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.