Skip to content

Commit 1b044f1

Browse files
committed
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer updates from Thomas Gleixner: "A rather large update for timers/timekeeping: - compat syscall consolidation (Al Viro) - Posix timer consolidation (Christoph Helwig / Thomas Gleixner) - Cleanup of the device tree based initialization for clockevents and clocksources (Daniel Lezcano) - Consolidation of the FTTMR010 clocksource/event driver (Linus Walleij) - The usual set of small fixes and updates all over the place" * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (93 commits) timers: Make the cpu base lock raw clocksource/drivers/mips-gic-timer: Fix an error code in 'gic_clocksource_of_init()' clocksource/drivers/fsl_ftm_timer: Unmap region obtained by of_iomap clocksource/drivers/tcb_clksrc: Make IO endian agnostic clocksource/drivers/sun4i: Switch to the timer-of common init clocksource/drivers/timer-of: Fix invalid iomap check Revert "ktime: Simplify ktime_compare implementation" clocksource/drivers: Fix uninitialized variable use in timer_of_init kselftests: timers: Add test for frequency step kselftests: timers: Fix inconsistency-check to not ignore first timestamp time: Add warning about imminent deprecation of CONFIG_GENERIC_TIME_VSYSCALL_OLD time: Clean up CLOCK_MONOTONIC_RAW time handling posix-cpu-timers: Make timespec to nsec conversion safe itimer: Make timeval to nsec conversion range limited timers: Fix parameter description of try_to_del_timer_sync() ktime: Simplify ktime_compare implementation clocksource/drivers/fttmr010: Factor out clock read code clocksource/drivers/fttmr010: Implement delay timer clocksource/drivers: Add timer-of common init routine clocksource/drivers/tcb_clksrc: Save timer context on suspend/resume ...
2 parents e0f3e8f + 2287d86 commit 1b044f1

175 files changed

Lines changed: 2498 additions & 3166 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/timer/faraday,fttmr010.txt‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ Required properties:
77

88
- compatible : Must be one of
99
"faraday,fttmr010"
10-
"cortina,gemini-timer"
10+
"cortina,gemini-timer", "faraday,fttmr010"
11+
"moxa,moxart-timer", "faraday,fttmr010"
12+
"aspeed,ast2400-timer"
13+
"aspeed,ast2500-timer"
14+
1115
- reg : Should contain registers location and length
1216
- interrupts : Should contain the three timer interrupts usually with
1317
flags for falling edge

‎Documentation/devicetree/bindings/timer/moxa,moxart-timer.txt‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎arch/arc/include/asm/Kbuild‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ generic-y += preempt.h
3636
generic-y += resource.h
3737
generic-y += sembuf.h
3838
generic-y += shmbuf.h
39-
generic-y += siginfo.h
4039
generic-y += socket.h
4140
generic-y += sockios.h
4241
generic-y += stat.h

‎arch/arc/include/uapi/asm/Kbuild‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# UAPI Header export list
22
include include/uapi/asm-generic/Kbuild.asm
3+
4+
generic-y += siginfo.h

‎arch/arc/kernel/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ void __init setup_arch(char **cmdline_p)
470470
void __init time_init(void)
471471
{
472472
of_clk_init(NULL);
473-
clocksource_probe();
473+
timer_probe();
474474
}
475475

476476
static int __init customize_machine(void)

‎arch/arm/Kconfig‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ config ARCH_MULTIPLATFORM
337337
select ARM_HAS_SG_CHAIN
338338
select ARM_PATCH_PHYS_VIRT
339339
select AUTO_ZRELADDR
340-
select CLKSRC_OF
340+
select TIMER_OF
341341
select COMMON_CLK
342342
select GENERIC_CLOCKEVENTS
343343
select MIGHT_HAVE_PCI
@@ -351,7 +351,7 @@ config ARM_SINGLE_ARMV7M
351351
depends on !MMU
352352
select ARM_NVIC
353353
select AUTO_ZRELADDR
354-
select CLKSRC_OF
354+
select TIMER_OF
355355
select COMMON_CLK
356356
select CPU_V7M
357357
select GENERIC_CLOCKEVENTS
@@ -532,7 +532,7 @@ config ARCH_PXA
532532
select CLKDEV_LOOKUP
533533
select CLKSRC_PXA
534534
select CLKSRC_MMIO
535-
select CLKSRC_OF
535+
select TIMER_OF
536536
select CPU_XSCALE if !CPU_XSC3
537537
select GENERIC_CLOCKEVENTS
538538
select GPIO_PXA
@@ -571,7 +571,7 @@ config ARCH_SA1100
571571
select CLKDEV_LOOKUP
572572
select CLKSRC_MMIO
573573
select CLKSRC_PXA
574-
select CLKSRC_OF if OF
574+
select TIMER_OF if OF
575575
select CPU_FREQ
576576
select CPU_SA1100
577577
select GENERIC_CLOCKEVENTS
@@ -1357,7 +1357,7 @@ config HAVE_ARM_ARCH_TIMER
13571357

13581358
config HAVE_ARM_TWD
13591359
bool
1360-
select CLKSRC_OF if OF
1360+
select TIMER_OF if OF
13611361
help
13621362
This options enables support for the ARM timer and watchdog unit
13631363

‎arch/arm/boot/dts/aspeed-g4.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,7 @@
893893
//interrupts = <16 17 18 35 36 37 38 39>;
894894
interrupts = <16>;
895895
clocks = <&clk_apb>;
896+
clock-names = "PCLK";
896897
};
897898

898899
wdt1: wdt@1e785000 {

‎arch/arm/boot/dts/aspeed-g5.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@
10001000
//interrupts = <16 17 18 35 36 37 38 39>;
10011001
interrupts = <16>;
10021002
clocks = <&clk_apb>;
1003+
clock-names = "PCLK";
10031004
};
10041005

10051006

‎arch/arm/include/asm/Kbuild‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ generic-y += segment.h
2828
generic-y += sembuf.h
2929
generic-y += serial.h
3030
generic-y += shmbuf.h
31-
generic-y += siginfo.h
3231
generic-y += simd.h
3332
generic-y += sizes.h
3433
generic-y += socket.h

‎arch/arm/include/uapi/asm/Kbuild‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ include include/uapi/asm-generic/Kbuild.asm
44
genhdr-y += unistd-common.h
55
genhdr-y += unistd-oabi.h
66
genhdr-y += unistd-eabi.h
7+
8+
generic-y += siginfo.h

0 commit comments

Comments
 (0)