* [PATCH] ARM: dts: bcm283x: Fix critical trip point @ 2019-11-30 12:31 Stefan Wahren [not found] ` <20191130135403.jmuuuy3lf5l3enti@wunner.de> 0 siblings, 1 reply; 4+ messages in thread From: Stefan Wahren @ 2019-11-30 12:31 UTC (permalink / raw) To: Florian Fainelli, Nicolas Saenz Julienne Cc: Scott Branden, Ray Jui, bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel, Stefan Wahren During definition of the CPU thermal zone of BCM283x SoC family there was a misunderstanding of the meaning "criticial trip point" and the thermal throttling range of the VideoCore firmware. The latter one takes effect when the core temperature is between 80 and 85 degree celsius. So the current critical trip point doesn't make sense, because the thermal shutdown appears before the firmware has a chance to throttle the ARM core(s). Fix these unwanted shutdowns by increasing the critical trip point to a value which shouldn't be reached with working thermal throttling. Fixes: 0fe4d2181cc4 ("ARM: dts: bcm283x: Add CPU thermal zone with 1 trip point") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> --- arch/arm/boot/dts/bcm283x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 3caaa57..8394916 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -37,7 +37,7 @@ trips { cpu-crit { - temperature = <80000>; + temperature = <90000>; hysteresis = <0>; type = "critical"; }; -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <20191130135403.jmuuuy3lf5l3enti@wunner.de>]
* Re: [PATCH] ARM: dts: bcm283x: Fix critical trip point [not found] ` <20191130135403.jmuuuy3lf5l3enti@wunner.de> @ 2019-12-09 18:17 ` Florian Fainelli 2019-12-09 19:31 ` Stefan Wahren 0 siblings, 1 reply; 4+ messages in thread From: Florian Fainelli @ 2019-12-09 18:17 UTC (permalink / raw) To: Lukas Wunner, Stefan Wahren Cc: linux-arm-kernel, Florian Fainelli, Scott Branden, Ray Jui, bcm-kernel-feedback-list, linux-rpi-kernel, Nicolas Saenz Julienne On 11/30/19 5:54 AM, Lukas Wunner wrote: > On Sat, Nov 30, 2019 at 01:31:13PM +0100, Stefan Wahren wrote: >> During definition of the CPU thermal zone of BCM283x SoC family there was >> a misunderstanding of the meaning "criticial trip point" and the thermal >> throttling range of the VideoCore firmware. The latter one takes effect >> when the core temperature is between 80 and 85 degree celsius. So the >> current critical trip point doesn't make sense, because the >> thermal shutdown appears before the firmware has a chance to throttle the >> ARM core(s). > > FWIW, the thermal throttling range goes way above 85°C. > > At Kunbus we've performed numerous tests in a climate chamber > and my recollection is that a CM3 starts throttling above 80°C > with the frequency hovering between 600 and 1200 MHz. > > Once 85°C is reached, the frequency is fixed at 600 MHz. > > But there a additional tripping points above that when the frequency > gets further reduced to 400 MHz and later 300 MHz. Does that mean that you are okay with 90°C here, or would you rather see this be change to 85°C? -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: bcm283x: Fix critical trip point 2019-12-09 18:17 ` Florian Fainelli @ 2019-12-09 19:31 ` Stefan Wahren 2019-12-10 20:37 ` Florian Fainelli 0 siblings, 1 reply; 4+ messages in thread From: Stefan Wahren @ 2019-12-09 19:31 UTC (permalink / raw) To: Florian Fainelli, Lukas Wunner Cc: Scott Branden, Ray Jui, bcm-kernel-feedback-list, linux-arm-kernel, Nicolas Saenz Julienne, linux-rpi-kernel Am 09.12.19 um 19:17 schrieb Florian Fainelli: > On 11/30/19 5:54 AM, Lukas Wunner wrote: >> On Sat, Nov 30, 2019 at 01:31:13PM +0100, Stefan Wahren wrote: >>> During definition of the CPU thermal zone of BCM283x SoC family there was >>> a misunderstanding of the meaning "criticial trip point" and the thermal >>> throttling range of the VideoCore firmware. The latter one takes effect >>> when the core temperature is between 80 and 85 degree celsius. So the >>> current critical trip point doesn't make sense, because the >>> thermal shutdown appears before the firmware has a chance to throttle the >>> ARM core(s). >> FWIW, the thermal throttling range goes way above 85°C. >> >> At Kunbus we've performed numerous tests in a climate chamber >> and my recollection is that a CM3 starts throttling above 80°C >> with the frequency hovering between 600 and 1200 MHz. >> >> Once 85°C is reached, the frequency is fixed at 600 MHz. >> >> But there a additional tripping points above that when the frequency >> gets further reduced to 400 MHz and later 300 MHz. > Does that mean that you are okay with 90°C here, or would you rather see > this be change to 85°C? From my understanding the change is okay, but the wording in the patch description is misleading. Suggestion: ... The latter one takes effect when the core temperature is at least 85 degree celsius or higher. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: bcm283x: Fix critical trip point 2019-12-09 19:31 ` Stefan Wahren @ 2019-12-10 20:37 ` Florian Fainelli 0 siblings, 0 replies; 4+ messages in thread From: Florian Fainelli @ 2019-12-10 20:37 UTC (permalink / raw) To: Stefan Wahren, Lukas Wunner Cc: Scott Branden, Ray Jui, bcm-kernel-feedback-list, linux-arm-kernel, Nicolas Saenz Julienne, linux-rpi-kernel On 12/9/19 11:31 AM, Stefan Wahren wrote: > Am 09.12.19 um 19:17 schrieb Florian Fainelli: >> On 11/30/19 5:54 AM, Lukas Wunner wrote: >>> On Sat, Nov 30, 2019 at 01:31:13PM +0100, Stefan Wahren wrote: >>>> During definition of the CPU thermal zone of BCM283x SoC family there was >>>> a misunderstanding of the meaning "criticial trip point" and the thermal >>>> throttling range of the VideoCore firmware. The latter one takes effect >>>> when the core temperature is between 80 and 85 degree celsius. So the >>>> current critical trip point doesn't make sense, because the >>>> thermal shutdown appears before the firmware has a chance to throttle the >>>> ARM core(s). >>> FWIW, the thermal throttling range goes way above 85°C. >>> >>> At Kunbus we've performed numerous tests in a climate chamber >>> and my recollection is that a CM3 starts throttling above 80°C >>> with the frequency hovering between 600 and 1200 MHz. >>> >>> Once 85°C is reached, the frequency is fixed at 600 MHz. >>> >>> But there a additional tripping points above that when the frequency >>> gets further reduced to 400 MHz and later 300 MHz. >> Does that mean that you are okay with 90°C here, or would you rather see >> this be change to 85°C? > > From my understanding the change is okay, but the wording in the patch > description is misleading. > > Suggestion: > > ... The latter one takes effect when the core temperature is at least 85 > degree celsius or higher. Applied to devicetree/fixes with this description fixed up, thanks Stefan. -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-12-10 20:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-11-30 12:31 [PATCH] ARM: dts: bcm283x: Fix critical trip point Stefan Wahren [not found] ` <20191130135403.jmuuuy3lf5l3enti@wunner.de> 2019-12-09 18:17 ` Florian Fainelli 2019-12-09 19:31 ` Stefan Wahren 2019-12-10 20:37 ` Florian Fainelli
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.