mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 0/4] ARM: psci: client: unbreak hypervisor boot
@ 2022-11-01  6:26 Ahmad Fatoum
  2022-11-01  6:26 ` [PATCH master 1/4] ARM: psci: of: fixup only version if node already exists Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2022-11-01  6:26 UTC (permalink / raw)
  To: barebox

PSCI fixup logic is useful when kernel DT contains just arm,psci and
expects firmware to update compatible as PSCI v0.1 doesn't have a
command for querying PSCI version. The fixup was too zealous though and
hardcoded the method to smc, breaking hvc boot. The result was also not
confirming to the current bindings, so fix that up.

This fixes boot on QEMU ARM Virt64, which previously crashed when smc
was executed.

Ahmad Fatoum (4):
  ARM: psci: of: fixup only version if node already exists
  ARM: psci: client: match most specific compatible first
  ARM: psci: client: always register OF fixup
  ARM: psci: keep older PSCI versions in compatible fixup

 arch/arm/cpu/psci-client.c | 12 ++++--------
 arch/arm/cpu/psci-of.c     | 39 +++++++++++++++++++++-----------------
 2 files changed, 26 insertions(+), 25 deletions(-)

-- 
2.30.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-01  6:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01  6:26 [PATCH master 0/4] ARM: psci: client: unbreak hypervisor boot Ahmad Fatoum
2022-11-01  6:26 ` [PATCH master 1/4] ARM: psci: of: fixup only version if node already exists Ahmad Fatoum
2022-11-01  6:26 ` [PATCH master 2/4] ARM: psci: client: match most specific compatible first Ahmad Fatoum
2022-11-01  6:26 ` [PATCH master 3/4] ARM: psci: client: always register OF fixup Ahmad Fatoum
2022-11-01  6:26 ` [PATCH master 4/4] ARM: psci: keep older PSCI versions in compatible fixup Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox