* [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD
@ 2023-06-11 11:41 Nils Kruse
2023-07-16 19:30 ` August Wikerfors
0 siblings, 1 reply; 3+ messages in thread
From: Nils Kruse @ 2023-06-11 11:41 UTC (permalink / raw)
To: stable
Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
linux-nvme, linux-kernel, patches
Add a quirk for Samsung PM9B1 256G and 512G that reports duplicate ids
for disk.
Signed-off-by: Nils Kruse <nilskruse97@gmail.com>
---
drivers/nvme/host/pci.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 60f51155a6d2..de5e4c7e4bc9 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3395,7 +3395,8 @@ static const struct pci_device_id nvme_id_table[] = {
{ PCI_DEVICE(0x1d97, 0x2263), /* SPCC */
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x144d, 0xa80b), /* Samsung PM9B1 256G and 512G */
- .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
+ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES |
+ NVME_QUIRK_BOGUS_NID, },
{ PCI_DEVICE(0x144d, 0xa809), /* Samsung MZALQ256HBJD 256G */
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x1cc4, 0x6303), /* UMIS RPJTJ512MGE1QDY 512G */
--
2.41.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD
2023-06-11 11:41 [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD Nils Kruse
@ 2023-07-16 19:30 ` August Wikerfors
2023-07-17 8:01 ` Nils Kruse
0 siblings, 1 reply; 3+ messages in thread
From: August Wikerfors @ 2023-07-16 19:30 UTC (permalink / raw)
To: Nils Kruse
Cc: stable, Keith Busch, Jens Axboe, Christoph Hellwig,
Sagi Grimberg, linux-nvme, linux-kernel, patches
On 2023-06-11 13:41, Nils Kruse wrote:
> Add a quirk for Samsung PM9B1 256G and 512G that reports duplicate ids
> for disk.
Is this the same issue with suspend as [1], [2] and [3] or is it a
different case?
[1] https://lore.kernel.org/all/20221116171727.4083-1-git@augustwikerfors.se/t/
[2] https://github.com/tomsom/yoga-linux/issues/9
[3] https://lore.kernel.org/all/d0ce0f3b-9407-9207-73a4-3536f0948653@augustwikerfors.se/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD
2023-07-16 19:30 ` August Wikerfors
@ 2023-07-17 8:01 ` Nils Kruse
0 siblings, 0 replies; 3+ messages in thread
From: Nils Kruse @ 2023-07-17 8:01 UTC (permalink / raw)
To: August Wikerfors
Cc: stable, Keith Busch, Jens Axboe, Christoph Hellwig,
Sagi Grimberg, linux-nvme, linux-kernel, patches
On Sun, Jul 16, 2023 at 9:30 PM August Wikerfors <git@augustwikerfors.se> wrote:
>
> On 2023-06-11 13:41, Nils Kruse wrote:
> > Add a quirk for Samsung PM9B1 256G and 512G that reports duplicate ids
> > for disk.
>
> Is this the same issue with suspend as [1], [2] and [3] or is it a
> different case?
>
> [1] https://lore.kernel.org/all/20221116171727.4083-1-git@augustwikerfors.se/t/
> [2] https://github.com/tomsom/yoga-linux/issues/9
> [3] https://lore.kernel.org/all/d0ce0f3b-9407-9207-73a4-3536f0948653@augustwikerfors.se/
Yes, this is the same issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-17 8:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-11 11:41 [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD Nils Kruse
2023-07-16 19:30 ` August Wikerfors
2023-07-17 8:01 ` Nils Kruse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®