From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B700538910F; Tue, 21 Jul 2026 18:57:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784660235; cv=none; b=inTBIZmUoHKmJDXClzY8fm3a4ZZBcRoRmOvvVTMrFXH7/nYXV5abS4A8nM1ZfAa6V4pOetITCpbdfHVyPIJg9kDHBr9x6AFf50g4OX7E4UeTu4U71NQv5/x2Xlz4hsbUgBh+XsIEirV9/Z3N5Xi2ZdAdgIpmjWcYZywXVB+QLs0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784660235; c=relaxed/simple; bh=47xAqdaIB+C8W/7rI1kSbOdjYcVDKVEecicQx7m1Wow=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kzkMZgEPGDKS9Iits9Fn+aQDK0/sXsjmuNJB/qzdYsVZ9ldQoXzxfI8zuhnlH9dhBiH6k0AFTZQAcotS5iuipTMXWXdbjBbzzDoJ1HYEOIV9QtksrM5sw7erC90Or0Z3EdT1RzeHrrRWJT9ZcmjhYML93OiH6yQyPUCQwtt5tf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZDXTuncG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZDXTuncG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29A3C1F000E9; Tue, 21 Jul 2026 18:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784660234; bh=mIwiC/Yst+PtLgibCCfxLI1lwks8rLBrerNNxEoXEk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZDXTuncGhw7gHD2Bz9sPG1F7YZRfGq6dkjDGNH8giuAN+LoM0EQxyzgftwfvdlYmY yl4Zdr2NR0PztQ6p9y0G4ahr7Z+wosVGefKMs4frA93ISr/E+YhHxBiFcoX4UhNsNq QlpOHJKHT5h7etIvGjl8GSPzkscgoztOTEyZqD/A= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Shawn Guo , Manivannan Sadhasivam , Sasha Levin Subject: [PATCH 7.1 0902/2077] PCI: qcom: Disable ASPM L0s for SA8775P Date: Tue, 21 Jul 2026 17:09:35 +0200 Message-ID: <20260721152614.093683193@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152552.646164743@linuxfoundation.org> References: <20260721152552.646164743@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shawn Guo [ Upstream commit 29f692985819f4089f02a86e151a72f6d4cdd90d ] Due to a hardware issue, L0s is not properly supported by the PCIe controller on the SA8775p SoC. If enabled, the L0s to L0 transition triggers below correctable AER errors and may also affect link stability: pcieport 0000:00:00.0: PME: Signaling with IRQ 332 pcieport 0000:00:00.0: AER: enabled with IRQ 332 pcieport 0000:00:00.0: AER: Correctable error message received from 0000:01:00.0 pci 0000:01:00.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID) pci 0000:01:00.0: device [17cb:1103] error status/mask=00001000/0000e000 pci 0000:01:00.0: [12] Timeout pcieport 0000:00:00.0: AER: Multiple Correctable error message received from 0000:01:00.0 pcieport 0000:00:00.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID) pcieport 0000:00:00.0: device [17cb:0115] error status/mask=00001000/0000e000 pcieport 0000:00:00.0: [12] Timeout Hence, disable L0s for the SA8775p SoC to allow it to properly function by sacrificing a little bit of power saving. Fixes: 58d0d3e032b3 ("PCI: qcom-ep: Add support for SA8775P SOC") Assisted-by: Claude:claude-4-6-sonnet Signed-off-by: Shawn Guo [mani: commit log, corrected fixes tag] Signed-off-by: Manivannan Sadhasivam Link: https://patch.msgid.link/20260419093934.1223027-1-shengchao.guo@oss.qualcomm.com Signed-off-by: Sasha Levin --- drivers/pci/controller/dwc/pcie-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 8604aa564dce67..2af75739797512 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1473,6 +1473,7 @@ static const struct qcom_pcie_cfg cfg_1_9_0 = { static const struct qcom_pcie_cfg cfg_1_34_0 = { .ops = &ops_1_9_0, .override_no_snoop = true, + .no_l0s = true, }; static const struct qcom_pcie_cfg cfg_2_1_0 = { -- 2.53.0