]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
SAUCE: pci: prevent sk hynix nvme from entering D3
authorAceLan Kao <acelan.kao@canonical.com>
Tue, 6 Nov 2018 10:53:11 +0000 (18:53 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Nov 2018 18:59:45 +0000 (16:59 -0200)
commit623453990672ee8767a51f6e80c8927c42dfc1d5
treeb6f67527b86d9d836ae3a7b3ace1f773f1db4c41
parent6e8b864512c3c977893b7fe4971ac9b0e8021df7
SAUCE: pci: prevent sk hynix nvme from entering D3

BugLink: https://bugs.launchpad.net/bugs/1801875
It leads to the power consumption raises to 2.2W during s2idle, while
it consumes less than 1W during long idle if put SK hynix nvme to D3
and then enter s2idle.
From SK hynix FE, MS Windows doesn't put nvme to D3, and uses its own
APST feature to do the power management.
To leverage its APST feature during s2idle, we can't disable nvme
device while suspending, too.

BTW, prevent it from entering D3 will increase the power consumtion around
0.13W ~ 0.15W during short/long idle, and the power consumption during
s2idle becomes 0.77W.

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/pci/quirks.c
include/linux/pci_ids.h