← Back to team overview

kernel-packages team mailing list archive

[Bug 1465136] [NEW] NVMe shutdown and suspend delay time is too short

 

Public bug reported:

A hardware vendor reported that NVMe didn't implement power management
correctly during shutdown/restart and suspend/resume as below:

=================================
However, when it comes to shutdown/restart, the Power Management Events (PME) are not correctly implemented.

When the host (Linux/Driver) sends the PME_TURN_OFF message it should
wait for PME_TO_ACK from the device.

Microsoft Windows versions typically wait for 5 seconds.

The Linux OSes doesn't wait for the PME_TO_ACK from the device and
simply turns off the system instantly immediately after the
shutdown/restart.

This is not the way to treat PCIe storage devices. The host should allow the device to properly shutdown.  Otherwise the disk will go in to rebuild during next power on which takes a while resulting in OS finding the device not responding and disabling it and not loading the driver for it.
=================================

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Alex Hung (alexhung)
         Status: In Progress

** Changed in: linux (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1465136

Title:
  NVMe shutdown and suspend delay time is too short

Status in linux package in Ubuntu:
  In Progress

Bug description:
  A hardware vendor reported that NVMe didn't implement power management
  correctly during shutdown/restart and suspend/resume as below:

  =================================
  However, when it comes to shutdown/restart, the Power Management Events (PME) are not correctly implemented.

  When the host (Linux/Driver) sends the PME_TURN_OFF message it should
  wait for PME_TO_ACK from the device.

  Microsoft Windows versions typically wait for 5 seconds.

  The Linux OSes doesn't wait for the PME_TO_ACK from the device and
  simply turns off the system instantly immediately after the
  shutdown/restart.

  This is not the way to treat PCIe storage devices. The host should allow the device to properly shutdown.  Otherwise the disk will go in to rebuild during next power on which takes a while resulting in OS finding the device not responding and disabling it and not loading the driver for it.
  =================================

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1465136/+subscriptions


Follow ups

References