]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
SAUCE: nvme: add quirk to not call disable function when suspending
authorAceLan Kao <acelan.kao@canonical.com>
Tue, 6 Nov 2018 10:53:12 +0000 (18:53 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Nov 2018 18:59:46 +0000 (16:59 -0200)
commit1a862bc878ee4b3d2d211d7ecb34839c30b9cd28
tree7d579013150ce23d1ae1decd9efc126b6d0876e6
parent623453990672ee8767a51f6e80c8927c42dfc1d5
SAUCE: nvme: add quirk to not call disable function when suspending

BugLink: https://bugs.launchpad.net/bugs/1801875
Call nvme_dev_disable() function leads to the power consumption goes
up to 2.2 Watt during suspend-to-idle, and from SK hynix FE, they
suggest us to use its own APST feature to do the power management during
s2idle.
After D3 is diabled and nvme_dev_disable() is not called while
suspending, the power consumption drops to 0.77 Watt during s2idle.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c