Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3803657rdg; Wed, 18 Oct 2023 06:39:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/pfWJ69tA1/1+n9mW8P+X8U7ZbX6XB74piaVBsdlhK5U1HFuQIv38bnIMCvYeaMkhvc9z X-Received: by 2002:a05:6830:2641:b0:6b9:bd9d:e333 with SMTP id f1-20020a056830264100b006b9bd9de333mr6966137otu.3.1697636347263; Wed, 18 Oct 2023 06:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697636347; cv=none; d=google.com; s=arc-20160816; b=vMMQVDphh6aqYFkQpbwdm1bnEb1ZjTbvNr27M05xX3i57pv+CWnfGYaNT2i+15MZAV Z2BxuAGjbL5HYGSBUoMLJ46P+auKOsEi/9W5V7+in/M58PZuQxGywws+yzh1YUBaFuio 1MMBjbAA/ZCpGJGOjcuo1PBioMPj53TX+Nlx2a97ffUOOUiKK6tNqCQ5S9J8fRgjNwCm kop90H8rdZZhnXk3dA5TWWEruwMj+4GlhCBIzHdNq9sZ/iiALTRu4xP1qBhWYfHx9aHq trYoizsO5u1D8LvEtdoece0yteIovIT+xSpiDY8/Oaw/If8QwlJm3bq3ssOc8qKFGtvM RaTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yTe4txQ00IJpYvI/FnmR/a1c+Hzf7HhDQivEbN/WE+4=; fh=opUkug60FExRexR47It356o76CORjkQ1ORnmJqIio3o=; b=iKE6DNpNYxNoqy3ooVWP0ddv7Vf15zTfl46cBihIcJvOpSsYnP9uhy8Vfd4sxbYOEu FvxA9KYhDZ7YlTpuoKSUgGP7cb1M0LaPGkc4g4FXS8pMWJPg1v+o9IJtQQ+Sp4DURoxD +rbe6YVgqRkagIIkyHveeHjwoyJGAhhJreUzfSOIVHvyvLLOPg2/D73wfONjTTFXsG15 DUpOmuLWcmvKejzUQUJvCNmjjjiqKtVxBV6nzHZBhFfLQ/JfCOudV6e0FGMKvMn+DFgG wIh28zgllV749EnW0Hiihnu1+DTSw/3xwQ79wrichr9fxCevx/ccIe3PfemCsgceTIlX kx7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NPi41btQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b62-20020a62cf41000000b006b18ecd03dasi3809581pfg.264.2023.10.18.06.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 06:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NPi41btQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 874C38042380; Wed, 18 Oct 2023 06:39:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231697AbjJRNiw (ORCPT + 99 others); Wed, 18 Oct 2023 09:38:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231549AbjJRNit (ORCPT ); Wed, 18 Oct 2023 09:38:49 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C811FEA; Wed, 18 Oct 2023 06:38:47 -0700 (PDT) Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39IDRFJC003211; Wed, 18 Oct 2023 13:38:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=yTe4txQ00IJpYvI/FnmR/a1c+Hzf7HhDQivEbN/WE+4=; b=NPi41btQWe5Ls3Oskp95wgaE50lk6mxGX0RVzQOyYaZevVN4Zs/XP0qj8Tp6J9juKbSO ya+mxDT9TsRh3MAH58oN1xb9ZZfdGZLZ8L675FmGCQXbRDwderWJ3rDAFFKG91bTiy53 3kywRnI7gtXUhfuc+WZpuM7xE1PdWkz+22twMHRDOsi4ER5xXPVjOh70D7AOxpDJr6f0 hlUbuFfcU0UokVDv3GBYKIP2Ov8O9jtj2FDBfT/APdiaigCaMylRdjYshc+iEokBKejW VghkrhoDsFWPOWgPuSO3xJk6zDXMdtp0YW7bjpuAxjOxFWTHB8Fx/Y/H8JgwBnUxP0xn 7Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ttg8v0mrs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2023 13:38:47 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39IDSS2u011530; Wed, 18 Oct 2023 13:38:42 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ttg8v0mcq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2023 13:38:42 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 39IBkUcF026870; Wed, 18 Oct 2023 13:38:32 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tr5ash1yx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2023 13:38:32 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39IDcV0Z24052426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2023 13:38:31 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5E93758052; Wed, 18 Oct 2023 13:38:31 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 507DF58045; Wed, 18 Oct 2023 13:38:30 +0000 (GMT) Received: from li-2c1e724c-2c76-11b2-a85c-ae42eaf3cb3d.ibm.com.com (unknown [9.61.47.87]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Wed, 18 Oct 2023 13:38:30 +0000 (GMT) From: Tony Krowiak To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: jjherne@linux.ibm.com, pasic@linux.ibm.com, borntraeger@linux.ibm.com, frankja@linux.ibm.com, imbrenda@linux.ibm.com, david@redhat.com Subject: [PATCH v2 0/3] a couple of corrections to the IRQ enablement function Date: Wed, 18 Oct 2023 09:38:22 -0400 Message-ID: <20231018133829.147226-1-akrowiak@linux.ibm.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: GqTUdrKVUEvn3E0Q82OU7N7gRo1qhCoS X-Proofpoint-GUID: Mi57UNRh19FmPeu1Irl-rH6p8lKNYHlz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-18_12,2023-10-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 phishscore=0 mlxscore=0 malwarescore=0 clxscore=1011 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310180113 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 06:39:04 -0700 (PDT) This series corrects two issues related to enablement of interrupts in response to interception of the PQAP(AQIC) command: 1. Returning a status response code 06 (Invalid address of AP-queue notification byte) when the call to register a guest ISC fails makes no sense. 2. The pages containing the interrupt notification-indicator byte are not freed after a failure to register the guest ISC fails. Anthony Krowiak (2): s390/vfio-ap: unpin pages on gisc registration failure s390/vfio-ap: set status response code to 06 on gisc registration failure Tony Krowiak (1): s390/vfio-ap: improve reaction to response code 07 from PQAP(AQIC) command drivers/s390/crypto/vfio_ap_ops.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- 2.41.0