Hi Guys, This series migrates MIPS clockevent drivers (present in arch/mips/ 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: MIPS/alchemy/time: Migrate to new 'set-state' interface MIPS/jazz/timer: Migrate to new 'set-state' interface MIPS/cevt-r4k: Migrate to new 'set-state' interface MIPS/sgi-ip27/timer: Migrate to new 'set-state' interface MIPS/sni/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 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, not sure if we had a good coverage for MIPS though: - kernelci, http://kernelci.org/ - 0-DAY kernel test infrastructure, kbuild test robot Cc: Andrew Bresticker <abrestic@xxxxxxxxxxxx> Cc: Deng-Cheng Zhu <dengcheng.zhu@xxxxxxxxxx> Cc: Hongliang Tao <taohl@xxxxxxxxxx> Cc: Huacai Chen <chenhc@xxxxxxxxxx> Cc: James Hogan <james.hogan@xxxxxxxxxx> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx> Cc: Kelvin Cheung <keguang.zhang@xxxxxxxxx> Cc: Leonid Yegoshin <Leonid.Yegoshin@xxxxxxxxxx> Cc: Manuel Lauss <manuel.lauss@xxxxxxxxx> Cc: Michael Opdenacker <michael.opdenacker@xxxxxxxxxxxxxxxxxx> Cc: Paul Burton <paul.burton@xxxxxxxxxx> Cc: Qais Yousef <qais.yousef@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Valentin Rothberg <valentinrothberg@xxxxxxxxx> Viresh Kumar (14): MIPS/alchemy/time: Migrate to new 'set-state' interface MIPS/jazz/timer: Migrate to new 'set-state' interface MIPS/jz4740/time: Migrate to new 'set-state' interface MIPS/cevt-bcm1480: Migrate to new 'set-state' interface MIPS/cevt-ds1287: Migrate to new 'set-state' interface MIPS/cevt-gt641xx: Migrate to new 'set-state' interface MIPS/cevt-r4k: Migrate to new 'set-state' interface MIPS/cevt-sb1250: Migrate to new 'set-state' interface MIPS/cevt-txx9: Migrate to new 'set-state' interface MIPS/loongson64/timer: Migrate to new 'set-state' interface MIPS/loongsoon32/time: Migrate to new 'set-state' interface MIPS/ralink/rt3352: Migrate to new 'set-state' interface MIPS/sgi-ip27/timer: Migrate to new 'set-state' interface MIPS/sni/time: Migrate to new 'set-state' interface arch/mips/alchemy/common/time.c | 6 -- arch/mips/include/asm/cevt-r4k.h | 1 - arch/mips/jazz/irq.c | 7 -- arch/mips/jz4740/time.c | 46 +++++---- arch/mips/kernel/cevt-bcm1480.c | 44 ++++---- arch/mips/kernel/cevt-ds1287.c | 37 ++++--- arch/mips/kernel/cevt-gt641xx.c | 57 +++++++---- arch/mips/kernel/cevt-r4k.c | 7 -- arch/mips/kernel/cevt-sb1250.c | 45 +++++---- arch/mips/kernel/cevt-txx9.c | 81 +++++++++------ arch/mips/loongson32/common/time.c | 57 ++++++----- arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c | 46 ++++----- arch/mips/loongson64/loongson-3/hpet.c | 116 +++++++++++++--------- arch/mips/ralink/cevt-rt3352.c | 59 +++++------ arch/mips/sgi-ip27/ip27-timer.c | 7 -- arch/mips/sni/time.c | 49 ++++----- 16 files changed, 359 insertions(+), 306 deletions(-) -- 2.4.0