[PATCH 0/2] Add support for last reset reason

From: Ronak Jain
Date: Tue Nov 21 2023 - 06:21:09 EST


Add support to get the last reset reason using IOCTL API and sysfs
usage. Accordingly, the end user can know the reason behind the last
system reset by querying the IOCTL API or the sysfs interface.

Ronak Jain (2):
firmware: xilinx: Add support for GET_LAST_RESET_REASON IOCTL
xilinx: firmware: Add sysfs to get last reset reason

.../ABI/stable/sysfs-driver-firmware-zynqmp | 13 ++++++
drivers/firmware/xilinx/zynqmp.c | 43 +++++++++++++++++++
include/linux/firmware/xlnx-zynqmp.h | 19 ++++++++
3 files changed, 75 insertions(+)

--
2.25.1