]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit724c1a93519f73f6e066b207a6307170e692ddb9
tree39ef29ecd204fbd8b7b53f6e2babc8c536502393
parenta6c9a996534e2bd976af46971205b4e05dd713b2
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