ahci · shipping · also Advanced Host Controller Interface

AHCI

AHCI is a standardized register and memory-structure interface through which host software controls a SATA host bus adapter.

Related Observatory article: Read on hesela.com

An AHCI host bus adapter can implement 1 to 32 ports, with a command-list capacity of up to 32 entries per port. These are specification limits, not the number of devices or commands available on every controller. The interface describes data movement between host memory and attached devices. [2]

The CAP.NCS field reports the implemented command-slot count minus one. CAP.SNCQ separately reports support for Native Command Queuing, which also needs a supporting device. Enabling AHCI does not make a SATA link into NVMe. [4]

Controller support for hot-plug operation must be used with suitable platform wiring, connectors and software. It does not establish that an arbitrary internal drive can safely be unplugged while powered. [4]

Port-multiplier support is optional. CAP.SPM describes that support; FIS-based switching additionally needs controller and port capability plus software enablement. [4]

Relations

related
Serial ATA (SATA), SATA Express, IDE / ATA, PATA, Host bus adapter (HBA), NVMe, Solid-state drive (SSD), PCIe lanes (storage), Native Command Queuing, SATA port multiplier, FIS-based switching (SATA)

Advantages

  • A common host programming model reduces the need for controller-specific software interfaces. [2]

Limitations

  • Port count, queue capability and link speed describe different constraints and should not be inferred from one another. [4]

Citations

  1. Serial ATA AHCI Specification, Rev. 1.3.1 (Intel) (accessed 2026-10-10)
  2. Intel AHCI 1.3.1, sections 3.1.1, 3.3.7, 3.3.16 and 9: capabilities and port-multiplier operation (accessed 2026-10-19)

Further reading

  1. Advanced Host Controller Interface (Wikipedia) (accessed 2026-10-10)
  2. Linux drivers/ata/ahci.h (AHCI_MAX_PORTS = 32, AHCI_MAX_CMDS = 32) (accessed 2026-10-10)

JSON: /data/terms/ahci.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. AHCI. Hesela. 2026-11-12. https://hesela.dev/terms/ahci/