[PATCH] firmware/psci: Add debugfs support to ease debugging

Sudeep Holla sudeep.holla at arm.com
Fri Jul 29 04:49:46 PDT 2022


On Thu, Jul 28, 2022 at 02:05:56PM +0100, Mark Brown wrote:
> On Thu, Jul 28, 2022 at 10:08:06AM +0100, Sudeep Holla wrote:
> > On Wed, Jul 27, 2022 at 11:09:01PM +0300, Dmitry Baryshkov wrote:
> 
> > > To ease debugging of PSCI supported features, add debugfs file called
> > > 'psci' describing PSCI and SMC CC versions
> 
> > These 2 are for sure in the boot log. Having them is debugfs accessible
> > via file system add not much value as we would hit issues quite early in
> > the boot for most of the things related to PSCI.
> 
> It can be useful to have something that can be queried at any point when
> collecting diagnostics, even if there's been a lot of logging or log
> rotation since boot.  It makes it easier to give people instructions or
> a tool which will reliably collect useful information when filing a bug
> report.

Fair enough. I agree this is will be useful to debug/analyse non boot
issues.

--
Regards,
Sudeep



More information about the linux-arm-kernel mailing list