drivers/ata

libata: SATA and PATA host controllers including AHCI

The Linux support layer for ATA storage host controllers, covering both modern Serial ATA (including the near-universal AHCI interface found on almost every PC chipset) and legacy Parallel ATA / IDE adapters. It drives the SATA ports that connect hard drives, SSDs, and optical drives on virtually every desktop, laptop, and server motherboard from the mid-2000s to the present.

keep conf=0.93 deploy=high replacement=none subsystem=ata category=storage-scsi-ata
93%

recommendation

It should stay because libata is the kernel's core support layer for SATA and PATA storage controllers, and AHCI in particular is still the standard interface for SATA ports on essentially every desktop, laptop, and server chipset shipping today. Upstream development is active, with bug fixes and refactoring landing on the linux-ide list as recently as April 2026, and new motherboards in 2025 and 2026 (such as current AMD B850 boards) continue to ship SATA ports that depend on this code. NVMe is a separate storage transport and does not replace the ATA host-controller role.

repository signals

142 files
93,394 source lines
844 commits, 5y
+19,258 / −14,233 lines added / removed, 5y
151 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 844 total · active in 60/61 months
2021 2022 2023 2024 2025 2026 2021-04: 6 commits · +38 −39 2021-05: 14 commits · +47 −21 2021-06: 5 commits · +62 −26 2021-07: 5 commits · +220 −100 2021-08: 10 commits · +212 −218 2021-09: 2 commits · +36 −10 2021-10: 13 commits · +195 −74 2021-11: 15 commits · +76 −30 2021-12: 80 commits · +732 −1,282 2022-01: 34 commits · +118 −142 2022-02: 38 commits · +446 −456 2022-03: 8 commits · +197 −167 2022-04: 11 commits · +91 −142 2022-05: 9 commits · +113 −109 2022-06: 15 commits · +107 −105 2022-07: 4 commits · +16 −18 2022-08: 9 commits · +32 −33 2022-09: 32 commits · +863 −995 2022-10: 22 commits · +110 −480 2022-11: 11 commits · +59 −69 2022-12: 12 commits · +394 −290 2023-01: 5 commits · +5,535 −4 2023-02: 23 commits · +484 −741 2023-03: 41 commits · +974 −1,448 2023-04: 2 commits · +2 −0 2023-05: 29 commits · +2,845 −1,945 2023-06: 9 commits · +96 −73 2023-07: 47 commits · +318 −783 2023-08: 22 commits · +357 −158 2023-09: 22 commits · +163 −129 2023-10: 11 commits · +141 −43 2023-11: 8 commits · +25 −37 2023-12: 0 commits · +0 −0 2024-01: 5 commits · +39 −12 2024-02: 15 commits · +414 −382 2024-03: 6 commits · +137 −65 2024-04: 11 commits · +223 −164 2024-05: 8 commits · +15 −10 2024-06: 11 commits · +73 −44 2024-07: 30 commits · +717 −669 2024-08: 19 commits · +382 −535 2024-09: 9 commits · +102 −87 2024-10: 14 commits · +449 −337 2024-11: 1 commit · +3 −3 2024-12: 4 commits · +8 −40 2025-01: 7 commits · +120 −31 2025-02: 7 commits · +21 −16 2025-03: 6 commits · +42 −17 2025-04: 12 commits · +84 −61 2025-05: 8 commits · +52 −32 2025-06: 11 commits · +238 −199 2025-07: 27 commits · +388 −273 2025-08: 4 commits · +53 −32 2025-09: 1 commit · +3 −3 2025-10: 2 commits · +7 −9 2025-11: 8 commits · +101 −2 2025-12: 12 commits · +357 −89 2026-01: 13 commits · +35 −901 2026-02: 7 commits · +56 −42 2026-03: 6 commits · +9 −2 2026-04: 1 commit · +14 −0

sources

  1. lore.kernel.org

    linux-ide carried an AHCI bug-fix patch on 2026-04-25 ('ata: ahci: fail probe if BAR too small for claimed ports'), showing current upstream maintenance in drivers/ata.

  2. lore.kernel.org

    linux-ide carried libata core work on 2026-04-20 ('ata: libata-scsi: convert dev->sdev to per-LUN array'), indicating ongoing non-trivial development in the subsystem.

  3. docs.kernel.org

    The kernel's libATA documentation describes libata as the in-kernel support layer for ATA host controllers and devices, including ATA/ATAPI and SCSI-ATA translation.

  4. cateee.net

    LKDDb shows CONFIG_SATA_AHCI remains present through 6.19 and 7.0-rc+HEAD, with ahci/libahci modules still current in mainline configuration data.

  5. gigabyte.com

    A current GIGABYTE B850 motherboard product page lists '2 x SATA 6Gb/s', showing new consumer-platform systems still shipping SATA host-controller functionality.

codex reasoning notes (technical)

Recommendation is keep: lore_file_timeline on drivers/ata/libata-core.c and drivers/ata/ahci.c showed fresh activity through 2026-04-20 and 2026-04-25, with hundreds of matching patch mails since 2023 and recent fixes/refactoring rather than retirement. Sources obtained via lore-http MCP (lore_file_timeline) for the two lore URLs, web search for docs.kernel.org, LKDDb, and the GIGABYTE product page. The 'still sold new in 2025' judgment is an inference from current 2026 product listings of new B850 boards still exposing SATA ports, plus libata/AHCI remaining first-class documented and configured kernel support. No natural in-tree replacement covers the same ATA/SATA host-controller role across this directory; NVMe is adjacent storage transport, not a driver replacement.