firmware/psci: demote suspend-mode warning to info level
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 14 Apr 2023 08:46:19 +0000 (10:46 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 14 Apr 2023 11:48:56 +0000 (13:48 +0200)
commit43235168793cb1d766ccd015c219068e0547c511
tree8d6e345abf980086afc7a8d205b432e3b68f2b4f
parent4f7e22b8b6341e6411cec9db97e20c2a2dbcdbff
firmware/psci: demote suspend-mode warning to info level

On some Qualcomm platforms, like SC8280XP, the attempt to set PC mode
during boot fails with PSCI_RET_DENIED and since commit 998fcd001feb
("firmware/psci: Print a warning if PSCI doesn't accept PC mode") this
is now logged at warning level:

psci: failed to set PC mode: -3

As there is nothing users can do about the firmware behaving this way,
demote the warning to info level and clearly mark it as a firmware bug:

psci: [Firmware Bug]: failed to set PC mode: -3

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/psci/psci.c