[PATCH v4] twd: Don't set CLOCK_EVT_FEAT_C3STOP unconditionally

Marc Gonzalez marc_gonzalez at sigmadesigns.com
Wed Oct 7 05:14:46 PDT 2015


On 05/10/2015 18:37, Marc Gonzalez wrote:
> On 05/10/2015 13:53, Marc Gonzalez wrote:
>> In 5388a6b266 ("ARM: SMP: Always enable clock event broadcast support")
>> Russell noted that "the TWD local timers are unable to wake up the CPU
>> when it is placed into a low power mode".
>>
>> However, some platforms do not stop the TWD block in low-power mode,
>> and can thus use the TWD timer in one-shot mode, without setting up
>> a broadcast device.
>>
>> Make the driver check for the "twd-never-stops" boolean property,
>> and set the CLOCK_EVT_FEAT_C3STOP flag accordingly.
>>
>> Signed-off-by: Marc Gonzalez <marc_gonzalez at sigmadesigns.com>
>> ---
>>  Documentation/devicetree/bindings/arm/twd.txt | 4 ++++
>>  arch/arm/kernel/smp_twd.c                     | 5 ++++-
>>  2 files changed, 8 insertions(+), 1 deletion(-)
> 
> Sorry, I don't fully understand the submission process.
> 
> Should I now submit my patch to the patch queue?
> http://www.arm.linux.org.uk/developer/patches/

Submitted as patch 8441/1
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8441/1




More information about the linux-arm-kernel mailing list