Hi Simon, Magnus,
This patch series upgrades the version of the PSCI firmware, as
advertised in DT on Renesas R-Car Gen3 systems, from v0.2 to v1.0.
Note that this series does not have any runtime effects: as of PSCI
v0.2, PSCI provides a VERSION API. Hence Linux always detected the
actual version, regardless of what was stated in DT, and enabled v1.0
features like system suspend:
PSCIv1.0 detected in firmware.
However, it is better to have the real hardware^H^H^H^H^H^H^H^Hfirmware
description in DT.
Changes compared to v1:
- Keep "arm,psci-0.2".
Tested on Salvator-X (both H3 and M3-W) with firmware v2.16.0, but I do
have old boot logs showing that PSCIv1.0 has been detected for a long
time.
Thanks for applying!
Khiem Nguyen (2):
arm64: dts: r8a7795: Upgrade to PSCI v1.0 to support Suspend-to-RAM
arm64: dts: r8a7796: Upgrade to PSCI v1.0 to support Suspend-to-RAM
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +-
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
From PSCI v1.0, Suspend-to-RAM is supported via SYSTEM_SUSPEND PSCI
function call. Hence, upgrade PSCI version for R-Car H3 to support
Suspend-to-RAM.
The Suspend-to-RAM is highly dependent on ARM Trusted Firwmare support
since necessary callback functions will be registered after a query
to ARM Trusted Firmware about SYSTEM_SUSPEND support.
Since PSCI v1.0 is backward compatible with PSCI v0.2, CPU Hotplug and
CPUIdle should be able to work normally with this change.
Signed-off-by: Khiem Nguyen <redacted>
Signed-off-by: Takeshi Kihara <redacted>
[geert: Keep "arm,psci-0.2"]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Khiem: I've updated your email address.
v2:
- Keep "arm,psci-0.2".
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From PSCI v1.0, Suspend-to-RAM is supported via SYSTEM_SUSPEND PSCI
function call. Hence, upgrade PSCI version for R-Car M3-W to support
Suspend-to-RAM.
The Suspend-to-RAM is highly dependent on ARM Trusted Firwmare support
since necessary callback functions will be registered after a query
to ARM Trusted Firmware about SYSTEM_SUSPEND support.
Since PSCI v1.0 is backward compatible with PSCI v0.2, CPU Hotplug and
CPUIdle should be able to work normally with this change.
Signed-off-by: Khiem Nguyen <redacted>
Signed-off-by: Takeshi Kihara <redacted>
[geert: Keep "arm,psci-0.2"]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Khiem: I've updated your email address.
v2:
- Keep "arm,psci-0.2".
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Simon Horman <horms@verge.net.au> Date: 2017-03-02 15:05:34
On Fri, Feb 24, 2017 at 02:49:12PM +0100, Geert Uytterhoeven wrote:
Hi Simon, Magnus,
This patch series upgrades the version of the PSCI firmware, as
advertised in DT on Renesas R-Car Gen3 systems, from v0.2 to v1.0.
Note that this series does not have any runtime effects: as of PSCI
v0.2, PSCI provides a VERSION API. Hence Linux always detected the
actual version, regardless of what was stated in DT, and enabled v1.0
features like system suspend:
PSCIv1.0 detected in firmware.
However, it is better to have the real hardware^H^H^H^H^H^H^H^Hfirmware
description in DT.
Changes compared to v1:
- Keep "arm,psci-0.2".
Tested on Salvator-X (both H3 and M3-W) with firmware v2.16.0, but I do
have old boot logs showing that PSCIv1.0 has been detected for a long
time.
Thanks for applying!