From patchwork Wed Oct 18 13:38:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Krowiak X-Patchwork-Id: 15547 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4797567vqb; Wed, 18 Oct 2023 06:39:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3R3svb07yhz1JjTFNEayrXfX6ZTe4prw7fVw7SDHah9ufxQBtgxFXS+0Q/97Mcxaf1CNS X-Received: by 2002:a05:6830:6b0f:b0:6bf:5010:9d35 with SMTP id db15-20020a0568306b0f00b006bf50109d35mr7328784otb.3.1697636345937; Wed, 18 Oct 2023 06:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697636345; cv=none; d=google.com; s=arc-20160816; b=bFGH7HknJr96An1xiyfC+cW4LX9/x8cYv4wOiGzkSO5DHT0yDE9h6xYWi6msSvEYI6 0APMsKsKfe6Dw4BYKCifOofw+clVo3ej8vs6UKjQgRwIecHEps2e4C7mMtpHEr3Hc3CU lA298mmlYB1Lt4elUWtDuhnpe3o+ZZTTxbMS+GC5rhBl7Fo+tzm022PhoJi4pbPIvMuT ztMgR1vKH9sJDYA46/FQ6iQtgJVMgvozC/Egm5/oCtQubHjnnWtILHOPNQl1UYDWkhwX HiCzEUTbA+1qRxRtRbX+mnYN0kg7v+oeeG9vJfMnQd0JvJ6X3rdNGKyIWcyeERbpMSnG mkzA== 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.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id cw10-20020a056a00450a00b0068fa8499af1si2796248pfb.11.2023.10.18.06.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 06:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; 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.34 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 howler.vger.email (Postfix) with ESMTP id 930DC80241B2; Wed, 18 Oct 2023 06:39:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231772AbjJRNiw (ORCPT + 23 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 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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 06:39:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780100729375495004 X-GMAIL-MSGID: 1780100729375495004 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(-)