* [PATCH 1/2] arm64: dts: st: fix timer used for ticks @ 2025-05-15 13:12 Patrick Delaunay 2025-05-15 13:12 ` [PATCH 2/2] arm64: dts: st: remove empty line in stm32mp251.dtsi Patrick Delaunay 2025-05-15 13:39 ` [PATCH 1/2] arm64: dts: st: fix timer used for ticks Marc Zyngier 0 siblings, 2 replies; 4+ messages in thread From: Patrick Delaunay @ 2025-05-15 13:12 UTC (permalink / raw) To: Alexandre TORGUE, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin Cc: Patrick Delaunay, Marc Zyngier, devicetree, linux-arm-kernel, linux-kernel, linux-stm32 Remove always-on on generic ARM timer as the clock source provided by STGEN is deactivated in low power mode, STOP1 by example. Fixes: 5d30d03aaf78 ("arm64: dts: st: introduce stm32mp25 SoCs family") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 8d87865850a7..74c5f85b800f 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -150,7 +150,7 @@ timer { <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; - always-on; + arm,no-tick-in-suspend; }; soc@0 { -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: st: remove empty line in stm32mp251.dtsi 2025-05-15 13:12 [PATCH 1/2] arm64: dts: st: fix timer used for ticks Patrick Delaunay @ 2025-05-15 13:12 ` Patrick Delaunay 2025-05-15 13:39 ` [PATCH 1/2] arm64: dts: st: fix timer used for ticks Marc Zyngier 1 sibling, 0 replies; 4+ messages in thread From: Patrick Delaunay @ 2025-05-15 13:12 UTC (permalink / raw) To: Alexandre TORGUE, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin Cc: Patrick Delaunay, devicetree, linux-arm-kernel, linux-kernel, linux-stm32 Remove unnecessary empty line in stm32mp251.dtsi Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 74c5f85b800f..5d54be027254 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -1495,7 +1495,6 @@ gpioz: gpio@46200000 { st,bank-ioport = <11>; status = "disabled"; }; - }; exti2: interrupt-controller@46230000 { -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] arm64: dts: st: fix timer used for ticks 2025-05-15 13:12 [PATCH 1/2] arm64: dts: st: fix timer used for ticks Patrick Delaunay 2025-05-15 13:12 ` [PATCH 2/2] arm64: dts: st: remove empty line in stm32mp251.dtsi Patrick Delaunay @ 2025-05-15 13:39 ` Marc Zyngier 2025-07-10 14:10 ` Patrick DELAUNAY 1 sibling, 1 reply; 4+ messages in thread From: Marc Zyngier @ 2025-05-15 13:39 UTC (permalink / raw) To: Patrick Delaunay Cc: Alexandre TORGUE, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin, devicetree, linux-arm-kernel, linux-kernel, linux-stm32 On Thu, 15 May 2025 14:12:39 +0100, Patrick Delaunay <patrick.delaunay@foss.st.com> wrote: > > Remove always-on on generic ARM timer as the clock source provided by > STGEN is deactivated in low power mode, STOP1 by example. > > Fixes: 5d30d03aaf78 ("arm64: dts: st: introduce stm32mp25 SoCs family") > Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> > --- > > arch/arm64/boot/dts/st/stm32mp251.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi > index 8d87865850a7..74c5f85b800f 100644 > --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi > +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi > @@ -150,7 +150,7 @@ timer { > <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, > <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, > <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; > - always-on; > + arm,no-tick-in-suspend; That's amusing, because these two properties literally describe opposite behaviours (from an optimisation to a HW bug). I'm also pretty sure 99% of the DTs in the tree that have the always-on property are wrong. > }; > > soc@0 { I don't want to sound rude or anything, but the guy you Cc'd on an @arm.com will not reply (and hasn't been replying for almost 6 years). Thanks, M. -- Without deviation from the norm, progress is not possible. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] arm64: dts: st: fix timer used for ticks 2025-05-15 13:39 ` [PATCH 1/2] arm64: dts: st: fix timer used for ticks Marc Zyngier @ 2025-07-10 14:10 ` Patrick DELAUNAY 0 siblings, 0 replies; 4+ messages in thread From: Patrick DELAUNAY @ 2025-07-10 14:10 UTC (permalink / raw) To: Marc Zyngier Cc: Alexandre TORGUE, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin, devicetree, linux-arm-kernel, linux-kernel, linux-stm32 Hi Mark, On 5/15/25 15:39, Marc Zyngier wrote: > On Thu, 15 May 2025 14:12:39 +0100, > Patrick Delaunay <patrick.delaunay@foss.st.com> wrote: >> Remove always-on on generic ARM timer as the clock source provided by >> STGEN is deactivated in low power mode, STOP1 by example. >> >> Fixes: 5d30d03aaf78 ("arm64: dts: st: introduce stm32mp25 SoCs family") >> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> >> --- >> >> arch/arm64/boot/dts/st/stm32mp251.dtsi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi >> index 8d87865850a7..74c5f85b800f 100644 >> --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi >> +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi >> @@ -150,7 +150,7 @@ timer { >> <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, >> <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, >> <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; >> - always-on; >> + arm,no-tick-in-suspend; > That's amusing, because these two properties literally describe > opposite behaviours (from an optimisation to a HW bug). > > I'm also pretty sure 99% of the DTs in the tree that have the > always-on property are wrong. yes it was a bug in the initial device tree, detected when we implement the low power support in STMicroelectronics downtream. STGEN, the root source of ARM generic timer in STM32MP25 is stopped in low power states. > >> }; >> >> soc@0 { > I don't want to sound rude or anything, but the guy you Cc'd on an > @arm.com will not reply (and hasn't been replying for almost 6 years). your not rude and It is my error, sorry I search email for "Marc Zyngier " in Linux source tree.... and I use a bad address. For information, I upstream this patch after the remark on patch by Christian Bruel: [PATCH 3/3] arm64: dts: st: add st,stm32mp2-cortex-a7-gic in intc node in stm32mp251.dtsi https://patchwork.kernel.org/project/linux-arm-kernel/patch/20250403122805.1574086-4-christian.bruel@foss.st.com/ > While reviewing a DT patch of mine related to the interrupt-controller, I had the following > comment from Marc Zyngier (GIC Maintainer) " Then while you're at it, you may want to > consider removing the "always-on" property in the timer, because I'm pretty sure the > comparator goes down in low power mode on A53 and A35, and loses its value. > In general, only VMs can make use of this property. " > > Thanks, > > M. > Thanks ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-07-10 16:28 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-05-15 13:12 [PATCH 1/2] arm64: dts: st: fix timer used for ticks Patrick Delaunay 2025-05-15 13:12 ` [PATCH 2/2] arm64: dts: st: remove empty line in stm32mp251.dtsi Patrick Delaunay 2025-05-15 13:39 ` [PATCH 1/2] arm64: dts: st: fix timer used for ticks Marc Zyngier 2025-07-10 14:10 ` Patrick DELAUNAY
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).