From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E22ECCD199 for ; Fri, 17 Oct 2025 16:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k7dgxrytGZiMwsANefyfq9VwchU7OeygX1eXp3t4RQg=; b=o1E2m+B92cxXQD MypLXYpYtZVyrjoLoU5cgj+hi2zKi5+cyrzFFQC3PUg5rMeeG5jHxRbrWL9fJ6tn9hR+t+NRB358W 6K6V0bQxg4ktDIx8/9qP623AqtA+23v39u8QBMQWzlLgg2v28KcFZPh2HJqsI5qIFdV6fhoA+vaHz qn8Qoxm4mkxxCJFi2dhfP2xio2t4UYTZqMQO1wTHwL87CJ6kjScY7yBkzW31xmH6fh1RUrZkn+9hK FYSGK/6oufbtpRLfxUbNHjORhecfjdz6TfoFJgap0ZaKH5ARMis5RDY48m5Xux+nnEqoswq/C/tGt sPsX6DXcij78zosrzTDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9nHS-00000008RQQ-2IjX; Fri, 17 Oct 2025 16:26:14 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9nHR-00000008RPi-02zq; Fri, 17 Oct 2025 16:26:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 2D4A66052C; Fri, 17 Oct 2025 16:26:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C12DDC4CEE7; Fri, 17 Oct 2025 16:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760718371; bh=oDHMy3vr+9Qtf5+BxB/LWUM1G0y5BBEx2S+OAkVam68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L+8YGTUm5DRRj+PSEOr+b+35C/DdzCkNLCoKTghG4WwSDNg6LWVop/Ebxmmd4xOyr yA9ryLKuB6UzANJSoc/YTxel2IgtGwklt1M7GDQ+Dyaun2QQlfgfekSyOEfD8BgkKA 0cbMHOAXnh3faqniTspYQ39jYxjWkL3rARpLy0livogtsRdbnMoNcEUq5/YWeO0GAB ZBgaoEOT1d37lXNejE+0xH/d6F7C+dBtJIM8u1UGPzFmLgWB0p+6LB2R2zd1Uu11q0 +qv2HDSlIwe8zyuNVkUAa7WPK12eTDIIcL77VfhOf1lpQcAkt+99At0kta4jN2WBq0 yK7502pHdSDGQ== Date: Fri, 17 Oct 2025 18:26:04 +0200 From: Niklas Cassel To: Bjorn Helgaas Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Heiko Stuebner , Shawn Lin , Kever Yang , Simon Xue , Damien Le Moal , Dragan Simic , FUKAUMI Naoki , Diederik de Haas , stable@vger.kernel.org, Manivannan Sadhasivam , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v2] PCI: dw-rockchip: Disable L1 substates Message-ID: References: <20251016090422.451982-2-cassel@kernel.org> <20251016172504.GA991252@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20251016172504.GA991252@bhelgaas> X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Thu, Oct 16, 2025 at 12:25:04PM -0500, Bjorn Helgaas wrote: > On Thu, Oct 16, 2025 at 11:04:22AM +0200, Niklas Cassel wrote: > > The L1 substates support requires additional steps to work, see e.g. > > section '11.6.6.4 L1 Substate' in the RK3588 TRM V1.0. > > > > These steps are currently missing from the driver. > > Can we outline here specifically what is missing? Sure. > > > While this has always been a problem when using e.g. > > CONFIG_PCIEASPM_POWER_SUPERSAVE=y, the problem became more apparent after > > commit f3ac2ff14834 ("PCI/ASPM: Enable all ClockPM and ASPM states for > > devicetree platforms"), which enabled ASPM also for > > CONFIG_PCIEASPM_DEFAULT=y. > > Should also be able to trigger this problem regardless of > CONFIG_PCIEASPM_* by using /sys/bus/pci/devices/.../link/l1_2_aspm. > > > Disable L1 substates until proper support is added. > > I would word this more like "prevent advertising L1 Substates support" > since we're not actually *disabling* anything here. Sure. > > If the RK3588 TRM is publicly available, a URL here would be helpful. I couldn't find it on any official rockchip or radxa URL. Will submit a v3 that fixes your comments. Kind regards, Niklas _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip