From nobody Fri Dec 19 19:01:34 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3837A3431E6; Mon, 10 Nov 2025 22:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762813793; cv=none; b=lagb2bkWdecUOlzWNyQf6Y7rBxj0SffEqp0gxRF2KV7PSAjgPtmbV0UW6jT+cSeZnIL4wp92iUsf/p485JcsSe1HQqOPumytzTfXro9ExWV1no0dS3IAiDrFKy6ppxwl2mAvvcTq/H0V4M7JgHKUx+mZCde2N8XLUu5/q07RmF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762813793; c=relaxed/simple; bh=psqvw1U6/SBJm+8SC9eq36+YROk3NZIjyrzaiC/0Ys0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ehS4DiQiHD2gqTnhrE/A/sA+hTU2AwLDn4qqIXpC92c+UAL0TTfXKW3JqTF8fpBNTd0lzW62x//afYvJAKKDbAIVp5Tzm7/kpBIKm14I9FL+YhTIUGLPhI7sXfZGLyG/Erq4ruaKOc65EqffDFqfrCeFWjhb1b4IDjbNKdxFMV4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rmwSZj/R; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rmwSZj/R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98D44C19423; Mon, 10 Nov 2025 22:29:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762813792; bh=psqvw1U6/SBJm+8SC9eq36+YROk3NZIjyrzaiC/0Ys0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rmwSZj/Rzf9cPQBKu+Fe1z4KaQXQxyTON//wGOlmmhHpzxrYpozRO3vbbIppWtMCj gWOy+RTwukP3QWrVKfR7FARDJppBvELnHxBg85I8TqFqPq7eEhaXWGtdMOwIQNdYQX fr0IuMxKP37DvWYFQ826uoe2IMag5HpP/FPxjxwNKXreN14pJ6yIxtDtVWJIkkHHnW uNE4EhGfEsYZWuMz3WuK3VfgwsPttdYdzzyLBSxsWJ3c69R6P5Gp7jN5F13ls10HVx tC1xyAXUjkxxI7QGikQsZoQVt+XfqcEkQuKCJseFBmwqNZtg0+scUe1qN+HnF1rIhD ztVLNbx+Bwlfw== From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Christian Zigotzky , Manivannan Sadhasivam , mad skateman , "R . T . Dickinson" , Darren Stevens , John Paul Adrian Glaubitz , Lukas Wunner , luigi burdo , Al , Roland , Hongxing Zhu , hypexed@yahoo.com.au, linuxppc-dev@lists.ozlabs.org, debian-powerpc@lists.debian.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH v2 4/4] PCI/ASPM: Avoid L0s and L1 on Freescale Root Ports Date: Mon, 10 Nov 2025 16:22:28 -0600 Message-ID: <20251110222929.2140564-5-helgaas@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251110222929.2140564-1-helgaas@kernel.org> References: <20251110222929.2140564-1-helgaas@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Bjorn Helgaas Christian reported that f3ac2ff14834 ("PCI/ASPM: Enable all ClockPM and ASPM states for devicetree platforms") broke booting on the A-EON X5000. Override the L0s and L1 Support advertised in Link Capabilities by the X5000 Root Ports ([1957:0451]) so we don't try to enable those states. Fixes: f3ac2ff14834 ("PCI/ASPM: Enable all ClockPM and ASPM states for devi= cetree platforms") Fixes: df5192d9bb0e ("PCI/ASPM: Enable only L0s and L1 for devicetree platf= orms") Reported-by: Christian Zigotzky Link: https://lore.kernel.org/r/db5c95a1-cf3e-46f9-8045-a1b04908051a@xenoso= ft.de Signed-off-by: Bjorn Helgaas --- drivers/pci/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 922c77c627a1..b94264cd3833 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2523,6 +2523,7 @@ static void quirk_disable_aspm_l0s_l1(struct pci_dev = *dev) * disable both L0s and L1 for now to be safe. */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1080, quirk_disable_aspm= _l0s_l1); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_FREESCALE, 0x0451, quirk_disable_as= pm_l0s_l1); =20 /* * Some Pericom PCIe-to-PCI bridges in reverse mode need the PCIe Retrain --=20 2.43.0