Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp633067imm; Wed, 22 Aug 2018 09:54:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyoIgQ22ZpnkzM54mAHURbecjvk3BZ7E+/gYsygxg3Vl4tyESStq+iNKxIS2I+vniPZuGEU X-Received: by 2002:a62:5543:: with SMTP id j64-v6mr57990108pfb.188.1534956894153; Wed, 22 Aug 2018 09:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534956894; cv=none; d=google.com; s=arc-20160816; b=pU4rjlJFmMqc08Q/8VziQdSw7G5hl+aEQgQOJNp4krZUb/iFBqa9vVrFgAp9mjnb2m ScxInBLtDlp6Yl4i2da+GVyuYA3Y1bNnPgfQQClB1+QVsKkIVjybfy5XDcSUgcNK3Ptn Gu3KWiUqxLuzICBr7iL2FFOMaPyKyNKJigslxGNnw74VnRiJVAzzU73Q6IYbJoK8BozM +Y94N+4z2Lbg6jBYoxkU/uKdL2O3VLoB7LlUkKhAo9b0CuBCxmHBLMPP0R/11H0UwWJO A8NK1LXsdWB5MEVBi5ie7XJxc3/nR3W+BVIR+krNaW6eVEskEGzw5H1ntPeNJK4CsaYF wCnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=H1BaL+5Ux/bE+6sMUgNChCixEKX3BD+6c8g5hKsnZ8w=; b=iB/7LMFnE575D9AwNM3bhPd4enEnVWIZgf8OKqDnQlBy7MvyikNCi7+fsUfn1ecF4c 9ztRmoVkFv5r31vNeCa2tWKXYAsVP0528sV40YlTFDM1Bvfd2WH3kTFIHjyAWpSo2pdb +3e6P8LZ5N98uDG3AigSGPQ6CKAE4Lylxjk6UJo/XOdSQna6Y8fAlz+5YnhJdA2UR0dU /Tqgf0+T4gUMq77N8ifS5n2AwzC9IMbg6YEGkB/qDdhCQhv18irOhqM6IKgdbRu3bRRu s3FN1zGar2Dxe+AE+tFay1zclEEThalOfir7ErteRsRbyXB/2aQUtCfV551wxzOr+7cb FSqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13-v6si2299712pfc.118.2018.08.22.09.54.38; Wed, 22 Aug 2018 09:54:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727281AbeHVURm (ORCPT + 99 others); Wed, 22 Aug 2018 16:17:42 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:43680 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726852AbeHVURm (ORCPT ); Wed, 22 Aug 2018 16:17:42 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7MGmfYe111215 for ; Wed, 22 Aug 2018 12:52:04 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2m1avuaba6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Aug 2018 12:52:03 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Aug 2018 17:52:01 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 22 Aug 2018 17:51:59 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7MGpw9B37289984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Aug 2018 16:51:58 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F0BF0AE055; Wed, 22 Aug 2018 19:51:35 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D1D2AE045; Wed, 22 Aug 2018 19:51:35 +0100 (BST) Received: from morel-ThinkPad-W530.boeblingen.de.ibm.com (unknown [9.152.224.111]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 22 Aug 2018 19:51:35 +0100 (BST) From: Pierre Morel To: david@redhat.com Cc: linux-kernel@vger.kernel.org, cohuck@redhat.com, linux-s390@vger.kernel.org, kvm@vger.kernel.org, frankja@linux.ibm.com, akrowiak@linux.ibm.com, borntraeger@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Subject: [PATCH v2 0/5] KVM: s390: vsie: Consolidate CRYCB validation Date: Wed, 22 Aug 2018 18:51:52 +0200 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18082216-0020-0000-0000-000002BA42A9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18082216-0021-0000-0000-000021079A1D Message-Id: <1534956717-14087-1-git-send-email-pmorel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-22_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=546 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808220169 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before adapting the CRYCB shadowing for a guest supporting the AP instructions we want to clean the CRYCB shadowing code. Pierre Morel (5): KVM: s390: vsie: BUG correction by shadow_crycb KVM: s390: vsie: Only accept FORMAT1 CRYCB for guest2 KVM: s390: vsie: Allow support for a host without AP KVM: s390: vsie: Always test the crycbd for NULL KVM: s390: vsie: Do the CRYCB validation first arch/s390/kvm/vsie.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) -- 2.7.4 Changelog from v1 - split into severall small patches - insert the first cleaning patch ahead - add a new patch to allow a host not having AP instructions