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