linux/arch/s390/kernel
Christian Borntraeger 480e5926ce [S390] kvm: fix address mode switching
598841ca99 ([S390] use gmap address
spaces for kvm guest images) changed kvm to use a separate address
space for kvm guests. This address space was switched in __vcpu_run
In some cases (preemption, page fault) there is the possibility that
this address space switch is lost.
The typical symptom was a huge amount of validity intercepts or
random guest addressing exceptions.
Fix this by doing the switch in sie_loop and sie_exit and saving the
address space in the gmap structure itself. Also use the preempt
notifier.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2011-09-20 17:07:34 +02:00
..
vdso32
vdso64
asm-offsets.c [S390] kvm: fix address mode switching 2011-09-20 17:07:34 +02:00
audit.c
audit.h
base.S [S390] Use diagnose 308 for system reset 2011-08-03 16:44:19 +02:00
bitmap.c
compat_audit.c
compat_exec_domain.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c [S390] signal: convert to use set_current_blocked() 2011-08-03 16:44:20 +02:00
compat_wrapper.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
cpcmd.c
crash.c
debug.c
diag.c
dis.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
early.c [S390] nss,initrd: kernel image and initrd must be in different segments 2011-08-24 17:15:23 +02:00
ebcdic.c
entry64.S [S390] kvm: fix address mode switching 2011-09-20 17:07:34 +02:00
entry.h [S390] cleanup program check handler prototypes 2011-07-24 10:48:21 +02:00
entry.S [S390] Add PSW restart shutdown trigger 2011-08-03 16:44:19 +02:00
ftrace.c
head31.S [S390] iucv cr0 enablement bit 2011-07-24 10:48:22 +02:00
head64.S [S390] initial cr0 bits 2011-07-24 10:48:22 +02:00
head.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
init_task.c
ipl.c [S390] Change default action from reipl to stop for on_restart 2011-08-24 17:15:24 +02:00
irq.c [S390] race safe external interrupt registration 2011-07-24 10:48:22 +02:00
jump_label.c
kprobes.c
machine_kexec.c
Makefile [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
mcount64.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
mcount.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
mem_detect.c
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
nmi.c
process.c
processor.c
ptrace.c
reipl64.S [S390] Export store_status() function 2011-08-03 16:44:19 +02:00
reipl.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
relocate_kernel64.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
relocate_kernel.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
s390_ksyms.c [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
sclp.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
setup.c [S390] Add support for IBM zEnterprise 114 2011-08-03 16:44:20 +02:00
signal.c [S390] signal: use set_restore_sigmask() helper 2011-08-03 16:44:21 +02:00
smp.c [S390] smp: remove pointless comments in startup_secondary() 2011-08-03 16:44:21 +02:00
stacktrace.c
suspend.c
switch_cpu64.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
switch_cpu.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
swsusp_asm64.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
sys_s390.c
syscalls.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
sysinfo.c
time.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
topology.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
traps.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
vdso.c
vmlinux.lds.S
vtime.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00