Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp313966lqe; Sat, 6 Apr 2024 02:20:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFOEvHKIkB9TRzHv6f2adMlzydrswjNwxGIUwI60CGXeyj4/5ahV7FYKUMyzJjH4I7vrFBJBMINmJPUGAeDSTCnOyNbCcT6VwVNFhO9w== X-Google-Smtp-Source: AGHT+IFWPLhBSyEv2NKEE1LtYFF71u489vixNoXwKof6vT1HVydQvGCD0uDH058WEcRxYleArbDX X-Received: by 2002:ae9:e516:0:b0:78a:3827:e3e4 with SMTP id w22-20020ae9e516000000b0078a3827e3e4mr3916827qkf.64.1712395259074; Sat, 06 Apr 2024 02:20:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712395259; cv=pass; d=google.com; s=arc-20160816; b=GCr3yUYmgG7vHelr74omPJcw7SA7873Oon99HhsiYgdxdEwfrgcDnhwmYon5drak4S e2kQVedOSRh61LoFNz2ya3lSsWxXQ4odYLXEM5F74BUYJgYcz5hlCVVMs4ayZrd6g+eL JU5D4tFkNAuWuMdSRYPkAlRR5SRMmcLRkTJC0pT5/fxiYOImJfMS4nru+VVV/Gdus2rg S7JJFCK+HvhzbIg8iBsrYUXwmn/Ep+pOa9J2Z5xjbvuQaTS4yYQK2zm3xZtsjrW6tWkF GukcZB9K82dqCwb1a8d/UiSC2TbuZeBIb2r/oeeaqIpTHbIk/L36NGDk9gzEAfjUCgo0 oPoQ== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=t5GGidqTN8EYzkewG9QLCxGClKmN+KDdaZp3akjfFko=; fh=kBco523uC2TNd9jVvwlX9AslnmLj/hPf0+nSUHTATBo=; b=b1J38zlagRBedIOzTznHtnuB0WLq9eKmkIkZJn/4o08UJMb0BJoBaPFdBoJI6+2Dfc 2WQa9h2BwuCGCdgl4c837Z23a6+ky1UxDm73RVJtaOuu4DbwnB9pBqx5LMH3XHd1kFvM rXcNCElkJsn0obSsIRpotWpMmjgqcMQBOMacC4NqDtvbFpHgtzonv539z8knsJTGnT+/ cO0iZbmZCCAxZCiOttYFeCIPDXMU0pPPl2XRC/nzVr7N6nLrkpx6+ADQ8RVI44Zk9Vew npWV2re9bS58SHI/ZYBnkxRyu5UV9OltD3rNGkZpVjgn8mCiK4BDnyuNJY4wOWergH6k lQFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JuYAz4FM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133862-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. [147.75.199.223]) by mx.google.com with ESMTPS id c11-20020a05620a268b00b0078d4421ec57si4001302qkp.531.2024.04.06.02.20.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 02:20:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JuYAz4FM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133862-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 C58901C21104 for ; Sat, 6 Apr 2024 09:20:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 958D828366; Sat, 6 Apr 2024 09:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JuYAz4FM" 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 B1EE024A06; Sat, 6 Apr 2024 09:18:40 +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=1712395120; cv=none; b=Q8rrSCmf8A2V15n8WdmE3C7VgoP9lqnrEX8bdRHgyKlgN5vz6eS8IyM3EsdJRcb+ERWQ/UgzjwUg9uSb39j/JXq2sYN2B3FI4wWXxOfbnr9aJ7yz5MAn96jHyYDDLxF6UAlRMic3HO6AdHDHYbWZNMlbLstY9Fb47bkODAVGV3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712395120; c=relaxed/simple; bh=srWDqFupvZIFWW4YuJg9/k4T6xavGfgaXIAS7e13Kko=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=n4x2oC3+ZLzt3PFcJsnrtkQ2NQgTAxgp9mFPKcfceRKyPWHZgAjSliucDGWrig8K3F6JhqX5/FWzUwDZf0b6iryMPpFimpoRUwoef1pvmoOEMU24YKMH74uKVYz/m4UGkGFtNl/z8gZg9cpvqzdIoOPQWDN4W8/Z4GLM/mJq8gQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JuYAz4FM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD2D1C433F1; Sat, 6 Apr 2024 09:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712395120; bh=srWDqFupvZIFWW4YuJg9/k4T6xavGfgaXIAS7e13Kko=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=JuYAz4FMXeLoVF7y6YymuOAgO0ndvqFogoacYc2yFzZFuzEjf9P7rd1qdQRjBCMoj BYEDb0xtj1oR3oIp1ipb77zrlwdVVRQL4j40o+Ie23nYUWxYdXaK69aw6PAey4Aq7O rogIOW6Q9/AwMnLMGPct5Djexz/lEQgbAu/QrVX5EsD+DwXYnvJyEQuUnvMVuYCw0L shXbzAlyfW8rzmhjNqpQt/WpaCZG/KzWw9cIKrPS1m10xfDXBdvrd06JkdhrHltW06 gBYFooD+7c52V8tCKcAv5Iy6gScNMo/6dd1gz63klI0iiKAn4j2GldO018D7jz+6on eBW+hicw4xgSg== From: Vinod Koul To: linux-phy@lists.infradead.org, Marcel Ziswiler Cc: linux-imx@nxp.com, Lucas Stach , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Richard Zhu , linux-kernel@vger.kernel.org, Marcel Ziswiler , Fabio Estevam , Heiko Stuebner , Kishon Vijay Abraham I , Marc Kleine-Budde , Rob Herring , Sascha Hauer , Shawn Guo , Tim Harvey , Yang Li , imx@lists.linux.dev In-Reply-To: <20240322130646.1016630-1-marcel@ziswiler.com> References: <20240322130646.1016630-1-marcel@ziswiler.com> Subject: Re: [PATCH v1 0/1] phy: freescale: imx8m-pcie: facing pcie link-up instability Message-Id: <171239511427.352254.8525089049107113141.b4-ty@kernel.org> Date: Sat, 06 Apr 2024 14:48:34 +0530 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Fri, 22 Mar 2024 14:06:31 +0100, Marcel Ziswiler wrote: > In our automated testing setup, we use Delock Mini-PCIe SATA cards [1]. > While this setup has proven very stable overall we noticed upstream on > the i.MX8M Mini fails quite regularly (about 50/50) to bring up the PCIe > link while with NXP's downstream BSP 5.15.71_2.2.2 it always works. As > that old downstream stuff was quite different, I first also tried NXP's > latest downstream BSP 6.1.55_2.2.0 which from a PCIe point of view is > fairly vanilla, however, also there the PCIe link-up was not stable. > Comparing and debugging I noticed that upstream explicitly configures > the AUX_PLL_REFCLK_SEL to I_PLL_REFCLK_FROM_SYSPLL while working > downstream [2] leaving it at reset defaults of AUX_IN (PLL clock). > Unfortunately, the TRM does not mention any further details about this > register (both for the i.MX 8M Mini as well as the Plus). Maybe somebody > from NXP could further comment on this? > > [...] Applied, thanks! [1/1] phy: freescale: imx8m-pcie: fix pcie link-up instability commit: 3a161017f1de55cc48be81f6156004c151f32677 Best regards, -- ~Vinod