[PATCH v1 0/3] introduce priority-based shutdown support

From: Oleksij Rempel
Date: Fri Nov 24 2023 - 09:53:52 EST


Hi,

This patch series introduces support for prioritized device shutdown.
The main goal is to enable prioritization for shutting down specific
devices, particularly crucial in scenarios like power loss where
hardware damage can occur if not handled properly.

Oleksij Rempel (3):
driver core: move core part of device_shutdown() to a separate
function
driver core: introduce prioritized device shutdown sequence
mmc: core: increase shutdown priority for MMC devices

drivers/base/core.c | 157 +++++++++++++++++++++++++++--------------
drivers/mmc/core/bus.c | 2 +
include/linux/device.h | 51 ++++++++++++-
kernel/reboot.c | 4 +-
4 files changed, 157 insertions(+), 57 deletions(-)

--
2.39.2