Home
last modified time | relevance | path

Searched hist:a44c1d700c848e221d80aab1029d36a60d21a0f4 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/mach-rpc/
H A Dtime.cdiff a44c1d700c848e221d80aab1029d36a60d21a0f4 Wed Nov 14 20:13:02 CET 2018 Russell King <rmk+kernel@armlinux.org.uk> ARM: riscpc: replace gettimeoffset() with clocksource

Replace the old gettimeoffset() interface (which became buggy in
several ways) with a clocksource that atomically reads the count
and status from the timer, and corrects the count as appropriate
ensuring proper resolution of time without time warping backwards.

We keep the original periodic timer non-clock event implementation
to provide the kernel with a regular source of interrupts, which
are required to keep the clocksource properly updated.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
/linux/arch/arm/
H A DKconfigdiff a44c1d700c848e221d80aab1029d36a60d21a0f4 Wed Nov 14 20:13:02 CET 2018 Russell King <rmk+kernel@armlinux.org.uk> ARM: riscpc: replace gettimeoffset() with clocksource

Replace the old gettimeoffset() interface (which became buggy in
several ways) with a clocksource that atomically reads the count
and status from the timer, and corrects the count as appropriate
ensuring proper resolution of time without time warping backwards.

We keep the original periodic timer non-clock event implementation
to provide the kernel with a regular source of interrupts, which
are required to keep the clocksource properly updated.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>