Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: PSCI version misdetection
Date: Mon, 12 Mar 2018 10:02:47 +0000	[thread overview]
Message-ID: <20180312100247.qd2cph56bhypzwp7@salmiak> (raw)
In-Reply-To: <CAOMZO5BbxFTfD_ZsL5zVhHU5Ue_J_YGBW35AwNx=PVpu6WsqwQ@mail.gmail.com>

On Sat, Mar 10, 2018 at 01:46:30PM -0300, Fabio Estevam wrote:
> Hi,
> 
> On a  imx7d-sdb board running 4.14-rc6:
> 
> [    0.000000] psci: probing for conduit method from DT.
> [    0.000000] psci: PSCIv65535.65535 detected in firmware.
> [    0.000000] psci: Using standard PSCI v0.2 function IDs
> [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
> 
> The PSCI version seems to be misdetected.
> 
> CONFIG_ARMV7_PSCI_1_0 is passed in U-Boot, so I would expect to see:
> 
> psci: PSCIv1.0 detected in firmware.
> 
> Any ideas?

It sounds like U-Boot hasn't implemented the PSCI_VERSION call, and is
returning NOT_IMPLEMENTED (-1). If so, this is not a conforming PSCI 1.0
implementation, as PSCI_VERSION is mandatory.

AFAICT, The default implementation in arch/arm/cpu/armv7/psci.S returns
NOT_SUPPORTED.

Where does the implementation for imx7d-sdb live? Is this upstream?

Thanks,
Mark.

  parent reply	other threads:[~2018-03-12 10:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-10 16:46 PSCI version misdetection Fabio Estevam
2018-03-11 18:37 ` Fabio Estevam
2018-03-11 18:38   ` Fabio Estevam
2018-03-12 10:02 ` Mark Rutland [this message]
2018-03-12 11:12   ` Fabio Estevam
2018-03-12 11:36     ` Mark Rutland
2018-03-12 11:56       ` Fabio Estevam
2018-03-12 12:13         ` Mark Rutland

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=20180312100247.qd2cph56bhypzwp7@salmiak \
    --to=mark.rutland@arm.com \
    --cc=linux-arm-kernel@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