Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461513

Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8
Date 2016-08-13 01:40 +0200
Message-ID <s5udr-8uq-7@gated-at.bofh.it> (permalink)
References <s2FoJ-2RO-3@gated-at.bofh.it> <s5fHs-7yv-27@gated-at.bofh.it> <s5eV4-70U-11@gated-at.bofh.it> <s5fHs-7yv-25@gated-at.bofh.it> <s5gau-7IE-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 12, 2016 at 1:30 AM, Shawn Lin <shawn.lin@rock-chips.com> wrote:
> If special req meets, mrq_pre and mrq_cur are both null after schedule
> queue. And for this special req, host->claimed is released. For the
> next req peeking from blk, we run into mmc_get_card again which means
> we should never meet this WARN when releasing host. So it's
> interesting to dig out actually what is happening there...
>
> But at least for dw_mmc-rockchip, we have been using this feature,
> ERASE/Trim/discard, for years. I didn't see it ever. Anyway from the
> code I was reading, I don't think it should be issue of this commit.
>
> Please look at this regression report I saw.
>
> https://lkml.org/lkml/2016/8/11/130

Hrm. Unfortunately I was still able to trigger the issue with the fix
from that mail.

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8 John Stultz <john.stultz@linaro.org> - 2016-08-12 09:20 +0200
  Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991  mmc_release_host+0xa0/0xa8 Jaehoon Chung <jh80.chung@samsung.com> - 2016-08-12 10:10 +0200
    Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991  mmc_release_host+0xa0/0xa8 Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-12 10:40 +0200
      Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8 John Stultz <john.stultz@linaro.org> - 2016-08-13 01:40 +0200
    Re: WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8 John Stultz <john.stultz@linaro.org> - 2016-08-13 01:40 +0200

csiph-web