All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <tom.leiming@gmail.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: Peter Geis <pgwipeout@gmail.com>, Ming Lei <ming.lei@redhat.com>,
	linux-block <linux-block@vger.kernel.org>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>
Subject: Re: [Regression] Linux-Next Merge 25Jul2018 breaks mmc on Tegra.
Date: Sat, 28 Jul 2018 14:22:42 +0800	[thread overview]
Message-ID: <CACVXFVP_MW7KSYf2=nsa6PWDN-J6xbZFXd=EqpQW5QK-3B02Vg@mail.gmail.com> (raw)
In-Reply-To: <5a1c3316-8ec6-658d-c037-d45e385032c7@kernel.dk>

On Sat, Jul 28, 2018 at 3:31 AM, Jens Axboe <axboe@kernel.dk> wrote:
> On 7/25/18 12:29 PM, Peter Geis wrote:
>> On 07/25/2018 02:17 PM, Jens Axboe wrote:
>>> On 7/25/18 10:28 AM, Peter Geis wrote:
>>>> Good Afternoon,
>>>>
>>>> I have encountered an issue on both Tegra 2 and Tegra 3 devices
>>>> accessing emmc following the 25 July 2018 remote tracking merge.
>>>>
>>>> The offending commit is:
>>>> 6ce3dd6eec114930cf2035a8bcb1e80477ed79a8
>>>> blk-mq: issue directly if hw queue isn't busy in case of 'none'.
>>>
>>> Can you try my current for-next? This should fix it:
>>>
>>> commit 8824f62246bef288173a6624a363352f0d4d3b09
>>> Author: Ming Lei <ming.lei@redhat.com>
>>> Date:   Sun Jul 22 14:10:15 2018 +0800
>>>
>>>      blk-mq: fail the request in case issue failure
>>>
>>
>> That commit made the current merge window, it must be reverted before
>> reverting the offending commit.
>>
>> With that patch, the bug triggers then the kernel waits for the mmc to
>> recover. It seems however that the bug leaves the mmc in a zombie state,
>> where it is processing the previous command but the kernel has no
>> control over it.
>>
>> [    4.233073] mmc0: Got command interrupt 0x00000001 even though no
>> command operation was in progress.
>> [    4.242189] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
>> [    4.248616] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000001
>> [    4.255041] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000000
>> [    4.261465] mmc0: sdhci: Argument:  0x002e3b10 | Trn mode: 0x00000033
>> [    4.267890] mmc0: sdhci: Present:   0x1ff70000 | Host ctl: 0x00000031
>> [    4.274314] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
>> [    4.280737] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
>> [    4.287162] mmc0: sdhci: Timeout:   0x0000000e | Int stat: 0x00000002
>> [    4.293586] mmc0: sdhci: Int enab:  0x02ff000b | Sig enab: 0x02fc000b
>> [    4.300010] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
>> [    4.306433] mmc0: sdhci: Caps:      0xe7ffd080 | Caps_1:   0x00000074
>> [    4.312857] mmc0: sdhci: Cmd:       0x0000123a | Max curr: 0x00969696
>> [    4.319281] mmc0: sdhci: Resp[0]:   0x00000900 | Resp[1]:  0x04800e92
>> [    4.325705] mmc0: sdhci: Resp[2]:   0x074b8000 | Resp[3]:  0x00000240
>> [    4.332128] mmc0: sdhci: Host ctl2: 0x00000000
>> [    4.336560] mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0xae2f9220
>> [    4.342981] mmc0: sdhci: ============================================
>>
>> Without that patch, it goes into a constant loop between reading/writing
>> and dumping errors until it finishes booting.
>
> Ming??

I am just back for vocation, will take a look soon.

Thanks,
Ming Lei

  reply	other threads:[~2018-07-28  6:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-25 17:28 [Regression] Linux-Next Merge 25Jul2018 breaks mmc on Tegra Peter Geis
2018-07-25 18:17 ` Jens Axboe
2018-07-25 18:29   ` Peter Geis
2018-07-27 19:31     ` Jens Axboe
2018-07-28  6:22       ` Ming Lei [this message]
2018-07-28 13:37     ` Ming Lei
2018-07-30 18:55       ` Peter Geis
2018-07-31  1:38         ` Ming Lei
2018-07-31 12:47           ` Peter Geis
2018-07-31 16:25             ` Ming Lei
2018-07-31 17:51               ` Peter Geis
2018-07-31 23:18                 ` Ming Lei
2018-08-02 10:09               ` Adrian Hunter
2018-08-02 10:33                 ` Ming Lei
2018-08-02 10:47                   ` Adrian Hunter
2018-08-02 11:09                     ` Ming Lei
2018-08-02 11:23                       ` Adrian Hunter
2018-08-02 12:10                         ` Peter Geis
2018-08-04  1:46                           ` Peter Geis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACVXFVP_MW7KSYf2=nsa6PWDN-J6xbZFXd=EqpQW5QK-3B02Vg@mail.gmail.com' \
    --to=tom.leiming@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=pgwipeout@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.