Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp29843rwb; Mon, 26 Sep 2022 08:55:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6BIGUcUNcDU4CHnVrsBKIiGR+QMN/8/L3rqQX3kPLWkMzyA3m+fCB9lyswgNGS9bI1u73r X-Received: by 2002:a17:90b:384b:b0:200:71b8:ae00 with SMTP id nl11-20020a17090b384b00b0020071b8ae00mr36583947pjb.125.1664207750927; Mon, 26 Sep 2022 08:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664207750; cv=none; d=google.com; s=arc-20160816; b=O4XuCo0nyzaPuAQbj/pJAQGpODzDA4uEUKmhEdVcARl/WwMq1gQHnbzAaiZaJv90jA kgzCHvp075sAmcmi/5ZulNO/7+8DCPi012bP4NMTAs98Oxo+9VIk4ZN+yThmDRVzPB0g EMX3VPw/8VYW01t8St9XOIsmmJ+xWDhRjXqh8AnMLhFYFFzTa6mMNfIrOYCGnsxZy2Dj aBRmbGZ0V98xsbBlY0AdfJSkmft0nN+/dx3NAUPNegAQhpDRSN91M96W+C+skl2xlT79 cJU8ALmEkr6jjS1l/RXuHG6Ehnl+CXDwCuWz4H0Zlmp+yyEFOYifLOA0QorkSJh4ngOz ac4w== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=QTf0c91xIH+BOTabS4mh2abHbhOlWiSw/XJtSH6mw1k=; b=P1FZID6bV3FYhDKt4S0SwiZZKtTfYw/Bd9NQpSR7UHqjkH7qZiFVaxWNclAvHYG+WM GKdE2riXibeFYb3hi/tj0ZcjH17DSQNnZfsvOmOlRItejOPjSDvaS0wodIYjxSH7pLIt d6QKDigU4Aki1pFd1ADmnhUNQJIoU+69HGuAKb7pbga1gUCSryLhNeZ9pSfmVUteBF4W FJcqjAPanpfvN2jcG5Rs8aXext+y/aQeIvMJVgPY84zcgKcNcL9hbXsiDpT8u0NtskIl 6hWASwf30G0SScwgtEFpbixgBQj76do0gcxLXWut9cSZd/c0PcKBnl36HwXn4XwrUCq3 n43Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=iQcHze6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a63ed42000000b0042b80821b1csi18080387pgk.371.2022.09.26.08.55.38; Mon, 26 Sep 2022 08:55:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=iQcHze6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235736AbiIZPJ1 (ORCPT + 99 others); Mon, 26 Sep 2022 11:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235867AbiIZPIq (ORCPT ); Mon, 26 Sep 2022 11:08:46 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519F61176; Mon, 26 Sep 2022 06:41:42 -0700 (PDT) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28QCD2Yl003782; Mon, 26 Sep 2022 13:41:31 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 : mime-version : content-transfer-encoding; s=pp1; bh=QTf0c91xIH+BOTabS4mh2abHbhOlWiSw/XJtSH6mw1k=; b=iQcHze6sV/i5WW617dIicZLT0xwe0cc9CKWnvD8W+S5o2G7SWX6gwMee0USfuw+bgou3 oXyvSizK2EfIr2+N2gQaOcz5rTfnWKJ1Bd+qWbf2NrYtHDyJHPyD0kVAIZcFwpbsicMR Xexj5GtSnuLR8jgA6Ponm4mkKcb7cgCX2TjKmcmFRUpBEWLameWTRH8S4MBJS2oaC1M1 sFwoO6nWpM+oUD8rUS8FtbhrbWzFve9FbKduxJkQk57/UyCBgV8UvaVVvTCmfEBEkW8G eCEUquUmd/BUpxKSi4co5e/PhbydD/YWMl1bofJDcDoYeuMTo1Cm6ZpwoSAOXitl3pbd zg== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jubvxjmdu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 13:41:31 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28QDa9pL016702; Mon, 26 Sep 2022 13:41:29 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma06fra.de.ibm.com with ESMTP id 3jss5hsvgt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 13:41:29 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28QDfrPb42926558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Sep 2022 13:41:53 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 291974C04A; Mon, 26 Sep 2022 13:41:26 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 651244C044; Mon, 26 Sep 2022 13:41:25 +0000 (GMT) Received: from sig-9-145-86-133.uk.ibm.com (unknown [9.145.86.133]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 26 Sep 2022 13:41:25 +0000 (GMT) Message-ID: <68397430eab0fee46d8c61b8a8d6c2ecd27447d4.camel@linux.ibm.com> Subject: Re: [PATCH v2 2/3] s390/pci: remove unused bus_next field from struct zpci_dev From: Niklas Schnelle To: Pierre Morel , Matthew Rosato , iommu@lists.linux.dev Cc: linux-s390@vger.kernel.org, borntraeger@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, agordeev@linux.ibm.com, svens@linux.ibm.com, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, jgg@nvidia.com, linux-kernel@vger.kernel.org Date: Mon, 26 Sep 2022 15:41:24 +0200 In-Reply-To: <8ba5cee2-5e5c-6b73-3ac7-56e78e432698@linux.ibm.com> References: <20220922095239.2115309-1-schnelle@linux.ibm.com> <20220922095239.2115309-3-schnelle@linux.ibm.com> <8ba5cee2-5e5c-6b73-3ac7-56e78e432698@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: oQecqKzWqFYL0ZRBx3ayVt9mMDVqtd9G X-Proofpoint-GUID: oQecqKzWqFYL0ZRBx3ayVt9mMDVqtd9G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-26_08,2022-09-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=918 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 priorityscore=1501 impostorscore=0 adultscore=0 malwarescore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209260086 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 On Mon, 2022-09-26 at 11:23 +0200, Pierre Morel wrote: > > On 9/26/22 11:17, Pierre Morel wrote: > > > > On 9/22/22 11:52, Niklas Schnelle wrote: > > > This field was added in commit 44510d6fa0c0 ("s390/pci: Handling > > > multifunctions") but is an unused remnant of an earlier version where > > > the devices on the virtual bus were connected in a linked list instead > > > of a fixed 256 entry array of pointers. > > > > > > It is also not used for the list of busses as that is threaded through > > > struct zpci_bus not through struct zpci_dev. > > > > > > Signed-off-by: Niklas Schnelle > > > > Reviewed-by: Pierre Morel > > > > > > Also couldn't it be detached of the series and posted on its own? As this is entirely s390 specific this can go via the s390 tree without re-posting. Since we're still figuring the rest of the series out it might even make it upstream before that and then we can more easily refer to it as a pre-requisite. > > > > --- > > > arch/s390/include/asm/pci.h | 1 - > > > 1 file changed, 1 deletion(-) > > > > > > diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h > > > index 7b4cdadbc023..108e732d7b14 100644 > > > --- a/arch/s390/include/asm/pci.h > > > +++ b/arch/s390/include/asm/pci.h > > > @@ -117,7 +117,6 @@ struct zpci_bus { > > > struct zpci_dev { > > > struct zpci_bus *zbus; > > > struct list_head entry; /* list of all zpci_devices, > > > needed for hotplug, etc. */ > > > - struct list_head bus_next; > > > struct kref kref; > > > struct hotplug_slot hotplug_slot;