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

Sudeep Holla sudeep.holla at arm.com
Thu Jul 28 02:08:06 PDT 2022


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.

> enabled features and options.
> 

We have psci_checker.c which does some minimal testing of PSCI. I prefer
to add things to that rather than a debugfs as it is run during boot. IMO
it is usual useful to debug things that cause boot issue most of the time.
I am not against this so I will leave it to the maintainers.

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list