You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Colin Cross
237ec6f2e5
ARM: 7486/1: sched_clock: update epoch_cyc on resume
...
Many clocks that are used to provide sched_clock will reset during
suspend. If read_sched_clock returns 0 after suspend, sched_clock will
appear to jump forward. This patch resets cd.epoch_cyc to the current
value of read_sched_clock during resume, which causes sched_clock() just
after suspend to return the same value as sched_clock() just before
suspend.
In addition, during the window where epoch_ns has been updated before
suspend, but epoch_cyc has not been updated after suspend, it is unknown
whether the clock has reset or not, and sched_clock() could return a
bogus value. Add a suspended flag, and return the pre-suspend epoch_ns
value during this period.
The new behavior is triggered by calling setup_sched_clock_needs_suspend
instead of setup_sched_clock.
Signed-off-by: Colin Cross <ccross@android.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 years ago
..
.gitignore
…
Makefile
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
13 years ago
arch_timer.c
Merge branches 'audit', 'delay', 'fixes', 'misc' and 'sta2x11' into for-linus
13 years ago
armksyms.c
Merge branches 'audit', 'delay', 'fixes', 'misc' and 'sta2x11' into for-linus
13 years ago
arthur.c
…
asm-offsets.c
…
atags.c
…
atags.h
…
bios32.c
Merge branch 'topic/sebastian-devinit-fixups' into next
13 years ago
calls.S
…
compat.c
…
compat.h
…
cpuidle.c
…
crash_dump.c
…
debug.S
…
devtree.c
…
dma-isa.c
…
dma.c
…
early_printk.c
…
elf.c
…
entry-armv.S
ARM: Fix undefined instruction exception handling
13 years ago
entry-common.S
ARM: 7475/1: sys_trace: allow all syscall arguments to be updated via ptrace
13 years ago
entry-header.S
…
etm.c
…
fiq.c
ARM: fiq: change FIQ_START to a variable
13 years ago
fiqasm.S
…
ftrace.c
ARM: 7468/1: ftrace: Trace function entry before updating index
13 years ago
head-common.S
…
head-nommu.S
…
head.S
ARM: 7439/1: head.S: simplify initial page table mapping
13 years ago
hw_breakpoint.c
…
insn.c
…
insn.h
…
io.c
…
irq.c
ARM: at91: aic can use fast eoi handler type
13 years ago
isa.c
…
iwmmxt.S
…
jump_label.c
…
kgdb.c
…
kprobes-arm.c
…
kprobes-common.c
…
kprobes-test-arm.c
ARM: 7440/1: kprobes: only test 'sub pc, pc, #1b-2b+8-2' on ARMv6
13 years ago
kprobes-test-thumb.c
…
kprobes-test.c
…
kprobes-test.h
…
kprobes-thumb.c
ARM: 7423/1: kprobes: run t32_simulate_ldr_literal() without insn slot
13 years ago
kprobes.c
…
kprobes.h
…
leds.c
…
machine_kexec.c
…
module.c
…
opcodes.c
…
patch.c
…
patch.h
…
perf_event.c
Merge branches 'audit', 'delay', 'fixes', 'misc' and 'sta2x11' into for-linus
13 years ago
perf_event_v6.c
ARM: 7448/1: perf: remove arm_perf_pmu_ids global enumeration
13 years ago
perf_event_v7.c
ARM: 7448/1: perf: remove arm_perf_pmu_ids global enumeration
13 years ago
perf_event_xscale.c
ARM: 7448/1: perf: remove arm_perf_pmu_ids global enumeration
13 years ago
pj4-cp0.c
…
pmu.c
…
process.c
ARM: 7466/1: disable interrupt before spinning endlessly
13 years ago
ptrace.c
ARM: 7474/1: get rid of TIF_SYSCALL_RESTARTSYS
13 years ago
relocate_kernel.S
…
return_address.c
…
sched_clock.c
ARM: 7486/1: sched_clock: update epoch_cyc on resume
13 years ago
setup.c
ARM: 7465/1: Handle >4GB memory sizes in device tree and mem=size@start option
13 years ago
signal.c
ARM: 7474/1: get rid of TIF_SYSCALL_RESTARTSYS
13 years ago
signal.h
ARM: 7471/1: Revert "7442/1: Revert "remove unused restart trampoline""
13 years ago
sleep.S
…
smp.c
ARM: 7480/1: only call smp_send_stop() on SMP
13 years ago
smp_scu.c
…
smp_tlb.c
…
smp_twd.c
…
stacktrace.c
…
suspend.c
…
swp_emulate.c
…
sys_arm.c
…
sys_oabi-compat.c
…
tcm.c
…
tcm.h
…
thumbee.c
…
time.c
…
topology.c
ARM: 7482/1: topology: fix section mismatch warning for init_cpu_topology
13 years ago
traps.c
Merge branch 'audit' of git://git.linaro.org/people/rmk/linux-arm
13 years ago
unwind.c
…
vmlinux.lds.S
ARM: 7428/1: Prevent KALLSYM size mismatch on ARM.
13 years ago
xscale-cp0.c
…