Skip to contentSkip to conversation

Patch "ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications" has been added to the 4.2-stable tree

PATCH [email protected] 2 participants 5 messages Oct 13, 2015 – Nov 6, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-sunxi-raise-minimum-cpu-voltage-for-sun7i-a20-to-meet-soc-specifications.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From eaeef1ad9b6ea6df1d1220c254d9563da60cb9d1 Mon Sep 17 00:00:00 2001

From: Timo Sigurdsson <[email protected]>
Date: Tue, 4 Aug 2015 23:08:01 +0200
Subject: ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications

From: Timo Sigurdsson <[email protected]>

commit eaeef1ad9b6ea6df1d1220c254d9563da60cb9d1 upstream.

sun7i-a20.dtsi contains a cpufreq operating point at 0.9 volts. The minimum CPU voltage for the Allwinner A20 SoC, however, is 1.0 volts. Thus, raise the voltage for the lowest operating point to 1.0 volts in order to stay within the SoC specifications. It is an undervolted setting that isn't stable across all SoCs and boards out there.

Fixes d96b7161916f ("ARM: dts: sun7i: Add cpu clock reference and operating points to dtsi")
---
 arch/arm/boot/dts/sun7i-a20.dtsi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
@@ -107,7 +107,7 @@
 				720000	1200000
 				528000	1100000
 				312000	1000000
-				144000	900000
+				144000	1000000
 				>;
 			#cooling-cells = <2>;
 			cooling-min-level = <0>;

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/arm-dts-sunxi-raise-minimum-cpu-voltage-for-sun7i-a20-to-meet-soc-specifications.patch

#1 lore raw

Hi Greg,

I don't know your exact workflow, but is it possible that you missed this patch to apply it to the 4.1 tree? IIRC Maxime marked this as "4.0+" when he forwarded it to stable. But while it went into 4.2.4, it's not in 4.1.11 or 4.1.12-rc1.

Thanks,

Timo

[email protected] schrieb am 13.10.2015 22:39:

Quoted 62 lines

This is a note to let you know that I've just added the patch titled

ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-sunxi-raise-minimum-cpu-voltage-for-sun7i-a20-to-meet-soc-specifications.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line
Quoted 1 line

From eaeef1ad9b6ea6df1d1220c254d9563da60cb9d1 Mon Sep 17 00:00:00 2001

From: Timo Sigurdsson <[email protected]>
Date: Tue, 4 Aug 2015 23:08:01 +0200
Subject: ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications

From: Timo Sigurdsson <[email protected]>

commit eaeef1ad9b6ea6df1d1220c254d9563da60cb9d1 upstream.

sun7i-a20.dtsi contains a cpufreq operating point at 0.9 volts. The minimum CPU voltage for the Allwinner A20 SoC, however, is 1.0 volts. Thus, raise the voltage for the lowest operating point to 1.0 volts in order to stay within the SoC specifications. It is an undervolted setting that isn't stable across all SoCs and boards out there.

Fixes d96b7161916f ("ARM: dts: sun7i: Add cpu clock reference and operating

points to dtsi")

---
arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
@@ -107,7 +107,7 @@
 				720000	1200000
 				528000	1100000
 				312000	1000000
-				144000	900000
+				144000	1000000
 				>;
 			#cooling-cells = <2>;
 			cooling-min-level = <0>;

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/arm-dts-sunxi-raise-minimum-cpu-voltage-for-sun7i-a20-to-meet-soc-specifications.patch

author maintainer
#2 lore raw
Quoted 5 lines · Timo Sigurdsson

Hi Greg,

I don't know your exact workflow, but is it possible that you missed this patch to apply it to the 4.1 tree? IIRC Maxime marked this as "4.0+" when he forwarded it to stable. But while it went into 4.2.4, it's not in 4.1.11 or 4.1.12-rc1.

Does it apply to 4.1-stable? Maybe I dropped it because it didn't do so, please test it and see...

thanks,

greg k-h

Acked-by Iain Paton
#3 lore raw

Hi Greg,

Am Dienstag, den 27.10.2015, 05:42 +0900 schrieb Greg KH:

Quoted 8 lines · Timo Sigurdsson
Quoted 5 lines

Hi Greg,

I don't know your exact workflow, but is it possible that you missed this patch to apply it to the 4.1 tree? IIRC Maxime marked this as "4.0+" when he forwarded it to stable. But while it went into 4.2.4, it's not in 4.1.11 or 4.1.12-rc1.

Quoted 6 lines

Does it apply to 4.1-stable? Maybe I dropped it because it didn't do so, please test it and see...

thanks,

greg k-h

Oops, you're right. The patch didn't apply. Here's a backported version for the linux-4.1.y tree, tested on top of 4.1.12.

Regards,

Timo

--

Quoted 1 line

From a2f5b3a592d5d86b4579fc03a1c8fecf74f26e4c Mon Sep 17 00:00:00 2001

From: Timo Sigurdsson <[email protected]>
Date: Tue, 27 Oct 2015 21:09:28 +0100
Subject: [PATCH] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to
meet SoC specifications

Backport of commit eaeef1ad9b6e ("ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications") upstream.

sun7i-a20.dtsi contains a cpufreq operating point at 0.9 volts. The minimum CPU voltage for the Allwinner A20 SoC, however, is 1.0 volts. Thus, raise the voltage for the lowest operating point to 1.0 volts in order to stay within the SoC specifications. It is an undervolted setting that isn't stable across all SoCs and boards out there.

Fixes d96b7161916f ("ARM: dts: sun7i: Add cpu clock reference and

operating points to dtsi")

---
 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
index 2b4847c..fa36571 100644
@@ -111,7 +111,7 @@
 				720000  1200000
 				528000  1100000
 				312000  1000000
-				144000  900000
+				144000  1000000
 				>;
 			#cooling-cells = <2>;
 			cooling-min-level = <0>;
Signature · 1 line
2.1.4
author maintainer
#4 lore raw
Quoted 14 lines · Timo Sigurdsson

Hi Greg,

Am Dienstag, den 27.10.2015, 05:42 +0900 schrieb Greg KH:

Quoted 11 lines · Timo Sigurdsson
Quoted 5 lines

Hi Greg,

I don't know your exact workflow, but is it possible that you missed this patch to apply it to the 4.1 tree? IIRC Maxime marked this as "4.0+" when he forwarded it to stable. But while it went into 4.2.4, it's not in 4.1.11 or 4.1.12-rc1.

Does it apply to 4.1-stable? Maybe I dropped it because it didn't do so, please test it and see...

Quoted 6 lines
Quoted 3 lines

thanks,

greg k-h

Oops, you're right. The patch didn't apply. Here's a backported version for the linux-4.1.y tree, tested on top of 4.1.12.

Thanks, now queued up.

greg k-h