]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme/pci: Add sleep quirk for Samsung and Toshiba drives
authorShyjumon N <shyjumon.n@intel.com>
Thu, 6 Feb 2020 20:17:25 +0000 (13:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:18:27 +0000 (07:18 +0100)
commitd2314396f5f043baa3b61d202192e80481a63eab
treec2b73fc4c7cdf3d3ae0994e39b826f9301066e7d
parent3c026a60ac7c8287d73b1fb01199a641da922b28
nvme/pci: Add sleep quirk for Samsung and Toshiba drives

[ Upstream commit 1fae37accfc5872af3905d4ba71dc6ab15829be7 ]

The Samsung SSD SM981/PM981 and Toshiba SSD KBG40ZNT256G on the Lenovo
C640 platform experience runtime resume issues when the SSDs are kept in
sleep/suspend mode for long time.

This patch applies the 'Simple Suspend' quirk to these configurations.
With this patch, the issue had not been observed in a 1+ day test.

Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Shyjumon N <shyjumon.n@intel.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c