Skip to content

Abrupt Shutdown for NVMe SSD

[email protected] linux-nvme linux-pm lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: enable support for imminent power lossinclude/linux/suspend.h+25 -32 replies
2/2nvme: Add abrupt shutdown supportdrivers/nvme/host/core.c drivers/nvme/host/pci.c+10 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Abrupt Shutdown for NVMe SSD

From: Shivamurthy Shastri <[email protected]>

In the platform with a limited backup power supply, devices like NVMe SSD does unsafe shutdown.

These two patches address this issue by adding a power loss imminent flag. The platform will enable the power loss imminent flag if the platform's power is running on the limited backup power supply. During the shutdown, the driver checks this information and pwerforms the abrupt shutdown.

Shivamurthy Shastri (2):
PM: introduce power loss imminent
nvme: Add abrupt shutdown support

 drivers/nvme/host/core.c |  7 ++++++-
 drivers/nvme/host/pci.c  |  6 ++++--
 include/linux/suspend.h  | 28 +++++++++++++++++++++++++---
 3 files changed, 35 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1