]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 13 Mar 2020 12:26:52 +0000 (13:26 +0100)
commit49379f5f49d48811b2a41814ee8d77094d27c657
treeb0961a0a3bbf2843f7431d21b12e9231afcad33e
parentf28aebd3fa56ab486b3e843d024cb5bd0bd9840d
nvme/pci: Add sleep quirk for Samsung and Toshiba drives

BugLink: https://bugs.launchpad.net/bugs/1867178
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/nvme/host/pci.c