HomeFreeBSD

nvme_ahci: Mark AHCI devices as such in the controller

Description

nvme_ahci: Mark AHCI devices as such in the controller

Add a quirk to flag AHCI attachment to the controller. This is for any
of the strategies for attaching nvme devices as children of the AHCI
device for Intel's RAID devices. This also has a side effect of cleaning
up resource allocation from failed nvme_attach calls now.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D33285

(cherry picked from commit 7cf8d63c884c484fee9b287f792549ee15270ae7)

Details

Provenance
impAuthored on Dec 6 2021, 5:23 PM
mavCommitted on Jan 21 2022, 2:07 AM
Reviewer
mav
Differential Revision
D33285: nvme_ahci: Mark AHCI devices as such in the controller
Parents
rG2b2925d1e872: nvme: Move to a quirk for the Intel alignment data
Branches
Unknown
Tags
Unknown