* [PATCH] Detect NVMe controller in recent MacBooks
@ 2017-02-17 21:25 Daniel Roschka
2017-02-19 17:12 ` Christoph Hellwig
2017-02-21 21:41 ` Sagi Grimberg
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Roschka @ 2017-02-17 21:25 UTC (permalink / raw)
Adds support for detection of the NVMe controller found in the
following recent MacBooks:
- Retina MacBook 2016 (MacBook9,1)
- 13" MacBook Pro 2016 without Touch Bar (MacBook13,1)
- 13" MacBook Pro 2016 with Touch Bar (MacBook13,2)
Signed-off-by: Daniel Roschka <danielroschka at phoenitydawn.de>
---
drivers/nvme/host/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 3faefabf339c..22401aeae96e 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2110,6 +2110,7 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
+ { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2003) },
{ 0, }
};
MODULE_DEVICE_TABLE(pci, nvme_id_table);
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Detect NVMe controller in recent MacBooks
2017-02-17 21:25 [PATCH] Detect NVMe controller in recent MacBooks Daniel Roschka
@ 2017-02-19 17:12 ` Christoph Hellwig
2017-02-19 19:05 ` Daniel Roschka
2017-02-21 21:41 ` Sagi Grimberg
1 sibling, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2017-02-19 17:12 UTC (permalink / raw)
On Fri, Feb 17, 2017@10:25:58PM +0100, Daniel Roschka wrote:
> Adds support for detection of the NVMe controller found in the
> following recent MacBooks:
> - Retina MacBook 2016 (MacBook9,1)
> - 13" MacBook Pro 2016 without Touch Bar (MacBook13,1)
> - 13" MacBook Pro 2016 with Touch Bar (MacBook13,2)
This looks fine to me:
Reviewed-by: Christoph Hellwig <hch at lst.de>
Just curious: what class code do the Apple controllers display?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Detect NVMe controller in recent MacBooks
2017-02-19 17:12 ` Christoph Hellwig
@ 2017-02-19 19:05 ` Daniel Roschka
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Roschka @ 2017-02-19 19:05 UTC (permalink / raw)
On Sunday, 19. February 2017, 17:12:08 CET you wrote:
> Just curious: what class code do the Apple controllers display?
They use 0x018002. My guess is that that's just a typo and they meant 0x010802
instead.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Detect NVMe controller in recent MacBooks
2017-02-17 21:25 [PATCH] Detect NVMe controller in recent MacBooks Daniel Roschka
2017-02-19 17:12 ` Christoph Hellwig
@ 2017-02-21 21:41 ` Sagi Grimberg
1 sibling, 0 replies; 4+ messages in thread
From: Sagi Grimberg @ 2017-02-21 21:41 UTC (permalink / raw)
queued to nvme-4.11, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-21 21:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17 21:25 [PATCH] Detect NVMe controller in recent MacBooks Daniel Roschka
2017-02-19 17:12 ` Christoph Hellwig
2017-02-19 19:05 ` Daniel Roschka
2017-02-21 21:41 ` Sagi Grimberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.