From patchwork Wed Nov 5 05:34:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Martin X-Patchwork-Id: 406864 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2D3E814008C for ; Wed, 5 Nov 2014 16:35:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750976AbaKEFfD (ORCPT ); Wed, 5 Nov 2014 00:35:03 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:18364 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbaKEFfC (ORCPT ); Wed, 5 Nov 2014 00:35:02 -0500 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com id ; Tue, 04 Nov 2014 21:34:22 -0800 Received: from HQMAIL103.nvidia.com ([172.20.12.94]) by hqnvupgp07.nvidia.com (PGP Universal service); Tue, 04 Nov 2014 21:35:51 -0800 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 04 Nov 2014 21:35:51 -0800 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 5 Nov 2014 05:35:00 +0000 Received: from nvidia.com (172.20.13.39) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend Transport; Wed, 5 Nov 2014 05:34:48 +0000 Date: Tue, 4 Nov 2014 21:34:14 -0800 From: Allen Martin To: Mikko Perttunen CC: Mikko Perttunen , "linux-tegra@vger.kernel.org" Subject: boot regression with AHCI on jetson-tk1 Message-ID: <20141105053414.GA24124@nvidia.com> References: <1411724593-4037-1-git-send-email-cyndis@kapsi.fi> <1411724593-4037-3-git-send-email-cyndis@kapsi.fi> MIME-Version: 1.0 In-Reply-To: <1411724593-4037-3-git-send-email-cyndis@kapsi.fi> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Disposition: inline Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org I tried booting 3.18-rc3 on jetson-tk1 and I'm seeing a hang during boot right before user space normally comes up. I bisected the regression back to this commit which just turns on AHCI. I don't have any SATA device connected to the board. commit 91816a7fe5a671b826d5288ed7b42e92117a8fe8 Author: Mikko Perttunen Date: Wed Jul 16 11:54:23 2014 +0300 ARM: tegra: Add options for Tegra AHCI support to tegra_defconfig This adds ATA, SATA_AHCI and AHCI_TEGRA support to tegra_defconfig so that the SATA support will be automatically enabled. Signed-off-by: Mikko Perttunen Signed-off-by: Stephen Warren Here's where it hangs, always at the same place: ... [ 2.370671] +1.35V_LP0(sd2): supplied by +5V_SYS [ 2.375732] +1.35V_LP0(sd3): 1350 mV [ 2.379522] +1.35V_LP0(sd3): supplied by +5V_SYS [ 2.384551] +1.05V_RUN: 1050 mV [ 2.387918] +1.05V_RUN: supplied by +5V_SYS [ 2.392482] +1.8V_VDDIO: 1800 mV [ 2.395944] +1.8V_VDDIO: supplied by +5V_SYS [ 2.401498] +VDD_GPU_AP: 650 <--> 1200 mV at 1000 mV 3500 mA [ 2.407734] +1.05V_RUN_AVDD: 1050 mV at 300 mA [ 2.412400] +1.05V_RUN_AVDD: supplied by +1.35V_LP0(sd2) [ 2.418329] +1.8V_RUN_CAM: 1800 mV at 150 mA [ 2.422838] +1.8V_RUN_CAM: supplied by +3.3V_RUN [ 2.428665] +1.2V_GEN_AVDD: 1200 mV at 150 mA [ 2.433268] +1.2V_GEN_AVDD: supplied by +1.8V_VDDIO [ 2.439489] +1.05V_LP0_VDD_RTC: 1000 mV at 150 mA [ 2.444426] +1.05V_LP0_VDD_RTC: supplied by +3.3V_SYS [ 2.450185] +2.8V_RUN_CAM: 2800 mV at 150 mA [ 2.454711] +2.8V_RUN_CAM: supplied by +3.3V_SYS [ 2.460022] +1.2V_RUN_CAM_FRONT: 1200 mV at 150 mA [ 2.465079] +1.2V_RUN_CAM_FRONT: supplied by +1.8V_VDDIO [ 2.470958] +VDDIO_SDMMC3: 1800 <--> 3300 mV at 150 mA [ 2.476354] +VDDIO_SDMMC3: supplied by +3.3V_RUN [ 2.481675] +1.05V_RUN_CAM_REAR: 1050 mV at 150 mA [ 2.486721] +1.05V_RUN_CAM_REAR: supplied by +1.8V_VDDIO [ 2.492904] +3.3V_RUN_TOUCH: 2800 mV at 150 mA [ 2.497608] +3.3V_RUN_TOUCH: supplied by +5V_SYS [ 2.502933] +2.8V_RUN_CAM_AF: 2800 mV at 150 mA [ 2.507724] +2.8V_RUN_CAM_AF: supplied by +5V_SYS [ 2.513126] +1.8V_RUN_VPP_FUSE: 1800 mV at 150 mA [ 2.518101] +1.8V_RUN_VPP_FUSE: supplied by +3.3V_RUN *hang* --- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 285c433..2b8be48 100644 --- a/arch/arm/configs/tegra_defconfig +++ b/arch/arm/configs/tegra_defconfig @@ -102,6 +102,9 @@ CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y CONFIG_SCSI_MULTI_LUN=y # CONFIG_SCSI_LOWLEVEL is not set +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_AHCI_TEGRA=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_IGB=y