Skip to content

ARM: Migrate clockevent drivers to 'set-state'

Viresh Kumar linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18ARM/smp_twd: Migrate to new 'set-state' interfacearch/arm/kernel/smp_twd.c+26 -220 replies
2/18ARM/cns3xxx/timer: Migrate to new 'set-state' interfacearch/arm/mach-cns3xxx/core.c+31 -241 reply
3/18ARM/davinci/time: Migrate to new 'set-state' interfacearch/arm/mach-davinci/time.c+30 -240 replies
4/18ARM/dc21285-timer: Migrate to new 'set-state' interfacearch/arm/mach-footbridge/dc21285-timer.c+23 -250 replies
5/18ARM/gemini/time: Migrate to new 'set-state' interfacearch/arm/mach-gemini/time.c+34 -351 reply
6/18ARM/imx/epit: Migrate to new 'set-state' interfacearch/arm/mach-imx/epit.c+35 -320 replies
7/18ARM/ixp4xx/timer: Migrate to new 'set-state' interfacearch/arm/mach-ixp4xx/common.c+40 -281 reply
8/18ARM/ks8695/time: Migrate to new 'set-state' interfacearch/arm/mach-ks8695/time.c+21 -221 reply
9/18ARM/lpc32xx/timer: Migrate to new 'set-state' interfacearch/arm/mach-lpc32xx/timer.c+14 -260 replies
10/18ARM/mmp/time: Migrate to new 'set-state' interfacearch/arm/mach-mmp/time.c+11 -180 replies
11/18ARM/netx/time: Migrate to new 'set-state' interfacearch/arm/mach-netx/time.c+32 -290 replies
12/18ARM/omap1/time: Migrate to new 'set-state' interfacearch/arm/mach-omap1/time.c+16 -192 replies
13/18ARM/omap1/timer32: Migrate to new 'set-state' interfacearch/arm/mach-omap1/timer32k.c+16 -172 replies
14/18ARM/omap2/timer: Migrate to new 'set-state' interfacearch/arm/mach-omap2/timer.c+24 -242 replies
15/18ARM/SPEAr/time: Migrate to new 'set-state' interfacearch/arm/mach-spear/time.c+50 -390 replies
16/18ARM/w90x900/time: Migrate to new 'set-state' interfacearch/arm/mach-w90x900/time.c+28 -230 replies
17/18ARM/iop/time: Migrate to new 'set-state' interfacearch/arm/plat-iop/time.c+43 -270 replies
18/18ARM/orion/time: Migrate to new 'set-state' interfacearch/arm/plat-orion/time.c+48 -450 replies

Reviews trailers per patch

7 of 18 patches have a Reviewed-by or Acked-by.

PatchSantosh ShilimkarHans Ulli KrollGreg UngererTony LindgrenKrzysztof Ha?asa
1/18
2/18A-b
3/18
4/18
5/18A-b
6/18
7/18A-b
8/18A-b
9/18
10/18
11/18
12/18A-b A-b
13/18A-b A-b
14/18A-b A-b
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/18] ARM: Migrate clockevent drivers to 'set-state'

Hi Guys,

This series migrates ARM clockevent drivers (present in arch/arm/ directory), to the new set-state interface. This would enable these drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent device (if required), as the set-mode interface is marked obsolete now and wouldn't be expanded to handle new states.

Rebased over: v4.2-rc1

Following patches:
ARM/ks8695/time: Migrate to new 'set-state' interface ARM/omap1/time: Migrate to new 'set-state' interface

must be integrated to mainline kernel via clockevents tree, because of dependency on:
352370adb058 ("clockevents: Allow set-state callbacks to be optional")

Other patches don't have this dependency and so can be pushed via platform specific trees if Maintainers want it that way.

This has been build/boot tested by two bots on various platforms for few days now:

- kernelci, http://kernelci.org/
- 0-DAY kernel test infrastructure, kbuild test robot

Cc Andrew Lunn <[email protected]>
Cc Eric Miao <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Greg Ungerer <[email protected]>
Cc Hans Ulli Kroll <[email protected]>
Cc Haojian Zhuang <[email protected]>
Cc Imre Kaloz <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc Krzysztof Halasa <[email protected]>
Cc Roland Stigge <[email protected]>
Cc Santosh Shilimkar <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Sekhar Nori <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Shiraz Hashim <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Wan ZongShun <[email protected]>

Viresh Kumar (18):
ARM/smp_twd: Migrate to new 'set-state' interface ARM/cns3xxx/timer: Migrate to new 'set-state' interface ARM/davinci/time: Migrate to new 'set-state' interface ARM/dc21285-timer: Migrate to new 'set-state' interface ARM/gemini/time: Migrate to new 'set-state' interface ARM/imx/epit: Migrate to new 'set-state' interface ARM/ixp4xx/timer: Migrate to new 'set-state' interface ARM/ks8695/time: Migrate to new 'set-state' interface ARM/lpc32xx/timer: Migrate to new 'set-state' interface ARM/mmp/time: Migrate to new 'set-state' interface ARM/netx/time: Migrate to new 'set-state' interface ARM/omap1/time: Migrate to new 'set-state' interface ARM/omap1/timer32: Migrate to new 'set-state' interface ARM/omap2/timer: Migrate to new 'set-state' interface ARM/SPEAr/time: Migrate to new 'set-state' interface ARM/w90x900/time: Migrate to new 'set-state' interface ARM/iop/time: Migrate to new 'set-state' interface ARM/orion/time: Migrate to new 'set-state' interface

 arch/arm/kernel/smp_twd.c                | 48 +++++++++--------
 arch/arm/mach-cns3xxx/core.c             | 55 ++++++++++---------
 arch/arm/mach-davinci/time.c             | 54 ++++++++++---------
 arch/arm/mach-footbridge/dc21285-timer.c | 48 ++++++++---------
 arch/arm/mach-gemini/time.c              | 69 ++++++++++++------------
 arch/arm/mach-imx/epit.c                 | 67 ++++++++++++-----------
 arch/arm/mach-ixp4xx/common.c            | 68 +++++++++++++----------
 arch/arm/mach-ks8695/time.c              | 43 ++++++++-------
 arch/arm/mach-lpc32xx/timer.c            | 40 +++++---------
 arch/arm/mach-mmp/time.c                 | 29 ++++------
 arch/arm/mach-netx/time.c                | 61 +++++++++++----------
 arch/arm/mach-omap1/time.c               | 35 ++++++------
 arch/arm/mach-omap1/timer32k.c           | 33 ++++++------
 arch/arm/mach-omap2/timer.c              | 48 ++++++++---------
 arch/arm/mach-spear/time.c               | 89 ++++++++++++++++--------------
 arch/arm/mach-w90x900/time.c             | 51 ++++++++++--------
 arch/arm/plat-iop/time.c                 | 70 ++++++++++++++----------
 arch/arm/plat-orion/time.c               | 93 ++++++++++++++++----------------
 18 files changed, 522 insertions(+), 479 deletions(-)
Signature · 1 line
2.4.0