[lkml]   [2021]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/2] Abrupt Shutdown for NVMe SSD
From: Shivamurthy Shastri <>

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(-)


 \ /
  Last update: 2021-07-26 15:23    [W:0.300 / U:2.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site