Skip to content

Commit 453116a

Browse files
marcanChristoph Hellwig
authored andcommitted
nvme-pci: add NVME_QUIRK_IDENTIFY_CNS quirk to Apple T2 controllers
This mirrors the quirk added to Apple Silicon controllers in apple.c. These controllers do not support the Active NS ID List command and behave identically to the SoC version judging by existing user reports/syslogs, so will need the same fix. This quirk reverts back to NVMe 1.0 behavior and disables the broken commands. Fixes: 811f4de ("nvme: avoid fallback to sequential scan due to transient issues") Signed-off-by: Hector Martin <[email protected]> Tested-by: Orlando Chamberlain <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent aa96d6a commit 453116a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/nvme/host/pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3495,7 +3495,8 @@ static const struct pci_device_id nvme_id_table[] = {
34953495
.driver_data = NVME_QUIRK_SINGLE_VECTOR |
34963496
NVME_QUIRK_128_BYTES_SQES |
34973497
NVME_QUIRK_SHARED_TAGS |
3498-
NVME_QUIRK_SKIP_CID_GEN },
3498+
NVME_QUIRK_SKIP_CID_GEN |
3499+
NVME_QUIRK_IDENTIFY_CNS },
34993500
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
35003501
{ 0, }
35013502
};

0 commit comments

Comments
 (0)