Skip to content

Commit 98f7b86

Browse files
andy-shevkeithbusch
authored andcommitted
nvme-pci: Use single IRQ vector for old Apple models
People reported that old Apple machines are not working properly if the non-first IRQ vector is in use. Set quirk for that models to limit IRQ to use first vector only. Based on original patch by GitHub user npx001. Link: Dunedan/mbp-2016-linux#9 Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Leif Liddy <leif.liddy@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 1fae37a commit 98f7b86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/nvme/host/pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,8 @@ static const struct pci_device_id nvme_id_table[] = {
31213121
.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
31223122
NVME_QUIRK_IGNORE_DEV_SUBNQN, },
31233123
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
3124-
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
3124+
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001),
3125+
.driver_data = NVME_QUIRK_SINGLE_VECTOR },
31253126
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2003) },
31263127
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2005),
31273128
.driver_data = NVME_QUIRK_SINGLE_VECTOR |

0 commit comments

Comments
 (0)