From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Monish Kumar R <monish.kumar.r@intel.com>,
Christoph Hellwig <hch@lst.de>, Sasha Levin <sashal@kernel.org>,
kbusch@kernel.org, axboe@fb.com, sagi@grimberg.me,
linux-nvme@lists.infradead.org
Subject: [PATCH AUTOSEL 5.10 08/25] nvme-pci: add quirks for Samsung X5 SSDs
Date: Wed, 6 Apr 2022 21:13:56 -0400 [thread overview]
Message-ID: <20220407011413.114662-8-sashal@kernel.org> (raw)
In-Reply-To: <20220407011413.114662-1-sashal@kernel.org>
From: Monish Kumar R <monish.kumar.r@intel.com>
[ Upstream commit bc360b0b1611566e1bd47384daf49af6a1c51837 ]
Add quirks to not fail the initialization and to have quick resume
latency after cold/warm reboot.
Signed-off-by: Monish Kumar R <monish.kumar.r@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/nvme/host/pci.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 97afeb898b25..ba067c1a6cf6 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3262,7 +3262,10 @@ static const struct pci_device_id nvme_id_table[] = {
NVME_QUIRK_128_BYTES_SQES |
NVME_QUIRK_SHARED_TAGS |
NVME_QUIRK_SKIP_CID_GEN },
-
+ { PCI_DEVICE(0x144d, 0xa808), /* Samsung X5 */
+ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY|
+ NVME_QUIRK_NO_DEEPEST_PS |
+ NVME_QUIRK_IGNORE_DEV_SUBNQN, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ 0, }
};
--
2.35.1
next prev parent reply other threads:[~2022-04-07 1:18 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 1:13 [PATCH AUTOSEL 5.10 01/25] gfs2: assign rgrp glock before compute_bitstructs Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 02/25] rtc: fix use-after-free on device removal Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 03/25] rtc: pcf2127: fix bug when reading alarm registers Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 04/25] um: Cleanup syscall_handler_t definition/cast, fix warning Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 05/25] um: port_user: Improve error handling when port-helper is not found Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 06/25] Input: add bounds checking to input_set_capability() Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 07/25] Input: stmfts - fix reference leak in stmfts_input_open Sasha Levin
2022-04-07 1:13 ` Sasha Levin [this message]
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 09/25] gfs2: Disable page faults during lockless buffered reads Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 10/25] rtc: sun6i: Fix time overflow handling Sasha Levin
2022-04-07 1:13 ` [PATCH AUTOSEL 5.10 11/25] crypto: stm32 - fix reference leak in stm32_crc_remove Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 12/25] crypto: x86/chacha20 - Avoid spurious jumps to other functions Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 13/25] ALSA: hda/realtek: Enable headset mic on Lenovo P360 Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 14/25] s390/pci: improve zpci_dev reference counting Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 15/25] vhost_vdpa: don't setup irq offloading when irq_num < 0 Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 16/25] tools/virtio: compile with -pthread Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 17/25] nvme-multipath: fix hang when disk goes live over reconnect Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 18/25] rtc: mc146818-lib: Fix the AltCentury for AMD platforms Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 19/25] fs: fix an infinite loop in iomap_fiemap Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 20/25] MIPS: lantiq: check the return value of kzalloc() Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 21/25] drbd: remove usage of list iterator variable after loop Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 22/25] platform/chrome: cros_ec_debugfs: detach log reader wq from devm Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 23/25] ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame() Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 24/25] nilfs2: fix lockdep warnings in page operations for btree nodes Sasha Levin
2022-04-07 1:14 ` [PATCH AUTOSEL 5.10 25/25] nilfs2: fix lockdep warnings during disk space reclamation Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220407011413.114662-8-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=axboe@fb.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=monish.kumar.r@intel.com \
--cc=sagi@grimberg.me \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox