Reworked RTC layer & Alarm timers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Introduce timerlist infrastructure.include/ lib/ lib/ | +153 | 0 replies | |
| 2/5 | hrtimers: Convert hrtimers to use timerlist infrastructureinclude/ kernel/ kernel/ | +49 | 0 replies | |
| 3/5 | RTC: Rework RTC code to use timerlist for eventsdrivers/ drivers/ drivers/ +1 more | +426 | 4 replies | |
| 4/5 | RTC: Remove UIE emulationdrivers/ include/ | +0 | 2 replies | |
| 5/5 | Introduce Alarm (hybrid) timersinclude/ include/ include/ +2 more | +692 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alessandro Zummo | John Stultz |
|---|---|---|
| Series | A-b | |
| 1/5 | ||
| 2/5 | ||
| 3/5 | ||
| 4/5 | A-b | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Reworked RTC layer & Alarm timers
So this patchset has gotten minimal feedback, so I wanted to send it out again for another chance at feedback and consideration for partial inclusion.
The first 4 patches rework the generic RTC code adding a abstracted timerlist layer which allows the kernel to multiplex multiple event on a single RTC device. These patches haven't changed much since mid-october, so I'd like to start pushing for them to be queued for testing to be included in 2.6.38.
Alessandro: Unless you object, I'll likely push these changes upstream through Thomas. If you'd prefer to be the path, please let me know.
The last patch is the Android-inspired alarm timers infrastructure. This is still in development, and I'd really like to get Arve's input as well as other android dev's input so we can try to make sure the proposed interface will suffice for Android.
For now I've also dropped the dynamic clockid and direct RTC posix clock interface patches, as Richard's dynamic clock device code is still in-progress. I'll revisit the that interface later once Richard's code is more settled.
John Stultz (5):
Introduce timerlist infrastructure.
hrtimers: Convert hrtimers to use timerlist infrastructure
RTC: Rework RTC code to use timerlist for events
RTC: Remove UIE emulation
[RFC] Introduce Alarm (hybrid) timers
drivers/rtc/class.c | 13 + drivers/rtc/interface.c | 574 ++++++++++++++++++++++--------------- drivers/rtc/rtc-dev.c | 104 ------- drivers/rtc/rtc-lib.c | 26 ++ include/linux/alarmtimer.h | 30 ++ include/linux/hrtimer.h | 32 +-- include/linux/posix-timers.h | 2 + include/linux/rtc.h | 51 +++- include/linux/time.h | 2 + include/linux/timerlist.h | 37 +++ kernel/hrtimer.c | 86 ++---- kernel/time/Makefile | 2 +- kernel/time/alarmtimer.c | 657 ++++++++++++++++++++++++++++++++++++++++++ kernel/time/timer_list.c | 8 +- lib/Makefile | 2 +- lib/timerlist.c | 115 ++++++++ 16 files changed, 1318 insertions(+), 423 deletions(-) create mode 100644 include/linux/alarmtimer.h create mode 100644 include/linux/timerlist.h create mode 100644 kernel/time/alarmtimer.c create mode 100644 lib/timerlist.c
Signature · 1 line
1.7.3.2.146.gca209