Mageia Bugzilla – Attachment 12373 Details for
Bug 28417
Installation problem device nvme PCIe Lexar model: 256GB SSD with Mageia Kernel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch adding quirks
0001-nvme-Add-quirks-for-Lexar-256GB-SSD.patch (text/plain), 1.25 KB, created by
Pascal Terjan
on 2021-02-23 19:47:57 CET
(
hide
)
Description:
Patch adding quirks
Filename:
MIME Type:
Creator:
Pascal Terjan
Created:
2021-02-23 19:47:57 CET
Size:
1.25 KB
patch
obsolete
>From 43b5626425e444893766ca0193f80accc68d2ccf Mon Sep 17 00:00:00 2001 >From: Pascal Terjan <pterjan@google.com> >Date: Tue, 23 Feb 2021 18:41:51 +0000 >Subject: [PATCH] nvme: Add quirks for Lexar 256GB SSD > >Add NVME_QUIRK_NO_NS_DESC_LIST to Lexar 256GB SSD to allow it to >work again, and add NVME_QUIRK_IGNORE_DEV_SUBNQN to avoid a warning. > >[ 0.637476] nvme nvme0: missing or invalid SUBNQN field. >[ 0.638399] nvme nvme0: Identify Descriptors failed (16386) >--- > drivers/nvme/host/pci.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c >index 7b6632c00ffd..31f4e2775636 100644 >--- a/drivers/nvme/host/pci.c >+++ b/drivers/nvme/host/pci.c >@@ -3262,6 +3262,9 @@ static const struct pci_device_id nvme_id_table[] = { > .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, > { PCI_DEVICE(0x15b7, 0x2001), /* Sandisk Skyhawk */ > .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, >+ { PCI_DEVICE(0x1d97, 0x1092), /* Lexar 256 GB SSD */ >+ .driver_data = NVME_QUIRK_NO_NS_DESC_LIST | >+ NVME_QUIRK_IGNORE_DEV_SUBNQN, }, > { PCI_DEVICE(0x1d97, 0x2263), /* SPCC */ > .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, > { PCI_DEVICE(0x2646, 0x2263), /* KINGSTON A2000 NVMe SSD */ >-- >2.30.0.617.g56c4b15f3c-goog >
From 43b5626425e444893766ca0193f80accc68d2ccf Mon Sep 17 00:00:00 2001 From: Pascal Terjan <pterjan@google.com> Date: Tue, 23 Feb 2021 18:41:51 +0000 Subject: [PATCH] nvme: Add quirks for Lexar 256GB SSD Add NVME_QUIRK_NO_NS_DESC_LIST to Lexar 256GB SSD to allow it to work again, and add NVME_QUIRK_IGNORE_DEV_SUBNQN to avoid a warning. [ 0.637476] nvme nvme0: missing or invalid SUBNQN field. [ 0.638399] nvme nvme0: Identify Descriptors failed (16386) --- drivers/nvme/host/pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 7b6632c00ffd..31f4e2775636 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3262,6 +3262,9 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x15b7, 0x2001), /* Sandisk Skyhawk */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, + { PCI_DEVICE(0x1d97, 0x1092), /* Lexar 256 GB SSD */ + .driver_data = NVME_QUIRK_NO_NS_DESC_LIST | + NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1d97, 0x2263), /* SPCC */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x2646, 0x2263), /* KINGSTON A2000 NVMe SSD */ -- 2.30.0.617.g56c4b15f3c-goog
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28417
:
12370
|
12371
|
12373
|
12375