Re: [PATCH] firmware/psci: Don't register with debugfs if PSCI isn't available

From: Will Deacon
Date: Fri Jan 06 2023 - 12:51:27 EST


On Thu, 5 Jan 2023 09:08:34 +0000, Marc Zyngier wrote:
> Contrary to popular belief, PSCI is not a universal property of an
> ARM/arm64 system. There is a garden variety of systems out there
> that don't (or even cannot) implement it.
>
> I'm the first one deplore such a situation, but hey...
>
> On such systems, a "cat /sys/kernel/debug/psci" results in
> fireworks, as no invocation callback is registered.
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] firmware/psci: Don't register with debugfs if PSCI isn't available
https://git.kernel.org/arm64/c/cef139299fd8

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev