Skip to content

Fixes for for dra7 timer wrap errata i940

Tony Lindgren linux-arm-kernel linux-omap lkml 2 versions – Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Drop pointless irqflags and IRQF_NOBALANCING as noted by Daniel

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issuedrivers/clocksource/timer-ti-dm-systimer.c+43 -230 replies
2/2clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940arch/arm/boot/dts/dra7-l4.dtsi arch/arm/boot/dts/dra7.dtsi drivers/clocksource/timer-ti-dm-systimer.c +1 more+99 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

Hi all,

Here is v2 set of fixes for dra7 ARM architected timer wrap errata i940 where the timer 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

Changes since v1:
- Drop pointless irqflags and IRQF_NOBALANCING as noted by Daniel

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 | 142 +++++++++++++++++----
 include/linux/cpuhotplug.h                 |   1 +
 4 files changed, 142 insertions(+), 25 deletions(-)
Signature · 1 line
2.31.0