Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit ab091ec

Browse files
Avenger-285714keithbusch
authored andcommitted
nvme/pci: Add APST quirk for Lenovo N60z laptop
There is a hardware power-saving problem with the Lenovo N60z board. When turn it on and leave it for 10 hours, there is a 20% chance that a nvme disk will not wake up until reboot. Link: https://lore.kernel.org/all/2B5581C46AC6E335+9c7a81f1-05fb-4fd0-9fbb-108757c21628@uniontech.com Signed-off-by: hmy <[email protected]> Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: WangYuli <[email protected]> Signed-off-by: Keith Busch <[email protected]>
1 parent 8e64d23 commit ab091ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,6 +2968,13 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
29682968
return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
29692969
}
29702970

2971+
/*
2972+
* NVMe SSD drops off the PCIe bus after system idle
2973+
* for 10 hours on a Lenovo N60z board.
2974+
*/
2975+
if (dmi_match(DMI_BOARD_NAME, "LXKT-ZXEG-N6"))
2976+
return NVME_QUIRK_NO_APST;
2977+
29712978
return 0;
29722979
}
29732980

0 commit comments

Comments
 (0)