From: Ronak Jain <ronak.jain@amd.com>
To: <michal.simek@amd.com>, <gregkh@linuxfoundation.org>,
<linus.walleij@linaro.org>, <sai.krishna.potthuri@amd.com>,
<tanmay.shah@amd.com>, <ben.levinsky@amd.com>,
<nava.kishore.manne@amd.com>, <robh@kernel.org>,
<dhaval.r.shah@amd.com>, <marex@denx.de>,
<roman.gushchin@linux.dev>, <mathieu.poirier@linaro.org>,
<shubhrajyoti.datta@amd.com>, <arnd@arndb.de>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] Add support for last reset reason
Date: Tue, 21 Nov 2023 03:20:54 -0800 [thread overview]
Message-ID: <20231121112056.1762641-1-ronak.jain@amd.com> (raw)
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
next reply other threads:[~2023-11-21 11:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-21 11:20 Ronak Jain [this message]
2023-11-21 11:20 ` [PATCH 1/2] firmware: xilinx: Add support for GET_LAST_RESET_REASON IOCTL Ronak Jain
2023-11-21 11:20 ` [PATCH 2/2] xilinx: firmware: Add sysfs to get last reset reason Ronak Jain
2023-11-21 12:30 ` Arnd Bergmann
2023-11-29 11:53 ` Jain, Ronak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231121112056.1762641-1-ronak.jain@amd.com \
--to=ronak.jain@amd.com \
--cc=arnd@arndb.de \
--cc=ben.levinsky@amd.com \
--cc=dhaval.r.shah@amd.com \
--cc=gregkh@linuxfoundation.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=mathieu.poirier@linaro.org \
--cc=michal.simek@amd.com \
--cc=nava.kishore.manne@amd.com \
--cc=robh@kernel.org \
--cc=roman.gushchin@linux.dev \
--cc=sai.krishna.potthuri@amd.com \
--cc=shubhrajyoti.datta@amd.com \
--cc=tanmay.shah@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®