[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210726132223.1661-1-sshivamurthy@micron.com>
Date: Mon, 26 Jul 2021 13:22:21 +0000
From: shiva.linuxworks@...il.com
To: rjw@...ysocki.net, pavel@....cz, len.brown@...el.com,
linux-pm@...r.kernel.org, kbusch@...nel.org, axboe@...com,
hch@....de, sagi@...mberg.me, linux-nvme@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org,
Shivamurthy Shastri <sshivamurthy@...ron.com>
Subject: [PATCH v2 0/2] Abrupt Shutdown for NVMe SSD
From: Shivamurthy Shastri <sshivamurthy@...ron.com>
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(-)
--
2.25.1
Powered by blists - more mailing lists