Patch "ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer" has been added to the 6.10-stable tree

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

 



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

    ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer

to the 6.10-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-stm32-add-arm-no-tick-in-suspend-to-stm32mp1.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2edba3a66f1126917ca3efc725b3b890dfa3054f
Author: Marek Vasut <marex@xxxxxxx>
Date:   Mon May 13 23:58:15 2024 +0200

    ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
    
    [ Upstream commit 4306c047415a227bc72f0e7ba9bde1ccdac10435 ]
    
    STM32MP15xx RM0436 Rev 6 section 46.3 System timer generator (STGEN) states
    "
    Arm recommends that the system counter is in an always-on power domain.
    This is not supported in the current implementation, therefore STGEN should
    be saved and restored before Standby mode entry, and restored at Standby
    exit by secure software.
    ...
    "
    Instead of piling up workarounds in the firmware which is difficult to
    update, add "arm,no-tick-in-suspend" DT property into the timer node to
    indicate the timer is stopped in suspend, and let the kernel fix the
    timer up.
    
    Fixes: 8471a20253eb ("ARM: dts: stm32: add stm32mp157c initial support")
    Signed-off-by: Marek Vasut <marex@xxxxxxx>
    Signed-off-by: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
index 90c5c72c87ab7..4f878ec102c1f 100644
--- a/arch/arm/boot/dts/st/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
@@ -50,6 +50,7 @@ timer {
 			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
 		interrupt-parent = <&intc>;
+		arm,no-tick-in-suspend;
 	};
 
 	clocks {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux