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-Tag: v5.15~6315^2~45^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2d0371d2e374facd45e115d3668086df13730ff;p=platform%2Fkernel%2Flinux-starfive.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 ac411e9..076090f 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: