Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAAEFC05027 for ; Tue, 14 Feb 2023 09:47:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230452AbjBNJrw (ORCPT ); Tue, 14 Feb 2023 04:47:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbjBNJrS (ORCPT ); Tue, 14 Feb 2023 04:47:18 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FD4C233FA; Tue, 14 Feb 2023 01:46:53 -0800 (PST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31E9Vl4s013303; Tue, 14 Feb 2023 09:46:52 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=3BwhYW1mi3zJ9K7xkh/wVb9maY6Izz7H9lqGYYfFGj4=; b=BSNSzZ3DASlVWfp3UPNv+Y/mDjwh3WKAxus1foqlRUSRXzBQab2zn21709wuc36WApzz epedupj5RhZOrq2iMBZ/KeBgLo5tzGEBMPUaHWPqZb8DL47tXacYto4ScXdbN0Y4Z7sO V7wgXMTGXpapAu3ykefW8QGPWamjqVBcmoKZChIo4rrW4ww95KIBBo9kMyxrXtWjYjOv KCpb86w1UZIbmPG91TgOsUAU+A/w6aGTPSE0zRogptOs+sq3pDtIhpe6EV7RJuYqD4SP op2MLoaaAUuM1Um8neytPmXymk45WZdztJ0RO4Xks7WdCYcPvtgP45WL2XiF2uHWgVc2 QQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3nr7rg8dh6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Feb 2023 09:46:52 +0000 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 31E9Vm7L013357; Tue, 14 Feb 2023 09:46:51 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3nr7rg8dgd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Feb 2023 09:46:51 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 31E66Oqu017578; Tue, 14 Feb 2023 09:46:50 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3np2n6kt3x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Feb 2023 09:46:49 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 31E9kksO51380694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Feb 2023 09:46:46 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 598DA20043; Tue, 14 Feb 2023 09:46:46 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A88920040; Tue, 14 Feb 2023 09:46:46 +0000 (GMT) Received: from [9.152.212.201] (unknown [9.152.212.201]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Feb 2023 09:46:45 +0000 (GMT) Message-ID: Subject: Re: [PATCH] PCI: s390: Fix use-after-free of PCI bus resources with s390 per-function hotplug From: Gerd Bayer To: Niklas Schnelle Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Bjorn Helgaas , Pierre Morel , Matthew Rosato Date: Tue, 14 Feb 2023 10:46:45 +0100 In-Reply-To: <20230203114807.3461308-1-schnelle@linux.ibm.com> References: <20230203114807.3461308-1-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.3 (3.46.3-1.module_f37+15877+cf3308f9) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: r0M2-p5mWNs7zLAcc5uyAKqRLElh8ahG X-Proofpoint-ORIG-GUID: bS19lyX0amj30DC6H-oY2KHk0LoxwEM4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-14_06,2023-02-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxscore=0 bulkscore=0 mlxlogscore=533 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302140081 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTmlrbGFzLAoKd2hlbiBjb21wYXJpbmcgcGNpX2J1c19yZW1vd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