Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp943494lqs; Wed, 6 Mar 2024 01:14:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZEBetwfHipeYFGQLQbUjK/nfPEerz7Qz465Bbw2k3Eg1sVaEo0wEdLujHKauahDqBtEeW/+DKBqcMDbTothlyMP7r7PUe0xQpyACMrw== X-Google-Smtp-Source: AGHT+IECwD7y3go/mnBknoPNfKZ6gsvStSLfsBLvTIy84WULS7E1yqjqs56DUYlaIgnn65qs4TRG X-Received: by 2002:a17:906:4546:b0:a45:aef0:c3f0 with SMTP id s6-20020a170906454600b00a45aef0c3f0mr2371972ejq.68.1709716476798; Wed, 06 Mar 2024 01:14:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709716476; cv=pass; d=google.com; s=arc-20160816; b=mlHZHSWTGAdMGuRkAgYtPNDh0ZDF2KDX5wd1BV8GGiqeaXaUSUffXLTW3HNleIPRXZ hrylymf9bEWAPTuaQjqDZSH0i5FjtrcdKpbpwjdgm1miG1ECGXfhtzRSaHk6lIWyWZ7h OQDOgoOHfrpVLaMItUvB2hoUBO6WUgb8fRHnNsOoLc+B6n9TKN0YRlFMDvF79FtlwRU8 oaRAJLn8tdPDy8bm81XSPVK/3z4DA3tV3ucLoNWZ7t/l2Aivy+qfpBc2K98Jh2Lz7Xl4 bdxABN8m29uM8ojYrwlcG1QaKHVfXaarPHsSpkZwwkhaSli3T6YlRR7XcFSjTCZ9bApe rJFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FutFfV0T3oGLztirWPET0etwXpjfc3/qIa1lZwuu8B8=; fh=euwo2KPc2gqOtIh2jLosIpgY6i6ub+cLBw1Ugg4yn68=; b=Mfe+D2D89uwkAhBlHjEC73veEDsPUowzjjMDSBau5sq8myzZ2CSlxFUkuSrwqasoTR 0+DseTHSdfwKWz63pgxmEDPvP0Zha23IFseh6LIGcRzLDqWw5PaJEGoU4YTwCOYR5Q30 h1AmKdfAyWHJYLXrHn3Gl4QphSI3JWZaJGCRynuhm9+YteIlnPo2rHr7r4wBHxLcuID5 96bzW7EcIx97yOKVp/nB9lR0eiDGenuYnj1cRhBLA2B25Y6PB3ZGM2Gx0WYhJjgiMH60 DujYEEqRUZ+7y1pN6CLgSMbyjA/uD+VCmSyGAU9FJ1NKw+LYb5210xkhS+tw2b68NKUQ W5Bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CrOgL34i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hg21-20020a170906f35500b00a45a369199bsi1548643ejb.474.2024.03.06.01.14.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 01:14:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CrOgL34i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93600-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 859BD1F2568E for ; Wed, 6 Mar 2024 09:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97E6E5DF10; Wed, 6 Mar 2024 09:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CrOgL34i" 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 AE30B5D8FA; Wed, 6 Mar 2024 09:12:25 +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=1709716345; cv=none; b=FS1+wbbFBYL3hzM5AE3SNEd8ALD/OMOssEjMMuYaJfVckQx6tmvwVhY6aU/6TYF4TX6SWEBEQAP85qEo4HCeaXIegmHXoa0quVM70av7SK9YYYiLPG30ImuwiOOflDhCiALU+I1fujIDA2GHp+dCrr0rOw0G/3W4aj+tuClT+kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709716345; c=relaxed/simple; bh=e/HA3/Wu6r00AM+Hcn0703vmIttHljfM3nHEyflR5DY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H49t1wCyDZrwHy8qZjCwN3Ah4eB820KHA2LFC2Q0VQaZlDPMI8qLony6GetoXVQUhs666CtoyW/UHB7atEp4IJvOIuryM96Ek7n97MykEJ3n4x92JF7ol801aPObHhu0itjP/OV1gS3v+OGcmA6jN2AWNTBnEGtfSw2k/+c0HJU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CrOgL34i; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19225C433C7; Wed, 6 Mar 2024 09:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709716345; bh=e/HA3/Wu6r00AM+Hcn0703vmIttHljfM3nHEyflR5DY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CrOgL34i8C9TMoIflZBCmnMRQNCK7UwMEqK8eS7KWQRgfDrlYUZ3ZHnkLyxeLxSZ8 hcvhIvdFxhiY+wOjKtO7GkIv/+iF1a/Y68Ek9DIbj2gfpaekgeRFmKg1WsQx4Ro3se Y2Dty1mvJm7+Tc2gk7yTfHJ+4qOUKE8+XoMjN8PYywVkM6wu30RKvKhv4UrXmxJ8WV 8oMu52r2nEjjhCb4fcNAzqdDTDkGHJ/0OBFwDfVZNV8IsHD433pGC+XcfOSWH7bAcR oYtbkTVfnlUhMB49f58Cbz1RhvTat7xgm0mdlOThUdlhiR4k7Xy7c7f79+upTdD1EP sz7CG4PEerjmw== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rhnKB-000000008RC-0EJv; Wed, 06 Mar 2024 10:12:31 +0100 Date: Wed, 6 Mar 2024 10:12:31 +0100 From: Johan Hovold To: Dmitry Baryshkov Cc: Manivannan Sadhasivam , Johan Hovold , Bjorn Helgaas , Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 00/10] arm64: dts: qcom: sc8280xp: PCIe fixes and GICv3 ITS enable Message-ID: References: <20240305081105.11912-1-johan+linaro@kernel.org> <20240306063302.GA4129@thinkpad> <20240306083925.GB4129@thinkpad> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 06, 2024 at 10:48:30AM +0200, Dmitry Baryshkov wrote: > On Wed, 6 Mar 2024 at 10:39, Manivannan Sadhasivam > wrote: > > On Wed, Mar 06, 2024 at 08:20:16AM +0100, Johan Hovold wrote: > > > On Wed, Mar 06, 2024 at 12:03:02PM +0530, Manivannan Sadhasivam wrote: > > > > Just received confirmation from Qcom that L0s is not supported for any of the > > > > PCIe instances in sc8280xp (and its derivatives). Please move the property to > > > > SoC dtsi. > > > Ok, thanks for confirming. But then the devicetree property is not the > > > right way to handle this, and we should disable L0s based on the > > > compatible string instead. > > Hmm. I checked further and got the info that there is no change in the IP, but > > the PHY sequence is not tuned correctly for L0s (as I suspected earlier). So > > there will be AERs when L0s is enabled on any controller instance. And there > > will be no updated PHY sequence in the future also for this chipset. > > Why? If it is a bug in the PHY driver, it should be fixed there > instead of adding workarounds. ASPM L0s is currently broken on these platforms and, as far as I understand, both under Windows and Linux. Since Qualcomm hasn't been able to come up with the necessary PHY init sequences for these platforms yet, I doubt they will suddenly appear in the near future. So we need to disable L0s for now. If an updated PHY init sequence later appears, we can always enable it again. > > So yeah, let's disable it in the driver instead. Johan