From: Christian Borntraeger Date: Thu, 30 Apr 2015 11:43:30 +0000 (+0200) Subject: KVM: provide irq_unsafe kvm_guest_{enter|exit} X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0097d12e504b3ce57b68810737ad6a5a64a98c68;p=pandora-kernel.git KVM: provide irq_unsafe kvm_guest_{enter|exit} Several kvm architectures disable interrupts before kvm_guest_enter. kvm_guest_enter then uses local_irq_save/restore to disable interrupts again or for the first time. Lets provide underscore versions of kvm_guest_{enter|exit} that assume being called locked. kvm_guest_enter now disables interrupts for the full function and thus we can remove the check for preemptible. This patch then adopts s390/kvm to use local_irq_disable/enable calls which are slighty cheaper that local_irq_save/restore and call these new functions. Signed-off-by: Christian Borntraeger Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed