From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796291504; b=3nXWMU03ArtUIQyr1Yni4dE5BDZlYN85+sx/1o/xcib3eDf27O5Vs9Gjdex69SC1S7iI o/WjW8UMpd3VGfdpSFpzeGgcFwuGH2C6gufhPpvz1LchSqf6Qje1vBqkCpNdKhiiI4T7y 3pZkIuCcBGkRFo4GgEJtQ3DIISKNAxnloXrqTh97OVoLVTMdyZruwBFJ1jhYqDOTKs3XZ eW9zCVw8re1BGP9MHXpJxnzH3ixIXHVbfjNGto30QoW1G/R4c1K5pJGQz/+dv/dVU/L8Q Ug3WB2957sUrU0kuOwKEGu9Yx3vTkjaf6+BPG/pLYjgrtcFwpWaj84XhYgtMOHVHMGA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796291504; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=8HsyGlfkEqILkJKtfSFSFj3FYaxWd5fUj4QERfVL3TM=; b=PfoA3A0q9OrpWJCJOoMlKMz7WdZzVcSMOj9LjUpeXJ7lelo/SLmOaSu9HJtA7lzjYA6R G45wc5rLKHk6sTQTFkACrBOALtopXN0cVwvfEBKweAJE8LIpMCeFn8x3h3XzqoWvz/o/a LewYqSx5sHKsUNLzZtYFcIcMPH8nhDr3dDEDBmvAnVq4Rzd8qfRFSCX6rtNZYSP/R+0Ua kyJc1J3Sk5QbDTp79B4DF7kvm3pqVgG9xadUpsAMON40MrII1yGC+wtT5aPQ8Fy1CwBLv x0kz88wLdf1DUyGFbH08Idoa2xIpg+2Z9vVIbantuB+RS8lJUtJVNfZRmLKgxjzoGWA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SOnEnwHj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30884606A322 for ; Thu, 3 Dec 2026 09:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SOnEnwHj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EA9B1F00898; Thu, 3 Dec 2026 09:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796291503; bh=8HsyGlfkEqILkJKtfSFSFj3FYaxWd5fUj4QERfVL3TM=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=SOnEnwHjd5D6mTU4u7bbWfhh/NO8RBxB4XQ2RXlrYYGaG7gfilaqJKVdAWsSP524A CCgmGNlPa7mKmDCkAdIOknttwax181eKtqR8GxFEoa8CMJWD5MZbmGjPDTtrW2VoCx npFt6uRIxlzNWw27StcknabORRmQLJKn4eEIqjWq0VsU52OgmRKCYCEhhEm3EYsLkJ j9smktH2v9XGydU1gDqpX6B61lKkcxUV/xtAV4YqTAdFl3sQq/362Bfb5UfSqxTLFz R7KisTzKEBmE04IM42vH4TVWweDY4t7y5GrAGBFl6mP2PKFlnCWH+T5IsLUuPCktA6 9Pd/+z5r/2qTQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/6] PCI: rzg3s-host: Follow hardware manual clock/reset initialization order Reply-To: sashiko-reviews@lists.linux.dev To: "Claudiu Beznea" Cc: linux-pci@vger.kernel.org, wsa+renesas@sang-engineering.com In-Reply-To: <20261203093224.247349-2-claudiu.beznea@kernel.org> References: <20261203093224.247349-1-claudiu.beznea@kernel.org> <20261203093224.247349-2-claudiu.beznea@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 09:51:39 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found no new issues in this patch, but noticed 1 related pre-existing issue it does not introduce: - [High] PCI: rzg3s: strict runtime PM error checking in noirq callbacks [1] -- commit 5b64ad6c833b947759b6bca40ab7aaa39c6c7bce Author: Claudiu Beznea PCI: rzg3s-host: Follow hardware manual clock/reset initialization order This commit reorders runtime PM clock enablement and power reset deassertion in the RZ/G3S PCIe host controller probe, suspend, and resume paths so clocks are enabled before resets are deasserted. > diff --git a/drivers/pci/controller/pcie-rzg3s-host.c b/drivers/pci/contr= oller/pcie-rzg3s-host.c > index 2c2ee9d4d3244..1dbe2a2a4bf1c 100644 > --- a/drivers/pci/controller/pcie-rzg3s-host.c > +++ b/drivers/pci/controller/pcie-rzg3s-host.c [ ... ] > @@ -1960,13 +1957,19 @@ static int rzg3s_pcie_suspend_noirq(struct device= *dev) > if (ret) > goto config_reinit; > =20 > - ret =3D rzg3s_sysc_config_func(sysc, RZG3S_SYSC_FUNC_ID_RST_RSM_B, 0); > + ret =3D pm_runtime_put_sync(dev); > if (ret) > goto power_resets_restore; [ ... ] > @@ -2005,18 +2007,18 @@ static int rzg3s_pcie_resume_noirq(struct device = *dev) > goto assert_rst_rsm_b; > } > =20 > - ret =3D rzg3s_pcie_power_resets_deassert(host); > + ret =3D pm_runtime_resume_and_get(dev); > if (ret) > goto assert_rst_rsm_b; [Severity: High] This problem wasn't introduced by this patch, but do these runtime PM calls [1] unconditionally abort system suspend and resume? During the noirq sleep phases, the PM core disables runtime PM. In rzg3s_pcie_suspend_noirq(), pm_runtime_put_sync() then returns 1 or a negative error such as -EACCES, causing the if (ret) check to abort suspend. In rzg3s_pcie_resume_noirq(), pm_runtime_resume_and_get() similarly fails while runtime PM is disabled and aborts resume. [1] https://sashiko.dev/#/bug/linux-53a16ad9-4c25-4208-9722-ccbc2f6de282 --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203093224.2473= 49-1-claudiu.beznea@kernel.org?part=3D1