firmware/psci: Add debugfs support to ease debugging
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 26 Sep 2022 11:07:58 +0000 (14:07 +0300)
committerArnd Bergmann <arnd@arndb.de>
Wed, 28 Sep 2022 20:38:07 +0000 (22:38 +0200)
commit3137f2e60098bccdf9b3a744747b06a96addab9e
tree39ef29ecd204fbd8b7b53f6e2babc8c536502393
parent998fcd001feb8d71f2838d0949f2aeac2a0cbb9e
firmware/psci: Add debugfs support to ease debugging

To ease debugging of PSCI supported features, add debugfs file called
'psci' describing PSCI and SMC CC versions, enabled features and
options.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220926110758.666922-1-dmitry.baryshkov@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/psci/psci.c
include/uapi/linux/psci.h