Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp79824lqb; Tue, 4 Jun 2024 05:52:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWehPOIoBELeg5d/JfWZaqlPBlb+OsY2z1Qg+SYujvKu0Fl8oEw9n5vaW1GlR1Ps2Ax8AUB2C9FUSRbECg/iADfG7BJO8QP0WrzVz9ciQ== X-Google-Smtp-Source: AGHT+IHEHMUGfEUlamSjHNy6b7UapHXDVbEYQrkuLk2VfKxw9pRQ0j2gk0sUYwTULW6MMheq6lug X-Received: by 2002:a05:6214:3983:b0:6af:bd6a:3832 with SMTP id 6a1803df08f44-6afbd6a398bmr53989936d6.46.1717505545668; Tue, 04 Jun 2024 05:52:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717505545; cv=pass; d=google.com; s=arc-20160816; b=BtJ1NFU13ZcuyD5RwIVRo1yAcb0sWoT1x9Aq1Fs6v1Zm2/XJ2EILiug8CV30iMJJcy YO/SBG4pGl6bDZ9Ri3Um1zGtSvgXjOasK8kPrfiIVViOoZgoTEn4LMrHE+rtHtXMgWI6 RrhYrURFWiaVDlrAiuej5V24jBMsfB1bsfFzUddJ8qaUMvSAJB+F094ePla9SYEKzpoo smCeW+FgjdfVtPZzxgEoXfQ2ZHQKp+FK9WyAp6Nnd++uDkUy6DfSeAfSoS5RBTMmTdup Pgbo9Lmn3sv/0Y1bUoRnpi5C/KkVb5EOx3pRqVS6gi5yma+/CrCSZcrIuti65uTAbKtG lPXg== 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=9/U2eEhld3ug4u4GlCcCVgng7mZzpwntKZRelA00Zzo=; fh=87V4DBZuTPv5EyhClGNEL+FTbdjXlTP0dNCG+h7qGQU=; b=A3/977U86eyaLoUigbjU3rJkFqZIt31eXP2PuOydX5m6AwKlkU8GSigi2hvQsjJ/rQ 40qL4lelSqEj7AIyn1racChGWtC0Cnhxjg1gNXkw6OWrTZ1dlf6pi2WxYqYI27DSgzfw c28U45PX1wmycRCA/eRK2yA9iU7a8nC8dRKLb2kDj0LTjOw3mbBiXui9S3NZSUqMf2jG 1rI/PA1ecvlRzXcPgK++pcTc3sEb9nXBRZ0SQzSF44+qSR4U/Zs5IUv9dz26qqdtgMmi HWaS8UCM6lq79P+nfTM9N8/ueXzzFpLA1BbSMyDaT+uaruwczEr5bDOXPvyY076sGNg2 zLRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cssoYtmI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a7393efsi7460166d6.32.2024.06.04.05.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 05:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200634-linux.lists.archive=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=cssoYtmI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200634-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BE4F01C255B1 for ; Tue, 4 Jun 2024 12:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BD8F14885D; Tue, 4 Jun 2024 12:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cssoYtmI" 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 5A0D714882E; Tue, 4 Jun 2024 12:47:31 +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=1717505253; cv=none; b=Wg+qptplPh4JNKjfpj/GqI2y/r2PeaVaek+9R+DgucrSwwDh/ADJNdMykcJl6apwrX9lxkAzP5K0AIJZrNF+J5I1CepsbCGk9VC7diuQ+IWiEA478w4f0pYKtARlhQmF+sVTipGpqMKauCvKgjD5Hw6yXTRDZQqjlDRzQzkCw2Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717505253; c=relaxed/simple; bh=rdj7NjUA2e8kdTVCfbHCdHY3DC1PZ42LL1L5p9ecFaM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=phHVA6Vv4tcNoe9x1GvOe4DVYIgDISfO/qW58X4hHoxDa/iSASPh6EN3NPZZGjCgLUNpSMOAsjVGWPC/3poXqeq6XCzB6uNvc7K0gHbRXWFL0uaOydUR1/D4XCT+2zcPmr0hA4/fBo0RxfO9KsOOxttlDWEzTvTAxF11vUjjAPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cssoYtmI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFCBDC4AF09; Tue, 4 Jun 2024 12:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717505251; bh=rdj7NjUA2e8kdTVCfbHCdHY3DC1PZ42LL1L5p9ecFaM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cssoYtmIOvOjotRBfBJ8ooWx6Q+a/lrXI3INmmSN55NAp8Et+jvl8yaUeqAbexC5o eurd7z6rAtBH7zxOO4XfvWjn0pY0EnNtyOoqJpA7Voq90KclyxV77FhU8xsVSiaIqf sAp/k0ylo48DouSSf9i/PI2RzMihI3Fy/FyRBbvqspMvDZjz3cV0zcKa2qrBMa8wTj oqNEr8ihwsO8Ehz1TuxHIajyKbTdM2pwGoj3m+U1wZCy398532ERBh2EfxYWJ3pu99 rvrKDtjwMDt11tm5/izgU1k/daYIL9VRfKdNI+ShrtY42bGpUYTjhu6gcaKEiPndhT /x8NHNhpzBwhA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sETZa-0000000080f-18hx; Tue, 04 Jun 2024 14:47:31 +0200 Date: Tue, 4 Jun 2024 14:47:30 +0200 From: Johan Hovold To: Abel Vesa Cc: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] phy: qcom: qmp-pcie: Add X1E80100 Gen4 4-lane mode support Message-ID: References: <20240531-x1e80100-phy-add-gen4x4-v1-0-5c841dae7850@linaro.org> <20240531-x1e80100-phy-add-gen4x4-v1-2-5c841dae7850@linaro.org> 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 Tue, Jun 04, 2024 at 03:25:52PM +0300, Abel Vesa wrote: > On 24-06-03 14:46:12, Johan Hovold wrote: > > I tried this patch along with the DT changes and the link on the CRD > > still comes up as 2-lane: > > > > qcom-pcie 1bf8000.pci: PCIe Gen.4 x2 link up > > > > so something appears to be wrong here. (I noticed the same with your > > next branch last week.) > > > > How did you test this? Does the link actually come up as 4-lane for you? > > This is the PHY part. The controller needs some changes as well. Are you sure? It wasn't needed on sc8280xp (except for updating num-lanes in DT). > Yes, as of yet, I'm not able to bring the link up in 4-lanes mode. Thanks for confirming. > This however doesn't mean the PHY sequence is incorrect. Not necessarily, but it means it hasn't been fully tested and that it could potentially be the reason for the failed x4 link up. Johan