From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbcEJLPf (ORCPT ); Tue, 10 May 2016 07:15:35 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:15215 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbcEJLPd (ORCPT ); Tue, 10 May 2016 07:15:33 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 10 May 2016 04:13:59 -0700 Subject: Re: [PATCH] mmc: tegra: Disable UHS-I modes for tegra30 To: Lucas Stach , Adrian Hunter , "Ulf Hansson" , Stephen Warren , Thierry Reding , Alexandre Courbot References: <1462806903-13860-1-git-send-email-jonathanh@nvidia.com> <1462864193.13327.2.camel@lynxeye.de> CC: , , From: Jon Hunter Message-ID: <5731C2CE.2030007@nvidia.com> Date: Tue, 10 May 2016 12:15:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1462864193.13327.2.camel@lynxeye.de> X-Originating-IP: [10.21.132.102] X-ClientProxiedBy: UKMAIL102.nvidia.com (10.26.138.15) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/16 08:09, Lucas Stach wrote: > Hi Jon, > > Am Montag, den 09.05.2016, 16:15 +0100 schrieb Jon Hunter: >> Support for SD cards is not working on the Tegra30 Beaver board and >> on >> boot the following error message is seen if an SD card is present: >> >> mmc0: error -110 whilst initialising SD card >> > Can you please tell me what kind of SD card you used and at which point > in the initialization it is hanging? I've tested this change on Beaver > and haven't seen any failures after I implemented the memcomppad > calibration. Yes it is an SDHC 4GB I believe. The board is remote and so I have not seen the exact card. However, here are some more details from sysfs: root@(none):/# cat /sys/class/mmc_host/mmc0/mmc0\:aaaa/name SS04G root@(none):/# cat /sys/class/mmc_host/mmc0/mmc0\:aaaa/csd 400e00325b5900001d8a7f800a404000 root@(none):/# cat /sys/class/mmc_host/mmc0/mmc0\:aaaa/cid 03534453533034478029b1301800f900 root@(none):/# cat /sys/class/mmc_host/mmc0/mmc0\:aaaa/oemid 0x5344 root@(none):/# cat /sys/class/mmc_host/mmc0/mmc0\:aaaa/manfid 0x000003 >> In addition to this, Tegra30 is also randomly hanging during system >> suspend when entering and is caused by the Tegra SDHCI driver. > > I'll have a look at this soonish. Thanks. I think I have mentioned this before, but I run a loop test for example ... count=0; while [ $count -lt 100 ]; do rtcwake -d rtc0 -m mem -s 3; echo Suspend iteration $count; count=`expr $count + 1`; done Cheers Jon