Received: by 10.223.164.202 with SMTP id h10csp384663wrb; Wed, 22 Nov 2017 08:40:26 -0800 (PST) X-Google-Smtp-Source: AGs4zMZbzNE60CXTZv5Az7j80wlWK0NWlcUriN75gNhZiPI9Lf9tnMq/hBK06toBKAv/FgcTEir+ X-Received: by 10.98.144.23 with SMTP id a23mr19829086pfe.155.1511368826104; Wed, 22 Nov 2017 08:40:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511368826; cv=none; d=google.com; s=arc-20160816; b=ITXf5LFlF1ff0Zy19TT2KrPiQb9kQMCE1I7dO9ZUGaXdlkR8HWpPhRg3aAWW5EVw8k 7AKRXG0Bt6UNFl6fU0q2tnBqGqclZ53ETsCDVCZHZZAkDQkVDg2Rysw6kl8V9fAe+4bL WvKce3jlUQ7Hdb0HDO2ORQ/Ex6+b0dDSxYnftWfTsY8zHCm28+zbszkkPR3N9Cj55JFW qMcQ7c5wT9S66IY/eHP+LYKYTpikl7I9z7BqKFKDlPgZcc8UzBxhrUIVPy7E9htC9BIJ yICS1M7x7JlJvSS4HBr7C4d3rayKP78eySWfRlroNHHQorievdfkn4NpegdT7KsW8S5/ iyJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=5F5sx//mxeJfONpRaLObo69K50xfh/6mFyZb/Wn78W4=; b=ju6DqQ/XCXYVRxAjmedOHEh1diDGxgWLbf62e1+kJexOgDEtbHlkMa3cSiFLx+jISP y45YGzTKGUlwx5k9rilep3bi4x0TL3uuli5QYVyfVtUQ/Q80IqHcrjNuyst/EQSKGRmj lrmDAzLtpsdlHtem8zn542F+JZFc1dgfKbykJeEmq4GCKMU79/C/NxDepRh3xtX8amNj DpItvwzQQ+ccy9OhtABRvGCWw6qdks+N1NVUMAhIAAnFdAcBMSKWZWo3CMF/g9hYRiqC kWk0xWfbdxRxMi6rQ3XQA/SAx+drCHa5IjQOZq/7xPkpomb08AvD88iN1yU88P08RYGF q/sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gtkhZBt8; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si2105389pls.698.2017.11.22.08.40.14; Wed, 22 Nov 2017 08:40:26 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=gtkhZBt8; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751658AbdKVQji (ORCPT + 77 others); Wed, 22 Nov 2017 11:39:38 -0500 Received: from mail-lf0-f51.google.com ([209.85.215.51]:43213 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbdKVQjg (ORCPT ); Wed, 22 Nov 2017 11:39:36 -0500 Received: by mail-lf0-f51.google.com with SMTP id 73so18926995lfu.10; Wed, 22 Nov 2017 08:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5F5sx//mxeJfONpRaLObo69K50xfh/6mFyZb/Wn78W4=; b=gtkhZBt8ufmtR8smSkx3+oreDPIw8w9d07odyRggkt/bKOhQYGdxTDPy7l45ndifxM maQXHEX2EjJ2YN4nK9v4pvfjBy4uEeNOqN714DGIzOskel/hlD8VsLAsolP8rGN26wub 8aHwulniAXvBXLk8ZT1RXulEyDtGqhJVWM29FzJPIziLfvk7kSA7hHnX2TtIEsTI5O7b ZYo4EJFBOB2+yMxJuj/H1tip+qClCXstZm3XsBA4ofiCrvgmOp/pj8k8/69Q/t19IxEa +PGryfQlqh5bsaK1IOysd/HthVqCu9vyu7omNfbKGafUDSYDYBJnoMsj9TRbU0p+vn3/ oUJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5F5sx//mxeJfONpRaLObo69K50xfh/6mFyZb/Wn78W4=; b=YEpYsKe5STHJV419zcZfM14ks1M49LwH84W8rMRIZEocUMXldklsE4Uu+vs/m6tuzA AL5noTsLcntOK4/erJnuRrvl5dvc9+t9gmqMx4Q2xNAn2aLUcV8jiXJTDtK4plEqoU9F gvCogVeO8GKpyVsFEKRXnEDBXka7DvxikI/zEMtDon7QBZzCAQs3GxokcJvEpbdrLfAn HxC47j1h8n/3pFOkozb2G41pV++TpB1UQvcbK+UQW8ATtHXVOmjcW8D5OomGPY92s+ku KzPOAho5qFqYdQupxqot52fi7iHCx01oua4+lgklr9LU9NXwYIS/RPr5RUJCA5KDtf+6 biuw== X-Gm-Message-State: AJaThX7oHYv1SxH1V/bmajbwc1IoytK3GA/o0nKhcQCr4aXsEGSTjDvY orgjabHMP0q3/5aG4zB8W+osQT+TKGoJTJslkUA= X-Received: by 10.25.157.12 with SMTP id g12mr6319764lfe.213.1511368774194; Wed, 22 Nov 2017 08:39:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.15.227 with HTTP; Wed, 22 Nov 2017 08:39:33 -0800 (PST) In-Reply-To: References: From: Pintu Kumar Date: Wed, 22 Nov 2017 22:09:33 +0530 Message-ID: Subject: Re: [tegra186]: emmc resume failing after booting from snapshot image To: Jon Hunter Cc: Mikko Perttunen , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-tegra@vger.kernel.org, Pintu Kumar Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 22, 2017 at 9:45 PM, Jon Hunter wrote: > > On 22/11/17 12:26, Pintu Kumar wrote: >> Hello Jon, >> Yes I raised my query there almost 1 week back here. >> https://devtalk.nvidia.com/default/topic/1026527/jetson-tx2/-jetson-tx2-mmc-resume-errors-after-booting-from-suspend/ >> >> But no response. >> So, I thought to discuss it here. >> May be some pointers may help to find the root cause. >> One point is that, I am able to resume the board with the sd-card, but >> resume from emmc is returning -110 (may be CMD5 timeout). >> Whether there is any difference between sd-card resume and emmc resume ? >> Do we need to check the card initialization sequence for emmc ? > OK great. There should be a team looking at these so please bare with Ok thanks. Can you put your comments there, so that somebody can start responding. It will be really helpful. I have already sent the reminder, but still no response. I know it will be difficult to debug like this, but at least some pointers or support will definitely help. Basically I wanted to know, if there is any problem from SoC side itself, or it is specific to emmc driver issue. Because, with the kernel 4.4 (and our internal patches), other SoC (such as hikey), it is working fine. > them. I noticed that you did not state which release you are using for > TX2 and there are two available (r27 and r28.1 [0]), unless I missed it. > So it is worth stating the release you are using. > I am using tegra-l4t-r27.1 release, and on top of that we have our internal patches for snapshot image. However, I also compared with r28 repo under drivers/mmc/* There were not major difference. Still I tried to manually apply few of the changes to r27, but it still it did not help much. That is the reason I thought to discuss, so that somebody can point me, if I am missing any right fixes. Because from r27 to r28, with our internal patches is again a painful task. So first I wanted to make sure if some patches backing from r28 works, then I can recommend to upgrade to r28. > What command are you using to suspend to disk? Its actually our internal command, something like: # echo snap > /sys/power/state This internally create our snapshot image and save it on disk. Then we boot the system normally with this image. Note: currently to debug the emmc issue, we are right now booting with sd-card. > > Cheers > Jon > > [0] https://developer.nvidia.com/embedded/linux-tegra-archive > -- > nvpublic From 1584783599042066448@xxx Wed Nov 22 16:16:55 +0000 2017 X-GM-THRID: 1584747422585671008 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread