From patchwork Fri Feb 23 15:21:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 205465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp656159dyb; Fri, 23 Feb 2024 07:27:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU34MVJUR6V7aQAKg7eUui9uy0L92Df457VPCopNM2ZnH8VtVScF4Zv2LyklMTyy057CdlWW2hQdfoTjFQDl+L+LV+OlA== X-Google-Smtp-Source: AGHT+IEr6jKX5GPakF2y+vwDEZSNRTA9sRRcpTEvo5EILtl/yTaW+tIF6GA7LRpdFlIoCDpV5vsw X-Received: by 2002:a1f:e602:0:b0:4d0:36e3:40c3 with SMTP id d2-20020a1fe602000000b004d036e340c3mr221279vkh.13.1708702037037; Fri, 23 Feb 2024 07:27:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708702037; cv=pass; d=google.com; s=arc-20160816; b=NRDdT8QL/KfQc7KLROHGH9+2sYmwwixHxk9vSBiuoEoyXzTJrrzd1x32vJDzEEDYI5 qoQ2xnuzJMkOSn9IbN5uPzEPSP0NjthXiIFC+EF77f96P5Uft4YyjEJW1Yq20y8HdTB2 y8s+kg/fYZcYj9f0TOH6WWweVBV5U2fM3thPGHXY4wJpurm6fpPGEthY2318iKeBNP9I NLLhMm/W0/i3mL07vtbsqIW4rQp+pN8CfXNeYzMQTEw3s3XO71G43NqLq+xGUJGSk3kP NmnNhA5r37FvnmSyihkfv8oso41ptnYLhDdEFoLjkYh8eRZ6IFYTVSKuONbqkSH/g9dP e0ZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=49WVUkHv4vCD4hshetBWMm1XuEeBsg8ErgWCpyNt4lo=; fh=ZRW1OjL+vw4nR3zHw03SqmaugmDx4dJgwazkhUMUovE=; b=ncHN/UptlvIqTXyTivfTE2V8dqy8Yw8meNUzZWzZoOVuG0ybPn2csC/oeB+sTRtGue FbAz3E/zcwjC1flgy3wAPSduxMsolpRBhovzUfzSbAti7BUaWICvSTiR+wxm28a190dq dsgBgDdW2MuP+A9HzcCDTgjSVirrf5ZQmIJCu05H5jg6QB+J06c1W2ro8B3NkiHaooHQ b159gvv63M0IBcBRHcueNn6QHbm0dkYy6z0nMTN24CaIA0cr8BgFtG/60uQ4OmMoQpXG RXyNiHbYj936BvsWdnwY8YtUswz/XA4DQsFXqVblImtdoaW88EQVdVVJfys4uC/LysRP 2BOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8zvAImA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78599-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78599-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f14-20020a056102150e00b00471b3382471si1072253vsv.273.2024.02.23.07.27.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:27:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78599-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8zvAImA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78599-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78599-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 295B11C24A07 for ; Fri, 23 Feb 2024 15:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6422712F379; Fri, 23 Feb 2024 15:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A8zvAImA" 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 280E383A0F; Fri, 23 Feb 2024 15:23:08 +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=1708701789; cv=none; b=FOa4kPp5vAFuv/P6ne9fQg4FOtO8rzx6+ZTK/ie7RFy00HdGFq4G71GXG3T4TJpD4HngbTyo0/rkJCpZa2ESqapDWNKImWLQhexFz0ETCP42boMnU4mhbmGXc0trjlrwVDA5HFTn2Wwcvg4TbzjApiLQzg8BwtGEpBLF1oshDaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701789; c=relaxed/simple; bh=N1lJfJsT0X5pb0MCpBJjAnSC5f6053KInsrfpjOCKaY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NP4ozAEEf+kPksVc3r4H9SiGC/q5ydI3U9Z7nwfog8WMk6VpCuR3oZyeSfaPOFwjlbA5DG0UxwMcit5MlAyRx/1V3ABaVMU5kCbJusmUGmuG+mm00qK7KLiBH760O1fGfN+AmUQo3VOx96tRb0YFMq8QXd4Z0P8fl8ECx71Aymo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=A8zvAImA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A130BC43601; Fri, 23 Feb 2024 15:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708701786; bh=N1lJfJsT0X5pb0MCpBJjAnSC5f6053KInsrfpjOCKaY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A8zvAImAr1MqUBYI5vxImRdSOuHk2sxTSfrG62ZHC16ADhX8y+4DNiagcklJbqwre O2IoWidiH5rqUjXaoTZ+BbSRhl03S8xJLDBu0fvUTAGmsNGZC7UU/5Zh9UmpBezh+c ZeKH5L8y3HsWb0sYv3MghGApcXdMRxhmpvUtepst2VTr9WddM9BFj4DUSUkFXIlpfm fjQMlxLaZeidHtvXCaLrjyF3zf3lIX23Q12qMAKPa0KAs7JxpdVuoqkmGE8Zm9xUCW CACDdJhazbYCG6sCFbI4v7VIYf5c+bSEWs1TYldrtmKJjTXeshPAaxUSjA2UgkUojw ypuqfG1Vc7uZg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rdXOJ-000000005Fj-1s8o; Fri, 23 Feb 2024 16:23:11 +0100 From: Johan Hovold To: Bjorn Helgaas , Bjorn Andersson Cc: Konrad Dybcio , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org Subject: [PATCH v2 08/12] arm64: dts: qcom: sc8280xp-crd: disable ASPM L0s for NVMe Date: Fri, 23 Feb 2024 16:21:20 +0100 Message-ID: <20240223152124.20042-9-johan+linaro@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240223152124.20042-1-johan+linaro@kernel.org> References: <20240223152124.20042-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791703947580221132 X-GMAIL-MSGID: 1791703947580221132 Enabling ASPM L0s on the CRD results in a large amount of Correctable Errors (Timeout) when accessing the NVMe controller so disable it for now. Fixes: 9f4f3dfad8cf ("PCI: qcom: Enable ASPM for platforms supporting 1.9.0 ops") Cc: stable@vger.kernel.org # 6.7 Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index 41215567b3ae..7e94a68d5d9f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -525,6 +525,8 @@ keyboard@68 { }; &pcie2a { + aspm-no-l0s; + perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;