From: Christian Borntraeger Date: Thu, 9 Apr 2015 11:49:04 +0000 (+0200) Subject: KVM: s390: make exit_sie_sync more robust X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~84^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e23654687c97df1c0e4b1def245a05001eaf640;p=pandora-kernel.git KVM: s390: make exit_sie_sync more robust exit_sie_sync is used to kick CPUs out of SIE and prevent reentering at any point in time. This is used to reload the prefix pages and to set the IBS stuff in a way that guarantees that after this function returns we are no longer in SIE. All current users trigger KVM requests. The request must be set before we block the CPUs to avoid races. Let's make this implicit by adding the request into a new function kvm_s390_sync_requests that replaces exit_sie_sync and split out s390_vcpu_block and s390_vcpu_unblock, that can be used to keep CPUs out of SIE independent of requests. Signed-off-by: Christian Borntraeger Reviewed-by: David Hildenbrand Reviewed-by: Cornelia Huck --- Reading git-diff-tree failed