linux/arch/s390/kvm
Christian Borntraeger 83987ace22 s390/kvm: Fix BUG in include/linux/kvm_host.h:745
commit b080935c86
    kvm: Directly account vtime to system on guest switch

also removed the irq_disable/enable around kvm guest switch, which
is correct in itself. Unfortunately, there is a BUG ON that (correctly)
checks for preemptible to cover the call to rcu later on.
(Introduced with commit 8fa2206821
    KVM: make guest mode entry to be rcu quiescent state)

This check might trigger depending on the kernel config.
Lets make sure that no preemption happens during kvm_guest_enter.
We can enable preemption again after the call to
rcu_virt_note_context_switch returns.

Please note that we continue to run s390 guests with interrupts
enabled.

Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
CC: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2013-01-10 17:53:40 -02:00
..
diag.c KVM: s390: Add implementation-specific trace events 2012-07-26 14:04:35 +03:00
gaccess.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
intercept.c KVM: s390: Add implementation-specific trace events 2012-07-26 14:04:35 +03:00
interrupt.c s390/kvm: Interrupt injection bugfix 2012-10-10 19:03:37 -03:00
Kconfig KVM updates for the 3.7 merge window 2012-10-04 09:30:33 -07:00
kvm-s390.c s390/kvm: Fix BUG in include/linux/kvm_host.h:745 2013-01-10 17:53:40 -02:00
kvm-s390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
priv.c KVM updates for the 3.7 merge window 2012-10-04 09:30:33 -07:00
sigp.c KVM: s390: Add architectural trace events 2012-07-26 14:04:34 +03:00
trace-s390.h KVM: s390: Add implementation-specific trace events 2012-07-26 14:04:35 +03:00
trace.h KVM: s390: Add architectural trace events 2012-07-26 14:04:34 +03:00