Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1241208rdh; Fri, 27 Oct 2023 08:27:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/pMho5IS7OVe9fmZV9G90vniicyPw0Ia3IiSQc3PsWDUWMI4FBXmHoccjqmHEpRQo+2uk X-Received: by 2002:a25:ca0a:0:b0:d9a:3f66:1b16 with SMTP id a10-20020a25ca0a000000b00d9a3f661b16mr5636046ybg.27.1698420476947; Fri, 27 Oct 2023 08:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698420476; cv=none; d=google.com; s=arc-20160816; b=xWMrc7tuIuMp+NWAyJREqs7HFQtDo4435mAGTCg5TrW+GEFTzsV7au5d7d5VejlTHC 59VMwIZeKwRTJIKAWsV0Z3g8MR66Fl7UtdyzQWVKm+ZA2jRM7jS2xycko5vyvTNP7pVY A+AaDvqbhykTf6QvLn3vZo7aCwFyyAmjQxZbOEr1bmGRQB+qlwo9fNpH8Ra3/8L0oiGb CeB2cFht2adtXogX6t6sSDlPpFSurJoJdJrWhXXID2nvD9zjI1vvISdevZocET0dOS/c sSi9S/3Y0emL123Ijom6FYl2VSIaNVBRi9QKS6WQS3iqg4BjECGyOPJ+3FFllQFueZ8a voag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aTofS//6lM+7vOdImDA4rxnNot16RvEWBnEbVQegqtE=; fh=91+IKt5SiWdUYc45Q08IBv3XUF3Wlyma9jPIaDMwSxY=; b=Z19SwjJ9E98lkg/4lZs8TQldY4WEvmqAyL7p9/oeDTozeqRqvYFWFF2bCskrwr/1yV mxkzD9+R9LyhX1RuUjIVOkEl9tHBmmWphIfNnJkjjYtHJOpsGuTRE6Wx5MkTGNazdabg yRY8K9PFSmWei4YY3xd/uq4to32mWR1XVKP3v1rJ871fxGOpuVtsN7OJKTjg4jVgARWt H4qMANa0N7LNAZUXUVC7qIC67p/ADFMNo1RHnjwq3MwO6t/dLJGQt3oCBYEJErW2cDFK OStFNYf01Z5EU8hWq7Qt+qU+dVfGFT3JOovd0pL5DefT6WJ+2GO6v+Bqxq9EgOkxJ0Lo NDag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=OkEvk8ZS; 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 Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 191-20020a250cc8000000b00da061c954b2si2871933ybm.99.2023.10.27.08.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 08:27:56 -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=OkEvk8ZS; 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 2B2A1837340E; Fri, 27 Oct 2023 08:27:54 -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 S1346230AbjJ0P1k (ORCPT + 99 others); Fri, 27 Oct 2023 11:27:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbjJ0P1j (ORCPT ); Fri, 27 Oct 2023 11:27:39 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E97BAC; Fri, 27 Oct 2023 08:27:37 -0700 (PDT) Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39RFRWKS020602; Fri, 27 Oct 2023 15:27:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=aTofS//6lM+7vOdImDA4rxnNot16RvEWBnEbVQegqtE=; b=OkEvk8ZSe/eVkZtxonJ1CUi7Ypip6vRGcq8uGV3mEogA6GHdSPXztBhsaAAer6qhc6Ei s2B+ilOdagwVy53if+BNKabPiaONwd91DZhJfak6ZQJHZn2wunkYnbdKIuP3ERX4Rt2+ sXkdh7tUr0b2OyX1ypiFtR3Zebzg3uynvyS75JZKR0PGI2uPONzAm5p4Z7NicTRWFv4x w6j01bluGDf8XhHBMqw58Z3fTd9ACiaxum1YHF+w7+htI5PeqXTKRXrvH7dRyVmxlvEO J8MvyXrSIAmEmUfTtvTyeBOGrN+bnUNGQ/tnOEGggTq5dszTXjqMvgMu0Uv5dyK02kLZ SQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u0fqb0bdg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Oct 2023 15:27:36 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39RFHddn017470; Fri, 27 Oct 2023 15:27:35 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 3u0fqb0ahu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Oct 2023 15:27:33 +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 39RDP75T025010; Fri, 27 Oct 2023 15:26:00 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tywqrww41-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Oct 2023 15:26:00 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39RFPwrv12518028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Oct 2023 15:25:59 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A7F065805E; Fri, 27 Oct 2023 15:25:58 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0019D58051; Fri, 27 Oct 2023 15:25:57 +0000 (GMT) Received: from [9.61.163.200] (unknown [9.61.163.200]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 27 Oct 2023 15:25:57 +0000 (GMT) Message-ID: <7fe05c94-06ae-4e40-8894-95ad0b21a4a9@linux.ibm.com> Date: Fri, 27 Oct 2023 11:25:57 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/3] s390/vfio-ap: set status response code to 06 on gisc registration failure Content-Language: en-US To: Halil Pasic Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, jjherne@linux.ibm.com, borntraeger@linux.ibm.com, frankja@linux.ibm.com, imbrenda@linux.ibm.com, david@redhat.com, mjrosato@linux.ibm.com References: <20231026183250.254432-1-akrowiak@linux.ibm.com> <20231026183250.254432-3-akrowiak@linux.ibm.com> <20231027131904.165c7ad6.pasic@linux.ibm.com> From: Tony Krowiak In-Reply-To: <20231027131904.165c7ad6.pasic@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: xsa4torbGIfr5LiTVNH6-vM4L4Y433dc X-Proofpoint-GUID: nITYVzzeQ1SHCxO7Guegs83rVdJAUTLD 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-10-27_13,2023-10-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 malwarescore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 priorityscore=1501 spamscore=0 suspectscore=0 mlxlogscore=921 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310270133 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]); Fri, 27 Oct 2023 08:27:54 -0700 (PDT) On 10/27/23 07:19, Halil Pasic wrote: > On Thu, 26 Oct 2023 14:32:44 -0400 > Tony Krowiak wrote: > >> Since this scenario is very unlikely to happen and there is no status >> response code to indicate an invalid ISC value, let's set the > > Again invalid ISC won't happen except for hypervisor messes up. Again, that is one of the checks performed by the kvm_s390_gisc_register function; however, I get your point and will remove reference in the comment. > >> response code to 06 indicating 'Invalid address of AP-queue notification >> byte'. While this is not entirely accurate, it is better than indicating >> that the ZONE/GISA designation is invalid which is something the guest >> can do nothing about since those values are set by the hypervisor. > > And more importantly AP_RESPONSE_INVALID_GISA is not valid for G2 in > the given scenario, since G2 is not trying to set up interrupts on behalf > of the G3 with a G3 GISA, but G2 is trying to set up interrupts for > itself. And then AP_RESPONSE_INVALID_GISA is architecturally simply not > a valid RC! Got it. > >> >> Signed-off-by: Anthony Krowiak >> Suggested-by: Halil Pasic > > Except for the explanation in the commit message, the patch is good. It > is up to you if you want to fix the commit message or not. > I'll fix the commit message. > Reviewed-by: Halil Pasic