linux/drivers/s390/cio
Martin Schwidefsky 6377981faf [S390] idle time accounting vs. machine checks
A machine check can interrupt the i/o and external interrupt handler
anytime. If the machine check occurs while the interrupt handler is
waking up from idle vtime_start_cpu can get executed a second time
and the int_clock / async_enter_timer values in the lowcore get
clobbered. This can confuse the cpu time accounting.
To fix this problem two changes are needed. First the machine check
handler has to use its own copies of int_clock and async_enter_timer,
named mcck_clock and mcck_enter_timer. Second the nested execution
of vtime_start_cpu has to be prevented. This is done in s390_idle_check
by checking the wait bit in the program status word.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-05-17 10:00:15 +02:00
..
airq.c
blacklist.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
blacklist.h
ccwgroup.c
ccwreq.c
chp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
chp.h
chsc_sch.c [S390] cio: use exception-save stsch 2010-04-22 17:17:19 +02:00
chsc_sch.h
chsc.c [S390] cio: allow enable_facility from outside init functions 2010-04-22 17:17:19 +02:00
chsc.h
cio_debug.h
cio.c [S390] idle time accounting vs. machine checks 2010-05-17 10:00:15 +02:00
cio.h
cmf.c
crw.c
css.c [S390] More cleanup for struct _lowcore 2010-05-17 10:00:15 +02:00
css.h
device_fsm.c [S390] cio: use exception-save stsch 2010-04-22 17:17:19 +02:00
device_id.c
device_ops.c
device_pgid.c
device_status.c
device.c
device.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.h
isc.c
itcw.c
Makefile
qdio_debug.c [S390] remove unused qdio flags in zfcp and qeth 2010-03-08 12:25:30 +01:00
qdio_debug.h
qdio_main.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qdio_setup.c
qdio_thinint.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qdio.h