Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796133869; b=ma36WbkneKwNSjkUBgd+ApQPX2hiTyAETPqz4xpMWth44MwsNQqx36W2wvZcygId/feJ LpHpuWX43FIkig7PP5gL96ZvABISndIzOC00BcrrvrWMwJlXJzlAkXRPrzySfHob23qLy RYUF5BLNP1WOR4tcXY75BkunGcBzG4i3hdxBZfUpBbtinACsOU+wI+YFzayLqAfCeeDsg +FoLuLEHfnloIbksz96LB8r+Kbcqr5O7CGL/dRmPvb+sakg39K7v4WhlxjFI8P4hWpta3 TIb5O1H5YcgTmGoXKBarlS3OD+6rPeOVfTH4UD1STd0IuTdUTfqrWttsP+SgQVPROAA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796133869; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:Message-ID: Subject:From:To:Cc:Date:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:User-Agent:MIME-Version: X-Last-TLS-Session-Version; bh=kPYP5K1XjA2YbzSLJo+P82VeJ0cC56q4ftR8yZgzNj0=; b=4VSr/5C8geW8JGL0L1q7W27VAZvLbYhAOttl5arx6lyHIpJJRopr3lJdKz5ZpKoE51FH 8z4nJqiIKygGnCgHu0eBgqZe8D+kZ4ikzmlPbBN36H0Ir0rk2iSHrpjU9MeARs8O1vbLs P3+hcPnaN4AtG4eZv/raUJKFtkEpXjjWtX3VUQ32Bp5Aqt+cpBUT460ovLNzChYBLDzTs xiVTPGp/vVIG8gnh7gzBG/zGsAvOe/1Wy58nF9RX5i2sff5cbmmahIZY3Qz2N/bnUE/3G 0/7hW84gLCeRyGJjaAngIQ30MMYNpcoV2rLglO8gKfZ5uvcd9xSekZnZYKzIabBEJaA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b="X/EIRGwO"; arc=none smtp.remote-ip=185.246.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19F8B606A31A for ; Tue, 1 Dec 2026 14:04:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 19F8B606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=X/EIRGwO Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 9EF754E41803; Tue, 1 Dec 2026 14:04:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6993C603CB; Tue, 1 Dec 2026 14:04:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 66A2511EA1BA8; Tue, 01 Dec 2026 15:04:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796133855; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=kPYP5K1XjA2YbzSLJo+P82VeJ0cC56q4ftR8yZgzNj0=; b=X/EIRGwO7XD0dlxBXte0HKno0G5i2cwkCcW/qLDgoNGorYcu4U6v2GY//AqIVWsUSjWq4i oMPNsW+Dd2AzALodqYpG3vaJQh8gnWjuPtDWTNSPcghQWhTP1WR0fRRzE5+GMDrhFtpKCF XUjmgeL/kGaE7pJ2TGwl1wg93IWzM19mIjgZKLL0loXLbrkekDypC/QXXXt8uvalWeyxp3 6Xmz3QBopqUOdSRS8fkhG3DXXxljEUryZdvljylHLrwLe5oHKLr8oNIf6aSZj8OxzrMDsT lzTD5v45nMfYXNlmyxOKDPDWGVcKaGnu+w4Nn29yC4ij53Duhmprslev5ZN+8A== Message-ID: Subject: Re: [PATCH v2] PCI: Fix root port reset lock ordering issue From: Paul Cercueil To: Lukas Wunner Cc: Will Deacon , Lorenzo Pieralisi , Krzysztof Wilczy??ski , Bjorn Helgaas , Rob Herring , Frank Li , Qiang Yu , Manivannan Sadhasivam , Thomas Petazzoni , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org Date: Tue, 01 Dec 2026 15:04:07 +0100 In-Reply-To: References: <20261201110130.87336-1-paul.cercueil@bootlin.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-0+deb13u1 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 Hi Lukas, Le mardi 01 d=C3=A9cembre 2026 =C3=A0 12:11 +0100, Lukas Wunner a =C3=A9cri= t=C2=A0: > On Tue, Dec 01, 2026 at 12:01:30PM +0100, Paul Cercueil wrote: > > Currently, pci_host_reset_root_port() calls pci_lock_rescan_remove(), > > to protect pci_bus_error_reset() racing against > > pciehp_unconfigure_device(). >=20 > Per Qiang, this is necessary to avoid NOC errors when accessing devices > during reset, not because of a race with pciehp: >=20 > https://lore.kernel.org/r/aw6he+%2FVplrh036p@hu-qianyu-lv.qualcomm.com/ Understood. I'll leave you guys to it. Cheers, -Paul