Revision e8129c642155616d9e2160a75f103e127c8c3708 authored by Heiko Carstens on 25 November 2010, 08:52:45 UTC, committed by Martin Schwidefsky on 25 November 2010, 08:52:59 UTC
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>
1 parent 698fd6a
History
File Mode Size
9p
adfs
affs
afs
autofs4
befs
bfs
btrfs
cachefiles
ceph
cifs
coda
configfs
cramfs
debugfs
devpts
dlm
ecryptfs
efs
exofs
exportfs
ext2
ext3
ext4
fat
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jbd2
jffs2
jfs
lockd
logfs
minix
ncpfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
partitions
proc
qnx4
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv
ubifs
udf
ufs
xfs
Kconfig -rw-r--r-- 5.3 KB
Kconfig.binfmt -rw-r--r-- 6.4 KB
Makefile -rw-r--r-- 4.0 KB
aio.c -rw-r--r-- 46.9 KB
anon_inodes.c -rw-r--r-- 6.4 KB
attr.c -rw-r--r-- 6.6 KB
bad_inode.c -rw-r--r-- 7.7 KB
binfmt_aout.c -rw-r--r-- 12.4 KB
binfmt_elf.c -rw-r--r-- 53.7 KB
binfmt_elf_fdpic.c -rw-r--r-- 48.7 KB
binfmt_em86.c -rw-r--r-- 2.8 KB
binfmt_flat.c -rw-r--r-- 26.8 KB
binfmt_misc.c -rw-r--r-- 15.2 KB
binfmt_script.c -rw-r--r-- 2.8 KB
binfmt_som.c -rw-r--r-- 7.4 KB
bio-integrity.c -rw-r--r-- 21.0 KB
bio.c -rw-r--r-- 39.5 KB
block_dev.c -rw-r--r-- 42.9 KB
buffer.c -rw-r--r-- 87.1 KB
char_dev.c -rw-r--r-- 14.0 KB
compat.c -rw-r--r-- 55.6 KB
compat_binfmt_elf.c -rw-r--r-- 3.5 KB
compat_ioctl.c -rw-r--r-- 45.8 KB
dcache.c -rw-r--r-- 62.2 KB
dcookies.c -rw-r--r-- 6.8 KB
direct-io.c -rw-r--r-- 35.0 KB
drop_caches.c -rw-r--r-- 1.3 KB
eventfd.c -rw-r--r-- 11.0 KB
eventpoll.c -rw-r--r-- 38.8 KB
exec.c -rw-r--r-- 48.0 KB
fcntl.c -rw-r--r-- 18.3 KB
fifo.c -rw-r--r-- 3.2 KB
file.c -rw-r--r-- 11.7 KB
file_table.c -rw-r--r-- 12.1 KB
filesystems.c -rw-r--r-- 6.3 KB
fs-writeback.c -rw-r--r-- 32.6 KB
fs_struct.c -rw-r--r-- 3.2 KB
generic_acl.c -rw-r--r-- 4.5 KB
inode.c -rw-r--r-- 44.0 KB
internal.h -rw-r--r-- 2.5 KB
ioctl.c -rw-r--r-- 15.7 KB
ioprio.c -rw-r--r-- 5.4 KB
libfs.c -rw-r--r-- 24.8 KB
locks.c -rw-r--r-- 58.6 KB
mbcache.c -rw-r--r-- 16.6 KB
mpage.c -rw-r--r-- 20.0 KB
namei.c -rw-r--r-- 70.4 KB
namespace.c -rw-r--r-- 59.1 KB
nfsctl.c -rw-r--r-- 2.4 KB
no-block.c -rw-r--r-- 688 bytes
open.c -rw-r--r-- 23.7 KB
pipe.c -rw-r--r-- 27.8 KB
pnode.c -rw-r--r-- 9.3 KB
pnode.h -rw-r--r-- 1.1 KB
posix_acl.c -rw-r--r-- 8.4 KB
read_write.c -rw-r--r-- 21.0 KB
read_write.h -rw-r--r-- 542 bytes
readdir.c -rw-r--r-- 6.9 KB
select.c -rw-r--r-- 24.2 KB
seq_file.c -rw-r--r-- 17.8 KB
signalfd.c -rw-r--r-- 7.5 KB
splice.c -rw-r--r-- 47.2 KB
stack.c -rw-r--r-- 2.7 KB
stat.c -rw-r--r-- 10.5 KB
statfs.c -rw-r--r-- 5.2 KB
super.c -rw-r--r-- 26.7 KB
sync.c -rw-r--r-- 9.9 KB
timerfd.c -rw-r--r-- 6.5 KB
utimes.c -rw-r--r-- 5.6 KB
xattr.c -rw-r--r-- 15.6 KB
xattr_acl.c -rw-r--r-- 2.3 KB

back to top