android_kernel_samsung_msm8976/arch/s390/kernel
Heiko Carstens e8129c6421 [S390] nmi: fix clock comparator revalidation
On each machine check all registers are revalidated. The save area for
the clock comparator however only contains the upper most seven bytes
of the former contents, if valid.
Therefore the machine check handler uses a store clock instruction to
get the current time and writes that to the clock comparator register
which in turn will generate an immediate timer interrupt.
However within the lowcore the expected time of the next timer
interrupt is stored. If the interrupt happens before that time the
handler won't be called. In turn the clock comparator won't be
reprogrammed and therefore the interrupt condition stays pending which
causes an interrupt loop until the expected time is reached.

On NOHZ machines this can result in unresponsive machines since the
time of the next expected interrupted can be a couple of days in the
future.

To fix this just revalidate the clock comparator register with the
expected value.
In addition the special handling for udelay must be changed as well.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-11-25 09:52:59 +01:00
..
vdso32 [S390] vdso: get rid of redefinition warnings 2010-10-29 16:50:50 +02:00
vdso64 [S390] vdso: get rid of redefinition warnings 2010-10-29 16:50:50 +02:00
asm-offsets.c [S390] vdso: get rid of redefinition warnings 2010-10-29 16:50:50 +02:00
audit.c
audit.h
base.S
bitmap.c
compat_audit.c
compat_exec_domain.c
compat_linux.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
compat_linux.h Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
compat_ptrace.h [S390] remove ieee_instruction_pointer from thread_struct 2010-10-25 16:10:20 +02:00
compat_signal.c
compat_wrapper.S [S390] wire up prlimit64 and fanotify* syscalls 2010-08-13 10:06:54 +02:00
cpcmd.c
crash.c
debug.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
diag.c
dis.c [S390] add z196 instructions to kernel disassembler 2010-10-25 16:10:15 +02:00
early.c [S390] facility detection: remove unused variable 2010-10-29 16:50:50 +02:00
ebcdic.c
entry.h [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
entry.S [S390] fix kprobes single stepping 2010-10-29 16:50:50 +02:00
entry64.S [S390] fix kprobes single stepping 2010-10-29 16:50:50 +02:00
ftrace.c
head.S [S390] Add config option for z196 code generation. 2010-10-25 16:10:15 +02:00
head31.S [S390] correct address of _stext with CONFIG_SHARED_KERNEL=y 2010-05-12 09:32:26 +02:00
head64.S [S390] correct address of _stext with CONFIG_SHARED_KERNEL=y 2010-05-12 09:32:26 +02:00
init_task.c
ipl.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
irq.c
kprobes.c [S390] kprobes: Fix the return address of multiple kretprobes 2010-11-10 10:05:54 +01:00
machine_kexec.c
Makefile
mcount.S
mcount64.S
mem_detect.c Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
module.c modules: Fix module_bug_list list corruption race 2010-10-05 11:29:27 -07:00
nmi.c [S390] nmi: fix clock comparator revalidation 2010-11-25 09:52:59 +01:00
process.c [S390] cpu hotplug/idle: move cpu_die call to enabled context 2010-10-25 16:10:15 +02:00
processor.c [S390] smp: use correct cpu address in print_cpu_info() 2010-10-25 16:10:20 +02:00
ptrace.c ptrace: change signature of arch_ptrace() 2010-10-27 18:03:10 -07:00
reipl.S
reipl64.S
relocate_kernel.S
relocate_kernel64.S
s390_ext.c [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
s390_ksyms.c
sclp.S
setup.c [S390] Add z196 machine type to setup_hwcaps 2010-10-29 16:50:49 +02:00
signal.c [S390] add breaking event address for user space 2010-05-17 10:00:15 +02:00
smp.c [S390] cleanup facility list handling 2010-10-25 16:10:21 +02:00
stacktrace.c
suspend.c
switch_cpu.S
switch_cpu64.S
swsusp_asm64.S Merge branch 'for-35' of git://repo.or.cz/linux-kbuild 2010-06-01 08:55:52 -07:00
sys_s390.c [S390] sys_personality: follow u_long to unsigned int conversion 2010-08-13 10:06:54 +02:00
syscalls.S [S390] wire up prlimit64 and fanotify* syscalls 2010-08-13 10:06:54 +02:00
sysinfo.c [S390] topology: add SCHED_MC config option 2010-10-29 16:50:49 +02:00
time.c [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
topology.c [S390] topology: fix cpu masks for topology=off case 2010-10-29 16:50:50 +02:00
traps.c [S390] remove ieee_instruction_pointer from thread_struct 2010-10-25 16:10:20 +02:00
vdso.c [S390] cleanup facility list handling 2010-10-25 16:10:21 +02:00
vmlinux.lds.S
vtime.c [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00