linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Masney <masneyb@onstation.org>
To: Douglas Anderson <dianders@chromium.org>,
	Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Question about "regulator: core: Only count load for enabled consumers" in -next
Date: Sun, 25 Nov 2018 04:37:50 -0500	[thread overview]
Message-ID: <20181125093750.GA28055@basecamp> (raw)

Hi all,

I see errors like the following in linux next-20181123 when trying to
boot a mainline kernel on a LG Nexus 5 phone:

[   14.495056] mmc1: Card stuck in wrong state! mmcblk1 card_busy_detect status: 0xe00
[   14.495185] mmc1: cache flush error -110
[   14.601547] mmc1: Reset 0x1 never completed.
[   14.601572] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   14.604882] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00003802
[   14.611240] mmc1: sdhci: Blk size:  0x00004000 | Blk cnt:  0x00000000
[   14.617664] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
[   14.624064] mmc1: sdhci: Present:   0x01e80000 | Host ctl: 0x00000000
[   14.630508] mmc1: sdhci: Power:     0x00000000 | Blk gap:  0x00000000
[   14.636930] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000003
[   14.643335] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[   14.649778] mmc1: sdhci: Int enab:  0x00000000 | Sig enab: 0x00000000
[   14.656200] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[   14.662606] mmc1: sdhci: Caps:      0x642dc8b2 | Caps_1:   0x00008007
[   14.669051] mmc1: sdhci: Cmd:       0x00000000 | Max curr: 0x00000000
[   14.675469] mmc1: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[   14.681877] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   14.688320] mmc1: sdhci: Host ctl2: 0x00000000
[   14.694720] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x70042330
[   14.699080] mmc1: sdhci: ============================================

I bisected the issue to the following commit:

5451781dadf8 ("regulator: core: Only count load for enabled consumers")

We have to increase the load for the sdhci in device tree in order for
the phone to boot properly. This change was made with the commit:

03864e57770a ("ARM: dts: qcom: msm8974-hammerhead: increase load on l20
for sdhci")

Is there a change that I should make in device tree to get the SD card
working again on the phone?

Thanks,

Brian

             reply	other threads:[~2018-11-25  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-25  9:37 Brian Masney [this message]
2018-11-25 17:20 ` Question about "regulator: core: Only count load for enabled consumers" in -next Doug Anderson
2018-11-25 23:24   ` Brian Masney
2018-11-26 12:50     ` Mark Brown
2018-11-26 17:43     ` Doug Anderson
2018-11-26 17:59       ` Mark Brown
2018-11-26 18:11         ` Doug Anderson
2018-11-26 18:29           ` Mark Brown

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=20181125093750.GA28055@basecamp \
    --to=masneyb@onstation.org \
    --cc=broonie@kernel.org \
    --cc=dianders@chromium.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).