[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <LV8PR12MB92068766389708E9209DA8338683A@LV8PR12MB9206.namprd12.prod.outlook.com>
Date: Wed, 29 Nov 2023 11:53:18 +0000
From: "Jain, Ronak" <ronak.jain@....com>
To: Arnd Bergmann <arnd@...db.de>,
"Simek, Michal" <michal.simek@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linus Walleij <linus.walleij@...aro.org>,
"Potthuri, Sai Krishna" <sai.krishna.potthuri@....com>,
"Shah, Tanmay" <tanmay.shah@....com>,
"Levinsky, Ben" <ben.levinsky@....com>,
"Manne, Nava kishore" <nava.kishore.manne@....com>,
Rob Herring <robh@...nel.org>,
"dhaval.r.shah@....com" <dhaval.r.shah@....com>,
Marek Vasut <marex@...x.de>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
"Datta, Shubhrajyoti" <shubhrajyoti.datta@....com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 2/2] xilinx: firmware: Add sysfs to get last reset reason
Hi Arnd,
> -----Original Message-----
> From: Arnd Bergmann <arnd@...db.de>
> Sent: Tuesday, November 21, 2023 6:01 PM
> To: Jain, Ronak <ronak.jain@....com>; Simek, Michal
> <michal.simek@....com>; Greg Kroah-Hartman
> <gregkh@...uxfoundation.org>; Linus Walleij <linus.walleij@...aro.org>;
> Potthuri, Sai Krishna <sai.krishna.potthuri@....com>; Shah, Tanmay
> <tanmay.shah@....com>; Levinsky, Ben <ben.levinsky@....com>; Manne,
> Nava kishore <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>; Datta, Shubhrajyoti
> <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.
Could you please provide more information regarding the interface you're talking about?
Thanks,
Ronak
>
> Arnd
Powered by blists - more mailing lists