]> git.baikalelectronics.ru Git - kernel.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 12:00:14 +0000 (13:00 +0100)
commit66860733a7877761e16036257bdec13043af64e6
treeae487881122426fa75389e7c4b90e2f5e846f478
parente816fb4241bd95e8d2cd02cd1491dbf30fe77cf7
nvme/pci: Add sleep quirk for Samsung and Toshiba drives

[ Upstream commit e19a40aa7053576461ccaa4910fa9cb874058ff5 ]

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