Message ID | 20231109164427.460493-1-akrowiak@linux.ibm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp563744vqs; Thu, 9 Nov 2023 08:47:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/MaMdcfpfat1P8bg6yK4l7xCsn2OZImia+It1D9ROOI3FWesDt0S8zB/sYd/nRp5tF5h0 X-Received: by 2002:a17:90b:1a81:b0:27d:5cca:9b69 with SMTP id ng1-20020a17090b1a8100b0027d5cca9b69mr2282340pjb.45.1699548458226; Thu, 09 Nov 2023 08:47:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699548458; cv=none; d=google.com; s=arc-20160816; b=DQJsG3Lga+fLHzfX1PxyX4jnlyXQdAE8UMkg1eUE5IySHoqDlq2Q8aTlVYuww7GkSG 9wsED54HH7tsanLEX4kIWje9+0+vfiERHiWaj1bIylJm5Oi7rwhUApfCuKQRvR7wDR+V DsC1ii48ooldPwa7eFJ80t2Gz/FGArfMdxCS33HqgE5BN7B1qEi9Y9mVOdYaESQyCEXw xxFR3+0+P8UAR5y/6hein4yK6L+ymgi0o4Xp4f+5tSIGvQc/JXdNleelox0taw4xug48 cQoAf1pN4UW/nKic45Vsunblp6QW0VQ0ciDjjaMnLZdrvgV0/CtMHYLZRXiO0WyinO1P LsWw== 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=OKSdRTYTvtH95EYBaVFlAipwQj0eF65mxwIHlNhJWcw=; fh=opUkug60FExRexR47It356o76CORjkQ1ORnmJqIio3o=; b=ycZOZ4T/OngI2yiVe3sFnOvoDVy3efoCzYWJjRaSBxruMwU0yeKzCcc4oCScRATgZp s+kZ221niwpiqDn7+4NkeL1vvy09FHaNNigArzRHJQ7Yv6VYlGJf2wPmJ0/kPy8UBmgD pyfXeFD8E8gO4VA2v9J9bPiWyenMO3iL6BucbAwPY8Jxx1TVA2aDXOzkN1uVLZyJcp74 hAYhXrEPJKslxZ0XgTjpy7N+ibpnpZ5Ktlw02u0TLbXsMvQfc1K4AKNK315sheUcbb5d T7984XF/h5T3Rbi954MqwgoTdPX/H1145pAxwH/FV8dSxqnnDJQQh4Bx7sHkrmthf0Bt +rjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=bcCdtrPk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id oj8-20020a17090b4d8800b00280022e2f19si2256319pjb.4.2023.11.09.08.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Nov 2023 08:47:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=bcCdtrPk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id B840680657C9; Thu, 9 Nov 2023 08:46:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344779AbjKIQqJ (ORCPT <rfc822;lhua1029@gmail.com> + 31 others); Thu, 9 Nov 2023 11:46:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234879AbjKIQpp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Nov 2023 11:45:45 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BB473A8F; Thu, 9 Nov 2023 08:44:43 -0800 (PST) Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A9Gdien013694; Thu, 9 Nov 2023 16:44:42 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=OKSdRTYTvtH95EYBaVFlAipwQj0eF65mxwIHlNhJWcw=; b=bcCdtrPkyqJRH2vOWRcbo4xgZmzAF3KvcXnDGWHDYFyP1D2Xppo39sgH4ojhpbuHkAqu Z02o8ybXAS7X6bGInrpVHk7WeJ0Vd7piXb492C+92oQVSmwQWkQlNq9C4Z9cxeevlq9m RkambuzevA6oljhAp8X//2mcTPkqe5VNLkpRD1CFg9ViTzh9e9M9Q/+EnYqoZr96vO1B 8kpnVCxKwUI/T3Q8cl2ldGOUGq2OtsShSVO7A164zTHGshz2J5yErtAhYI8jfXFjMs36 2Vnm6hgFoI77bv2aHH/7BJOxr1Jlo5OQS2OAh8WNWHv8hkQDf0OpLG2wVbhlEChGdPid Jg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u934y07mv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Nov 2023 16:44:42 +0000 Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3A9Ge85w015224; Thu, 9 Nov 2023 16:44:42 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u934y07me-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Nov 2023 16:44:41 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A9EI7Af004183; Thu, 9 Nov 2023 16:44:41 GMT Received: from smtprelay03.dal12v.mail.ibm.com ([172.16.1.5]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3u7w2151p0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Nov 2023 16:44:41 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay03.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A9GieA617891980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2023 16:44:40 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95B2B58052; Thu, 9 Nov 2023 16:44:40 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3D7525805D; Thu, 9 Nov 2023 16:44:34 +0000 (GMT) Received: from li-2c1e724c-2c76-11b2-a85c-ae42eaf3cb3d.ibm.com.com (unknown [9.61.74.193]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 9 Nov 2023 16:44:33 +0000 (GMT) From: Tony Krowiak <akrowiak@linux.ibm.com> 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 v3 0/3] s390/vfio-ap: a couple of corrections to the IRQ enablement function Date: Thu, 9 Nov 2023 11:44:19 -0500 Message-ID: <20231109164427.460493-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: 9JNMSpWsiIHHyrJ-ud8-VNQ_EvR42W8m X-Proofpoint-GUID: Uv87Ub5TXabUUhZ9ZzhRYx6pj9f2tn5P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-09_14,2023-11-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=966 impostorscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311090127 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 09 Nov 2023 08:46:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782105723991640938 X-GMAIL-MSGID: 1782105723991640938 |
Series |
s390/vfio-ap: a couple of corrections to the IRQ enablement function
|
|
Message
Anthony Krowiak
Nov. 9, 2023, 4:44 p.m. UTC
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(-)
Comments
On Thu, Nov 09, 2023 at 11:44:19AM -0500, Tony Krowiak wrote: > This series corrects two issues related to enablement of interrupts in > response to interception of the PQAP(AQIC) command: ... Hi Tony! Via which tree this series is to be pulled? Thanks!
Am 15.11.23 um 15:29 schrieb Alexander Gordeev: > On Thu, Nov 09, 2023 at 11:44:19AM -0500, Tony Krowiak wrote: >> This series corrects two issues related to enablement of interrupts in >> response to interception of the PQAP(AQIC) command: > ... > > Hi Tony! > > Via which tree this series is to be pulled? > > Thanks! I wanted to create a topic repository/branch for s390-specfic vfio code when we expect conflicts or touch kvm or vfio base code. I started that but I have not finished my preparations. Given the diffstat: drivers/s390/crypto/vfio_ap_ops.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) This looks pretty much isolated to s390, so unless Paolo or Alex complain, we should simply carry that via the s390 tree. Alexander, can you take those patches? Tony, I assume none if the patches is urgent and can wait for the next merge window, correct? Christian
On Fri, Nov 17, 2023 at 04:31:49PM +0100, Christian Borntraeger wrote: > Alexander, can you take those patches? Applied, thanks! > Christian
On 11/17/23 10:31, Christian Borntraeger wrote: > Am 15.11.23 um 15:29 schrieb Alexander Gordeev: >> On Thu, Nov 09, 2023 at 11:44:19AM -0500, Tony Krowiak wrote: >>> This series corrects two issues related to enablement of interrupts in >>> response to interception of the PQAP(AQIC) command: >> ... >> >> Hi Tony! >> >> Via which tree this series is to be pulled? >> >> Thanks! > > I wanted to create a topic repository/branch for s390-specfic vfio code > when we expect conflicts or touch kvm or vfio base code. > I started that but I have not finished my preparations. > > Given the diffstat: > drivers/s390/crypto/vfio_ap_ops.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > This looks pretty much isolated to s390, so unless Paolo or Alex complain, > we should simply carry that via the s390 tree. > Alexander, can you take those patches? > Tony, I assume none if the patches is urgent and can wait for the next > merge window, correct? It is not urgent. > > Christian