From: Pierre Morel Date: Fri, 26 Apr 2019 09:00:01 +0000 (+0200) Subject: KVM: s390: vsie: Return correct values for Invalid CRYCB format X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b2d0371d2e374facd45e115d3668086df13730ff;p=openwrt%2Fstaging%2Fblogic.git KVM: s390: vsie: Return correct values for Invalid CRYCB format Let's use the correct validity number. Fixes: 56019f9aca22 ("KVM: s390: vsie: Allow CRYCB FORMAT-2") Signed-off-by: Pierre Morel Reviewed-by: Christian Borntraeger Message-Id: <1556269201-22918-1-git-send-email-pmorel@linux.ibm.com> Acked-by: David Hildenbrand Signed-off-by: Christian Borntraeger --- diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index ac411e9e2bd3..076090f9e666 100644 --- a/arch/s390/kvm/vsie.c +++ b/arch/s390/kvm/vsie.c @@ -344,7 +344,7 @@ static int shadow_crycb(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) end: switch (ret) { case -EINVAL: - return set_validity_icpt(scb_s, 0x0020U); + return set_validity_icpt(scb_s, 0x0022U); case -EFAULT: return set_validity_icpt(scb_s, 0x0035U); case -EACCES: