mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH master 0/4] ARM: psci: client: unbreak hypervisor boot
Date: Tue,  1 Nov 2022 07:26:38 +0100	[thread overview]
Message-ID: <20221101062642.3207113-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2022-11-01  6:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  6:26 Ahmad Fatoum [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221101062642.3207113-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox