lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 21 Nov 2023 13:30:30 +0100
From:   "Arnd Bergmann" <arnd@...db.de>
To:     "Ronak Jain" <ronak.jain@....com>,
        "Michal Simek" <michal.simek@....com>,
        "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
        "Linus Walleij" <linus.walleij@...aro.org>,
        sai.krishna.potthuri@....com, "Tanmay Shah" <tanmay.shah@....com>,
        "Ben Levinsky" <ben.levinsky@....com>, nava.kishore.manne@....com,
        "Rob Herring" <robh@...nel.org>, dhaval.r.shah@....com,
        "Marek Vasut" <marex@...x.de>,
        "Roman Gushchin" <roman.gushchin@...ux.dev>,
        "Mathieu Poirier" <mathieu.poirier@...aro.org>,
        shubhrajyoti.datta@....com
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] xilinx: firmware: Add sysfs to get last reset reason

On Tue, Nov 21, 2023, at 12:20, Ronak Jain wrote:
> Add sysfs interface to get the last reset reason of the system from
> a user space.
>
> When the system reset happens whether intentionally or due to some
> errors, the firmware used to store the last reset reason and the same
> be queried by using the IOCTL API or the sysfs entry to know the
> reason behind the system reset and accordingly, the error can be
> diagnostic.
>
> Signed-off-by: Ronak Jain <ronak.jain@....com>

I'm fairly sure we already have other interfaces to access
the reset reason, please see if you can either reuse one
of the existing ones, or come up with a generic one that
can be used by others as well.

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ