linux/arch/s390/mm
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
..
Makefile [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
cmm.c [S390] replace diag10() with diag10_range() function 2011-05-10 17:13:43 +02:00
extmem.c [S390] extmem: get rid of compile warning 2011-05-23 10:24:29 +02:00
fault.c [S390] kvm guest address space mapping 2011-07-24 10:48:21 +02:00
gup.c [S390] fix get_user_pages_fast 2010-11-10 10:05:53 +01:00
hugetlbpage.c [S390] kvm guest address space mapping 2011-07-24 10:48:21 +02:00
init.c [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
maccess.c [S390] Add PSW restart shutdown trigger 2011-08-03 16:44:19 +02:00
mmap.c [S390] Randomize mmap start address 2011-01-12 09:55:25 +01:00
page-states.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
pageattr.c [S390] refactor page table functions for better pgste support 2011-05-23 10:24:31 +02:00
pgtable.c [S390] kvm: fix address mode switching 2011-09-20 17:07:34 +02:00
vmem.c [S390] kvm guest address space mapping 2011-07-24 10:48:21 +02:00