Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2038411rdf; Mon, 6 Nov 2023 03:00:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoX/H/d9BJxlPGkbMN/Vzr8leaJCCNsfVTX+u05XoTp5FhBkagqP07O9NWgp8PIQDFP1gA X-Received: by 2002:a17:902:c146:b0:1c3:845d:a4 with SMTP id 6-20020a170902c14600b001c3845d00a4mr22602920plj.51.1699268440892; Mon, 06 Nov 2023 03:00:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699268440; cv=none; d=google.com; s=arc-20160816; b=w8iYyqHw72drIxlO46mP6Ds2Mlm+adrq+C0OnPBsurDqo1wc2wZNUuwwJrKHZ+UVf9 xfpPZK77HZX64nichAZRWrjza06110MtoeovIFzN7WUINKnEvwb9Y3fJyXAdyfJxI1vm 35my5fmAsSjWi/VQ1dF16RGD+GqBZsJBE5/e2FyxYvih7QH2E4/JULBvSjzd2dqS9WRT 9sNzrp4Es5o3dAFeWnV3jc/RrUuwaUMLetg0yu9mYGvThQzqv9z2RF5EK2wc+GYxdXT6 h0rtE5zvGAfbA0fyKDoyc9Twc69DwA005zfKZP2TcZUUN0o7Fim99QblBiqoSTc0Ua5F 4rig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=D1iKgU8MaxGuAanmiVdwjL8M+qWemCsbQIouJx2h9no=; fh=hvUXDHi6I2SxKOGhIuwI1+3xCrwAwkX1/AJzkPTx2hA=; b=d5vk3YJ7FiWNNy7k53ajwoaORquv6IcN1TRNYc2L6RZOK0cAh/LyEmqmOaqlTXmrLS /Irhw41EgRg+t3cuo5Rt8JQnoK416Sp9XieIKAS8SE6ZkCwTm+/UsNDsxzgStWvLEPul 347hxktZqfXZfZa4+FpzcBZTV875qo/dnXVk82rBssBq6KrsSLlQEUdk7dM3yvoGd30m W5fWGG9IyaEbSrx/ehnyEtv259nojew08urrPbNV2YGBANuFMG65pODLfUCrc1p0f+25 DO0i+uKbzOSqHwwh/86DOcxxnpd+k5JN3LPQBhEnt7+ZdxA65hUtHP5hTTHiVYCgsUwd oPLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Zh4DMfpA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s9-20020a170902ea0900b001c72699dcd3si8443409plg.367.2023.11.06.03.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 03:00:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Zh4DMfpA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 810EE802AF13; Mon, 6 Nov 2023 03:00:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbjKFLAf (ORCPT + 99 others); Mon, 6 Nov 2023 06:00:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbjKFLAc (ORCPT ); Mon, 6 Nov 2023 06:00:32 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8287CB7; Mon, 6 Nov 2023 03:00:29 -0800 (PST) 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 3A6AFPVk009474; Mon, 6 Nov 2023 11:00:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=D1iKgU8MaxGuAanmiVdwjL8M+qWemCsbQIouJx2h9no=; b=Zh4DMfpAf8sU/IEX6RreKH5+teAiKdvNVAGDQjZPSYFwImhqXGDfncUy0v/ce7vIk1hr VvvhZ9QYLon0jq/vlgLL9vc1OjbACiSv8pv5fAF7Kq/oF2JLemwv+vJXH5Z9P9v8vhfG dL03OXBP1cW4rILzfyci5C5FkXet8T7wXtSOMngwTRkfhNpS5dbhkmF6mXeXtQDauVrI pkU3FWXkl1nlGLD4hpEFxChn4zffd6TxjvO29RR5UhFWvAZF1qSWyNr82fyDS4EbSjoJ B/RLWnCMfHjDCLfVnSvNfI9hVwMzzoPDpjSwMb+jmyN/hFhN3T9EQPkDWBUu/UVPXuG8 JQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u6wcnu0m4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 11:00:28 +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 3A6AGs2e015022; Mon, 6 Nov 2023 11:00:27 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u6wcnu0jg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 11:00:27 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A69doPm028237; Mon, 6 Nov 2023 11:00:26 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3u62gjrbj2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 11:00:26 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A6B0K4x17367604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Nov 2023 11:00:20 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 25DA92004B; Mon, 6 Nov 2023 11:00:20 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7024320040; Mon, 6 Nov 2023 11:00:19 +0000 (GMT) Received: from li-978a334c-2cba-11b2-a85c-a0743a31b510.ibm.com (unknown [9.179.20.192]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 6 Nov 2023 11:00:19 +0000 (GMT) Message-ID: <5cfee0930c4665481480d00bcb334b8c8c161426.camel@linux.ibm.com> Subject: Re: [PATCH 3/4] KVM: s390: cpu model: Use previously unused constant From: Nina Schoetterl-Glausch To: David Hildenbrand , Alexander Gordeev , Cornelia Huck , Michael Mueller , Christian Borntraeger , Vasily Gorbik , Claudio Imbrenda , Heiko Carstens , David Hildenbrand , Janosch Frank Cc: linux-kernel@vger.kernel.org, Sven Schnelle , kvm@vger.kernel.org, linux-s390@vger.kernel.org Date: Mon, 06 Nov 2023 12:00:19 +0100 In-Reply-To: <47d18f06-13b2-4ec5-b601-eb9a2738f06b@redhat.com> References: <20231103173008.630217-1-nsg@linux.ibm.com> <20231103173008.630217-4-nsg@linux.ibm.com> <4c3cec3c-da81-426c-815b-afee1de68947@redhat.com> <47d18f06-13b2-4ec5-b601-eb9a2738f06b@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 0Ddf0zaDIOqePaT9AAAdgOVroaXugE7k X-Proofpoint-ORIG-GUID: TujqQAYWG4kRhei_sFweFZhNDJRux6Q6 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-06_09,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=375 spamscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311060091 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 03:00:39 -0800 (PST) On Fri, 2023-11-03 at 19:41 +0100, David Hildenbrand wrote: > On 03.11.23 19:36, David Hildenbrand wrote: > > On 03.11.23 18:30, Nina Schoetterl-Glausch wrote: > > > No point in defining a size for the mask if we're not going to use it= . > >=20 > > I neither understand the patch description nor what the bug is that is > > being fixed (and how that description relates to the patch > > subject+description). > >=20 > > Please improve the patch description. > >=20 >=20 > Should this be >=20 > " > KVM: s390: cpu model: use proper define for facility mask size >=20 > We're using S390_ARCH_FAC_LIST_SIZE_U64 instead of=20 > S390_ARCH_FAC_MASK_SIZE_U64 to define the array size of the facility=20 > mask. Let's properly use S390_ARCH_FAC_MASK_SIZE_U64. Note that both > values are the same and, therefore, this is a pure cleanup. > " >=20 > I'm not convinced there is a bug and that this deserves a "Fixes:". Oh yeah, sorry, purely a cleanup. S390_ARCH_FAC_MASK_SIZE_U64 wasn't used anywhere. I also considered just getting rid of it and using one constant for both list and mask.