clocksource/events: Overhaul (un)registration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | clocksource: apb_timer: Remove unsused functiondrivers/ include/ | +0 | 2 replies | |
| 2/15 | clocksource: Always verify highres capabilitykernel/ | +26 | 1 reply | |
| 3/15 | clocksource: Let timekeeping_notify return success/errorinclude/ kernel/ kernel/ | +7 | 1 reply | |
| 4/15 | clocksource: Add module refcountinclude/ kernel/ | +13 | 1 reply | |
| 5/15 | clocksource: Allow clocksource select to skip current clocksourcekernel/ | +14 | 2 replies | |
| 6/15 | clocksource: Split out user string inputkernel/ | +21 | 2 replies | |
| 7/15 | clocksource: Provide unbind interface in sysfskernel/ | +68 | 4 replies | |
| 8/15 | clocksource: Let clocksource_unregister() return success/errorinclude/ kernel/ | +13 | 1 reply | |
| 9/15 | clockevents: Get rid of the notifier chaininclude/ kernel/ kernel/ +2 more | +14 | 0 replies | |
| 10/15 | clockevents: Simplify lockingkernel/ | +5 | 0 replies | |
| 11/15 | clockevents: Move the tick_notify() switch case to clockevents_notify()kernel/ kernel/ kernel/ | +35 | 0 replies | |
| 12/15 | clockevents: Add module refcountinclude/ kernel/ kernel/ +1 more | +11 | 0 replies | |
| 13/15 | clockevents: Provide sysfs interfacekernel/ | +86 | 3 replies | |
| 14/15 | clockevents: Split out selection logickernel/ kernel/ | +56 | 0 replies | |
| 15/15 | clockevents: Implement unbind functionalityinclude/ kernel/ kernel/ +2 more | +162 | 0 replies |
Reviews trailers per patch
4 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Jamie Iles | John Stultz |
|---|---|---|
| 1/15 | A-b | A-b |
| 2/15 | A-b | |
| 3/15 | A-b | |
| 4/15 | ||
| 5/15 | ||
| 6/15 | ||
| 7/15 | ||
| 8/15 | A-b | |
| 9/15 | ||
| 10/15 | ||
| 11/15 | ||
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/15] clocksource/events: Overhaul (un)registration
The clocksource_unregister() interface is broken. A clocksource can be removed unconditionally even if there is no fallback clocksource available. clocksources in a module can be removed as well. Aside of that the registration part lacks a few sanity checks as well.
The clockevents layer does not allow unregistration, but for reconfigurable hardware this is a must have feature.
The following patch series fixes the clocksource part and adds unregister support for clockevent devices.
Thanks,
tglx
--- drivers/clocksource/dw_apb_timer.c | 12 - include/linux/clockchips.h | 4 include/linux/clocksource.h | 7 include/linux/dw_apb_timer.h | 1 kernel/time/clockevents.c | 271 ++++++++++++++++++++++++++++++++----- kernel/time/clocksource.c | 190 +++++++++++++++++++------ kernel/time/tick-broadcast.c | 33 +++- kernel/time/tick-common.c | 189 +++++++++---------------- kernel/time/tick-internal.h | 17 +- kernel/time/timekeeping.c | 20 +- 10 files changed, 514 insertions(+), 230 deletions(-)