Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp580299pxb; Tue, 14 Sep 2021 04:26:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr1hLtvTtDBGueCnQwNmWWf4UGJVYv7aRLGfh5ql+65sRzVWAWD0ZpDy1P00mNH7cC9TC5 X-Received: by 2002:a05:6402:1855:: with SMTP id v21mr19242105edy.349.1631618792464; Tue, 14 Sep 2021 04:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631618792; cv=none; d=google.com; s=arc-20160816; b=TkIwjPb2Qbi/7FeOmAEpMrHVdFmDyvPfbS5CHBC15PRXcMdprBvl15dIKUiIKIuLSY Xn+snqkLnZgFaORPB8NTwpcJOpb4T1byFQCwzfzmbpNsIoohtar6ms/QDTHnVhJeXg7Z zlw2s65CxuhuL1l8KArztTC0Dw82JXkk4h2kODrMKVZkpKvpxlR7yIyxe6XTqkURFzIy a0dXdT3FBdW52OnRw6OxIrp9AO7YRv0zAFCJ2CUWMincJnbBmp0H2TaVlpLxSgw88pfx 8cIFie5mH1Jrwn7CNYQS3gB6Nbfl1FsvyB+7Sxl7nv1lK3MbUUokh5Ceu0VfTsupztRo Gzlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nbHbzsUVfwaldp004hJ4jjr5J84FzOR0csevjsInRbE=; b=ivN9LavaTXHAAlYP/lySPg4y1eiwRZn7DZhWOHEJmFmfPD68FXX9WHS8LphiW6bMg3 aEsVzTza0OmQ8D8IfvwROlxUM9TsGuHxVdLg6KysSbJKYCgaYasxqlIrR8zRgsXfwTb8 fF2I2qFC5W8uh02ZksZTa/zKoQ1fjjuUt6K8CtYr+wp6HB5+7fQ8Wa6pkvQdlpQy7vi6 Tbhj6bSuHhMUfCGcDNtAVhr9r7enXGuWP5FOpuSg3tJmIYedDCCoVH9Jm4ZygSeimUno aBem/T1woRj65rsM1RYwgs/hybR/Q90+bJlJq5fxC7MInqcRgrUTdM3HZMhoIIwxnpiB b3YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gLP0H+ry; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id js2si10587191ejc.576.2021.09.14.04.26.08; Tue, 14 Sep 2021 04:26:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gLP0H+ry; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232089AbhINLZw (ORCPT + 99 others); Tue, 14 Sep 2021 07:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbhINLZr (ORCPT ); Tue, 14 Sep 2021 07:25:47 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A23ABC061764 for ; Tue, 14 Sep 2021 04:24:29 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id g14so23136194ljk.5 for ; Tue, 14 Sep 2021 04:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nbHbzsUVfwaldp004hJ4jjr5J84FzOR0csevjsInRbE=; b=gLP0H+ry/SWAhT5BEiNh1FWXkOJbfVobpcuxBz39q4wP3oRce/LNh+VmwVoWCqssQa DiOZkRFt7gDlzMI/yco3aBYtGhFSX1cKB869NkY62py7W8IQ0eAOKtx0qf7D3nyokqZw Mo2tVd3rZrv22beSeWrOi76EEZn3lmeJB39Gq71SH+R7iOCMOhtXfa2yrga2lFAzeuAa cGOmCslsZKpFJzKih/XTy8fqctLPGdePabFqlF2QsGVYf51tLhNuKwGjZ2KKvwgm2rAf dGN2hioI6JVRqzjHIEivSFlpgClaAT0Nveve8xlKK3unRIZ9QOzawKPhEi11YtsLIgn6 12Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nbHbzsUVfwaldp004hJ4jjr5J84FzOR0csevjsInRbE=; b=L3D1sFx1wkfrl/P379r4t+eGODIOsY0K2cK+ecPVHLKN7NJUQQgJG5dlUeqpIGQ9hC nOADbByU/u9UGlRgyxWXQOzNLGuVQUXQ/kWf69LSX48XY83zQ8vxy0zx0dWV7Dy2Hz6N d3JWJMTnWXAxdOigANASK5liAGXaoEk/dfqX1RUQ7poMXoJFc1Sw8Pj6vkZwQkm+yhkv hAiIJTmzjaLXSLB1FmDgl4n2qiJjzS1tKAcnkBaFhYhBswuY8HcU9Q1/Jv4ywJGGRgzh L/VgXDttrCDofXF5lLQ/0hQvcsMNktA9qP1tyzyHkt/tIKrDCWXDYSx5voTVPAq8sWcK AwDw== X-Gm-Message-State: AOAM5322B4o1a75TchQdPUvbctqYX78fbP126+GCvfV80G+iEPmPyVgc DFwHRVAtyKegHxN3DEU7pfaehQ19njdxryXQUp2bzA== X-Received: by 2002:a05:651c:1b3:: with SMTP id c19mr15103309ljn.16.1631618668074; Tue, 14 Sep 2021 04:24:28 -0700 (PDT) MIME-Version: 1.0 References: <20210907151204.118861-1-huobean@gmail.com> <20210907151204.118861-2-huobean@gmail.com> In-Reply-To: <20210907151204.118861-2-huobean@gmail.com> From: Ulf Hansson Date: Tue, 14 Sep 2021 13:23:52 +0200 Message-ID: Subject: Re: [PATCH v1 1/2] mmc: cqhci: Print out qcnt in case of timeout To: Bean Huo Cc: Adrian Hunter , Wolfram Sang , Linus Walleij , Avri Altman , linux-mmc , Linux Kernel Mailing List , "Bean Huo (beanhuo)" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Sept 2021 at 17:12, Bean Huo wrote: > > From: Bean Huo > > Print task count that has not been completed, this is for the > purpose of debugging. > > Signed-off-by: Bean Huo Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/cqhci-core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/cqhci-core.c b/drivers/mmc/host/cqhci-core.c > index 38559a956330..ca8329d55f43 100644 > --- a/drivers/mmc/host/cqhci-core.c > +++ b/drivers/mmc/host/cqhci-core.c > @@ -899,8 +899,8 @@ static bool cqhci_timeout(struct mmc_host *mmc, struct mmc_request *mrq, > spin_unlock_irqrestore(&cq_host->lock, flags); > > if (timed_out) { > - pr_err("%s: cqhci: timeout for tag %d\n", > - mmc_hostname(mmc), tag); > + pr_err("%s: cqhci: timeout for tag %d, qcnt %d\n", > + mmc_hostname(mmc), tag, cq_host->qcnt); > cqhci_dumpregs(cq_host); > } > > -- > 2.25.1 >