From 08d3d26754de08b128891ff813d9e7bc8b3215ca Mon Sep 17 00:00:00 2001 From: "Martin K. Petersen" Date: Wed, 14 Jun 2017 15:48:24 -0700 Subject: [PATCH] nvme: Quirks for PM1725 controllers Samsung PM1725 controllers have a few quirks that need to be handled in the driver: - The host interface registers go offline briefly while resetting the controller. Thus a delay is needed before checking whether the controller is ready. Orabug: 26275976 Signed-off-by: Martin K. Petersen Reviewed-by: Ashok Vairavan Signed-off-by: Brian Maly --- drivers/nvme/host/pci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 57e938212a3d..e61034ccadd7 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -2166,6 +2166,10 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, { PCI_DEVICE(0x1c5f, 0x0540), /* Memblaze Pblaze4 adapter */ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, + { PCI_DEVICE(0x144d, 0xa821), /* Samsung PM1725 */ + .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, + { PCI_DEVICE(0x144d, 0xa822), /* Samsung PM1725a */ + .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) }, { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) }, { 0, } -- 2.50.1