Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp645862rdf; Fri, 3 Nov 2023 10:34:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWyJkjLUox3WnJ9qU3kuGeY9T3yK17v+HO0lJcwlwj4xNAT28pVZxDgj1Hqv8GmAZT3cVI X-Received: by 2002:a05:6871:3418:b0:1d5:21cd:7069 with SMTP id nh24-20020a056871341800b001d521cd7069mr26447858oac.8.1699032894859; Fri, 03 Nov 2023 10:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699032894; cv=none; d=google.com; s=arc-20160816; b=H2rT46ZuPBXQGXZ9tY3kCgfsO2m7aRVxnbb7JWh2p7bBSCvJm6TwV7FGXud45x7Pvx dHRO/R0wq3hss0US2i1AYdj5JDvUcn6ONZ1HVCcareTCW/if6+AdPO7IuKZax5OgyMxV ByKfn7bILMdFnr8shNqlOX1iFHx7dmJTpkepb9SaKdagMAMPWCrxr8AB8RTTpCa+ldRz JJifiyaimBtFPduq5Xi1XhQkMi2avvvyy7L5rbH3Lp/+ZmOgE4K9CDpjhE1vShY71vLR rtBRUWXVxKvCjQhsKFX5bKIbFgC87heOGFAI/qLORPqiQP497TIeN3FMaKA3lcn5Js7v YHOQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sGgNOwlVhZlYtE5+QhkGDW3azCEhR3HlhRVRiIoH4jY=; fh=On5AEMQeDsI4pmAApVaEeTjZpy39ffHDxVtOi/Mvcnc=; b=Ft1P4DKTkNmmfJpAWhHlq/YNJLtB5/x+Bt2cHDMH1IuGDJv01BA2WszlihztJQVAr+ HxKvgPfEwHu9Hgtwa8+C6FsFDr0eP2pMc3Nr0k/H72shzXOigXziLOWfdeEshwDcZaOk KzGquMe2EcCaqiQ4Zb8L7MG8rz0jHDKzHWcvpZZnC0/I+DUzOaKG3aDbPrBeTY5Mff0B bBpSWwHDVecwTvw7DLtx3FnMLszu4IuHGuHHn4rPOu/iEJegwPV6WLHWcf/VwIc+oqko TgMLeZSz0bGtmaO48yI2Ny7/HJ4QPkoiOqu385IPAwnqPqpTDxYt09X6URUm4U8iR9sh 9tRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UEwdZAzp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bz39-20020a056a02062700b005b967ddd984si2091414pgb.781.2023.11.03.10.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 10:34:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UEwdZAzp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 20B3980D8FEB; Fri, 3 Nov 2023 10:34:50 -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 S229730AbjKCRen (ORCPT + 99 others); Fri, 3 Nov 2023 13:34:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjKCRek (ORCPT ); Fri, 3 Nov 2023 13:34:40 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7442F136; Fri, 3 Nov 2023 10:34:37 -0700 (PDT) Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A3HYT3l013380; Fri, 3 Nov 2023 17:34:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=sGgNOwlVhZlYtE5+QhkGDW3azCEhR3HlhRVRiIoH4jY=; b=UEwdZAzpWHtEZsSsE0f3s4C0RpAL6QR5liFhmBEk0nGF4h7cqZpKQ/zEuzQ1T1kgYV+P DtFtRUK96orxNRHnmSay+3Gk/6kibQqHOrGSq5opoCqJ287a1atBxZWk3F+08w/XLF/0 0sapJS8HLv9Fa8cjmUAxma4cEVfeiJj/MXJ8z6AjI4qTuLFjggaJ9R220j+4R4kzpaQC h2YPMGTxm4Xu+xh48qcCzOzoV/1jahOeNvHtEbTK1KmGUf8M2S26zm2zys4aD8JD7MR8 OQzp8XDrdfmqcn7ksc7PJ2Q1GDLJaI0FKKw1C2gajTrMRv7okLFRA1HLgL8I9u0hi/7c LQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u553r0d5p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Nov 2023 17:34:35 +0000 Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3A3HYVRE013423; Fri, 3 Nov 2023 17:34:34 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u553r0cs5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Nov 2023 17:34:34 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A3F2lW5011548; Fri, 3 Nov 2023 17:30:17 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3u1e4mfc3d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Nov 2023 17:30:17 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A3HUAtC18612762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Nov 2023 17:30:10 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BAF882004F; Fri, 3 Nov 2023 17:30:10 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 749E72004B; Fri, 3 Nov 2023 17:30:10 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 3 Nov 2023 17:30:10 +0000 (GMT) From: Nina Schoetterl-Glausch To: Alexander Gordeev , Cornelia Huck , Michael Mueller , Christian Borntraeger , Vasily Gorbik , Claudio Imbrenda , Heiko Carstens , David Hildenbrand , Janosch Frank Cc: Nina Schoetterl-Glausch , linux-kernel@vger.kernel.org, Sven Schnelle , kvm@vger.kernel.org, David Hildenbrand , linux-s390@vger.kernel.org Subject: [PATCH 3/4] KVM: s390: cpu model: Use previously unused constant Date: Fri, 3 Nov 2023 18:30:07 +0100 Message-Id: <20231103173008.630217-4-nsg@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231103173008.630217-1-nsg@linux.ibm.com> References: <20231103173008.630217-1-nsg@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: fvxm4DdpCvAk0EVaJXMYdbAvxknqzbTC X-Proofpoint-ORIG-GUID: u45ttFxhuK44a0HVVBEoyCo7tzKAqyI0 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-03_16,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 clxscore=1015 impostorscore=0 malwarescore=0 spamscore=0 phishscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311030147 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,T_SCC_BODY_TEXT_LINE 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]); Fri, 03 Nov 2023 10:34:50 -0700 (PDT) No point in defining a size for the mask if we're not going to use it. Fixes: 9d8d578605b4 ("KVM: s390: use facilities and cpu_id per KVM") Signed-off-by: Nina Schoetterl-Glausch --- arch/s390/include/asm/kvm_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index 427f9528a7b6..46fcd2f9dff8 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h @@ -811,7 +811,7 @@ struct s390_io_adapter { struct kvm_s390_cpu_model { /* facility mask supported by kvm & hosting machine */ - __u64 fac_mask[S390_ARCH_FAC_LIST_SIZE_U64]; + __u64 fac_mask[S390_ARCH_FAC_MASK_SIZE_U64]; struct kvm_s390_vm_cpu_subfunc subfuncs; /* facility list requested by guest (in dma page) */ __u64 *fac_list; -- 2.39.2