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

Mark Brown broonie at kernel.org
Thu Jul 28 06:05:56 PDT 2022


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220728/28b60a97/attachment.sig>


More information about the linux-arm-kernel mailing list