Re: [PATCH 1/2] arm64: dts: r8a7795: Upgrade to PSCI v1.0 to support Suspend-to-RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 17/02/17 17:00, Geert Uytterhoeven wrote:
> From: Khiem Nguyen <khiem.nguyen.xt@xxxxxxxxxxx>
> 
> 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.
> 

Why not retain "arm,psci-0.2" and just add "arm,psci-1.0" so that you
can continue to run older kernel without PSCI v1.0 or system suspend
support in case you need to backward compatible with older/stable kernel
versions.

> Signed-off-by: Khiem Nguyen <khiem.nguyen.xt@xxxxxxxxxxx>
> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@xxxxxxxxxxx>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> Khiem: I've updated your email address.
> ---
>  arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index 98cd42f586b5fd62..4eae2d471d41ee55 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -29,7 +29,7 @@
>  	};
>  
>  	psci {
> -		compatible = "arm,psci-0.2";
> +		compatible = "arm,psci-1.0";
>  		method = "smc";
>  	};
>  
> 

-- 
Regards,
Sudeep



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux