[SRU] [Artful] [PATCH 1/1] nvme-pci: disable APST on Samsung SSD 960 EVO + ASUS PRIME B350M-A
The NVMe device in question drops off the PCIe bus after system suspend.
I've tried several approaches to workaround this issue, but none of them
- Disable APST before controller shutdown
- Delay between controller shutdown and system suspend
- Explicitly set power state to 0 before controller shutdown
Fortunately it's a desktop, so disable APST won't hurt the battery.
Also, change the quirk function name to reflect it's for vendor
On Tue, Jan 09, 2018 at 02:49:16PM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1705748 >
> A user reported his NVMe went out to lunch after S3.
> Disable APST for this particular NVMe + Motherboard setup.
> User confirmed this quirk works for his system.
> [Regression Potential]
> Very Low. This applies to a specific device setup, also user can
> override this quirk by "nvme_core.force_apst=1".