mbox series

[0/2] Fixes for for dra7 timer wrap errata i940

Message ID 20210304073737.15810-1-tony@atomide.com
Headers show
Series Fixes for for dra7 timer wrap errata i940 | expand

Message

Tony Lindgren March 4, 2021, 7:37 a.m. UTC
Hi all,

Here are fixes for dra7 ARM architected timer wrap errata i940 where it
fails to wrap after 388 days. The workaround is to use two dmtimers as
the local timers instead.

Note that these patches depend on timer posted mode fixes series
"[PATCH 0/3] Fixes for timer-ti-dm systimer posted mode" for the write
status register check fix. Also the spurious timer interrupt fix is
good to have from that series.

Regards,

Tony


Tony Lindgren (2):
  clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap
    issue
  clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940

 arch/arm/boot/dts/dra7-l4.dtsi             |   4 +-
 arch/arm/boot/dts/dra7.dtsi                |  20 +++
 drivers/clocksource/timer-ti-dm-systimer.c | 148 +++++++++++++++++----
 include/linux/cpuhotplug.h                 |   1 +
 4 files changed, 148 insertions(+), 25 deletions(-)