Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp648212ybb; Wed, 25 Mar 2020 07:03:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuMetYHxOQr4XqIvkH51H+CwiHPLZksuzHMHBM9pX6dCbo2gtyl8FCcEj1WBW+98rPy9pk3 X-Received: by 2002:a9d:8e4:: with SMTP id 91mr2688826otf.130.1585145009329; Wed, 25 Mar 2020 07:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585145009; cv=none; d=google.com; s=arc-20160816; b=r1oMS+piMrEoQrN0cOKOlg0vurK/ItQZT3h0FdbS/BsuhGS65c7bvJZtZtKE0QoFwW QYT+M5Xbq4MCDapcmoFyPOwC0jADFMO45b91KnaNOU++kuLO/In4xh7ndw0RCf20b8iQ KOXGNswuIJH48iJCEDOx1sR8KxR+2pK8PxAzEtKeuHuZ/FD9S6OAAjs6Sbcnsji0EklK pWQkCrAhd4sEFmlQwF4kl5aeIzwYXPeO98FpX7w6bm3aWZ4jYhuGL5an0aO67KdA2CGf W4YZgFUYYvabNluuDg89P+LMkKA/8GC7T7/ByuiV7Mhb+At86nntJND6Gsr1p2PcPdKQ ZOpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=EerULfemy2W+M7YTPQPDKXIDApM3m/+qcklquHsA850=; b=ioWZLY6IwjktRzBgjUfuhubeqSx0qrJIxIIKRFEyqOxSA7Rv/UMX+l1HLofDhTiTHu gvO5IMj5e8L1QcRacW8KpSww8DQxBowag8j6hs8xwoyA+As+YAfMuo4hajmEGdHZuz4L U7l6Mn2+jx+5QUWV3IAgJcQ42VK/m9+fqIXDplqo9XLZXSK768kzlgCLg08o7UCn4ISZ amXC35iE5CJ5TNh05d3jAuwynmEoEy4kAtBx8udym+DNlGys4ZgpshAHFVoOs4dQInJn bJ/tMykr+zeA3H+TUhdt1yk0QSD05rPI6MhAmKul//JXt0JwOQWS5ThjuncBGCg5J5FL tsyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=HioPWdnn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w65si1547590ooa.42.2020.03.25.07.02.39; Wed, 25 Mar 2020 07:03:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=HioPWdnn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727574AbgCYOAc (ORCPT + 99 others); Wed, 25 Mar 2020 10:00:32 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:12804 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727394AbgCYOAb (ORCPT ); Wed, 25 Mar 2020 10:00:31 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 25 Mar 2020 06:58:59 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 25 Mar 2020 07:00:30 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 25 Mar 2020 07:00:30 -0700 Received: from [10.26.72.231] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Mar 2020 14:00:27 +0000 Subject: Re: tegra124-jetson-tk1: sata doesnt work since 5.2 To: LABBE Corentin , Nicolas Chauvet CC: Thierry Reding , Prashant Gaikwad , , Michael Turquette , , , , , , References: <20200319074401.GA4116@Red> <20200325134003.GA27961@Red> From: Jon Hunter Message-ID: Date: Wed, 25 Mar 2020 14:00:25 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200325134003.GA27961@Red> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1585144739; bh=EerULfemy2W+M7YTPQPDKXIDApM3m/+qcklquHsA850=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=HioPWdnnu+6z3HdUYuZP9Yfg2iW3zipkeqVa89l7LiyD75kY2jRtJacOcbAaIHYKR AroeGPVnf8Yna6wGjB+4ebS/TJpjIM3xShlEuPOmOhUYrgUeV68iBY+0sAOj0Lglx4 GwaOKLz9vZn4bDycD+Q70k2QgQFOq7WmOUVwhT1Wj6WoGAYCeQmwFXdmmZM4k3ldmS mJg9pbpDkGoULAOKsIfLvoib9EqOV7t5grzo0JL+TS1XU9Zq/ExADDCLlSeMYLKOV4 mf69jlC87HOjwG77NFw403cMGNzEwA7YbqMr/E6lkwEMdO6wiD++b2t0rofUtLk8Xi YPVdmODECP57g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/03/2020 13:40, LABBE Corentin wrote: > On Thu, Mar 19, 2020 at 08:55:38AM +0100, Nicolas Chauvet wrote: >> Le jeu. 19 mars 2020 =C3=A0 08:44, LABBE Corentin = a =C3=A9crit : >>> >>> Hello >>> >>> sata doesnt work on tegra124-jetson-tk1 on next and master and at least= since 5.2 (but 5.1 works). >>> [ 0.492810] +5V_SATA: supplied by +5V_SYS >>> [ 0.493230] +12V_SATA: supplied by +VDD_MUX >>> [ 2.088675] tegra-ahci 70027000.sata: 70027000.sata supply ahci not = found, using dummy regulator >>> [ 2.097643] tegra-ahci 70027000.sata: 70027000.sata supply phy not f= ound, using dummy regulator >>> [ 3.314776] tegra-ahci 70027000.sata: 70027000.sata supply ahci not = found, using dummy regulator >>> [ 3.323658] tegra-ahci 70027000.sata: 70027000.sata supply phy not f= ound, using dummy regulator >>> [ 5.236964] tegra-ahci 70027000.sata: 70027000.sata supply ahci not = found, using dummy regulator >>> [ 5.245867] tegra-ahci 70027000.sata: 70027000.sata supply phy not f= ound, using dummy regulator >>> [ 5.254706] tegra-ahci 70027000.sata: 70027000.sata supply target no= t found, using dummy regulator >>> [ 5.310270] phy phy-sata.6: phy poweron failed --> -110 >>> [ 5.315604] tegra-ahci 70027000.sata: failed to power on AHCI contro= ller: -110 >>> [ 5.323022] tegra-ahci: probe of 70027000.sata failed with error -11= 0 >>> [ 35.694269] +5V_SATA: disabling >>> [ 35.697438] +12V_SATA: disabling >> >> It looks strange, because (on same device) , I have sata working as >> appropriate, but ethernet fails with me. >> https://bugzilla.kernel.org/show_bug.cgi?id=3D206217 >> >> It might worth to have another report. >> >=20 > Hello >=20 > Mine has ethernet works well. But I hit many problem with it and older ke= rnel. > Perhaps the 5.1.21, were I am stuck, does not have it. >=20 > Anyway, the tegra of kerneci has the same SATA problem. > https://storage.kernelci.org/next/master/next-20200325/arm/multi_v7_defco= nfig+CONFIG_SMP=3Dn/gcc-8/lab-baylibre/boot-tegra124-jetson-tk1.txt >=20 > Maintainers, any idea on this sata issue ? I have checked our bootlogs for v5.6-rc7 and don't see the issue with either the tegra_defconfig or the multi_v7_defconfig. I am wondering if this could be due a difference in the bootloader version. Currently we are testing with a v2019.07 u-boot bootloader. Looks like the kernelci board is using an older u-boot. Obviously it should still work, but would be good to know if the reason why were are not seeing this is because of the bootloader. Another thing to check would be the pll_e clock frequency on a working build and non-working build to see if there is a difference in the pll frequency that is causing this. Cheers Jon --=20 nvpublic