From: Heiko Stuebner <heiko@sntech.de>
To: Doug Anderson <dianders@chromium.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
linux-mmc <linux-mmc@vger.kernel.org>,
linux-clk@vger.kernel.org,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"open list:ARM/Rockchip SoC..."
<linux-rockchip@lists.infradead.org>,
Alexandru Stan <amstan@chromium.org>
Subject: Re: [PATCH v2 0/8] mmc: dw_mmc-rockchip: allow tuning using the clk-phase api
Date: Sat, 10 Oct 2015 00:31:22 +0200 [thread overview]
Message-ID: <9143852.fAJ0a7C1AC@phil> (raw)
In-Reply-To: <CAD=FV=VaZQcbgByQOAQL4qDCCOb_pNRHnXBS77L8D-dc_eYR5A@mail.gmail.com>
Am Freitag, 9. Oktober 2015, 13:11:21 schrieb Doug Anderson:
> Hi,
>
> On Fri, Oct 9, 2015 at 10:19 AM, Doug Anderson <dianders@chromium.org>
wrote:
> > Hi,
> >
> > On Fri, Oct 9, 2015 at 1:10 AM, Ulf Hansson <ulf.hansson@linaro.org>
wrote:
> >> Dough, Heiko,
> >>
> >> This patchset seems to be causing a boot regression for
> >> exynos5800-peach-pi [1].
> >>
> >> Apparently, the vmmc regulator doesn't exist for one of the controller
> >> but vqmmc is. This leads to the following NULL pointer exception.
> >
> > Ugh. Hrm, it didn't used to be possible for vmmc to be NULL. :-/ It
> >
> > changed in v3.16:
> > 4d1f52f mmc: core: Improve support for deferred regulators
> >
> > ...and I didn't notice it (most of my development is done on 3.14). :(
> >
> >
> > Is it sensible to have vqmmc without vmmc. One option would be to
> > change mmc_regulator_get_supply() to not even bother trying to get
> > vqmmc if vmmc is not there.
> >
> > Another option would be to just totally fail mmc_regulator_set_vqmmc()
> > always if vmmc is an error. ...or assume that any bogus vmmc (either
> > vmmc is an error or regulator_get_voltage(vmmc) returns an error) is
> > 3.3V?
> >
> >
> > I guess the safest is to assume that bogus vmmc means 3.3V...
>
> Ah, doh. Just noticed Ulf's suggestion all the way at the bottom of
> the crash info, which I somehow missed before. Yes, let's do that.
> Heiko: are you going to re-post?
definitly :-) .
I was just travelling back from ELCE today, otherwise I would've done that
directly today. So I'm hoping to get that done tomorrow.
Heiko
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/8] mmc: dw_mmc-rockchip: allow tuning using the clk-phase api
Date: Sat, 10 Oct 2015 00:31:22 +0200 [thread overview]
Message-ID: <9143852.fAJ0a7C1AC@phil> (raw)
In-Reply-To: <CAD=FV=VaZQcbgByQOAQL4qDCCOb_pNRHnXBS77L8D-dc_eYR5A@mail.gmail.com>
Am Freitag, 9. Oktober 2015, 13:11:21 schrieb Doug Anderson:
> Hi,
>
> On Fri, Oct 9, 2015 at 10:19 AM, Doug Anderson <dianders@chromium.org>
wrote:
> > Hi,
> >
> > On Fri, Oct 9, 2015 at 1:10 AM, Ulf Hansson <ulf.hansson@linaro.org>
wrote:
> >> Dough, Heiko,
> >>
> >> This patchset seems to be causing a boot regression for
> >> exynos5800-peach-pi [1].
> >>
> >> Apparently, the vmmc regulator doesn't exist for one of the controller
> >> but vqmmc is. This leads to the following NULL pointer exception.
> >
> > Ugh. Hrm, it didn't used to be possible for vmmc to be NULL. :-/ It
> >
> > changed in v3.16:
> > 4d1f52f mmc: core: Improve support for deferred regulators
> >
> > ...and I didn't notice it (most of my development is done on 3.14). :(
> >
> >
> > Is it sensible to have vqmmc without vmmc. One option would be to
> > change mmc_regulator_get_supply() to not even bother trying to get
> > vqmmc if vmmc is not there.
> >
> > Another option would be to just totally fail mmc_regulator_set_vqmmc()
> > always if vmmc is an error. ...or assume that any bogus vmmc (either
> > vmmc is an error or regulator_get_voltage(vmmc) returns an error) is
> > 3.3V?
> >
> >
> > I guess the safest is to assume that bogus vmmc means 3.3V...
>
> Ah, doh. Just noticed Ulf's suggestion all the way at the bottom of
> the crash info, which I somehow missed before. Yes, let's do that.
> Heiko: are you going to re-post?
definitly :-) .
I was just travelling back from ELCE today, otherwise I would've done that
directly today. So I'm hoping to get that done tomorrow.
Heiko
next prev parent reply other threads:[~2015-10-09 22:31 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 14:07 [PATCH v2 0/8] mmc: dw_mmc-rockchip: allow tuning using the clk-phase api Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-09-30 14:07 ` [PATCH v2 1/8] clk: rockchip: Allow more precision for some mmc clock phases Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-22 12:03 ` Michael Turquette
2015-10-22 12:03 ` Michael Turquette
2015-10-22 12:03 ` Michael Turquette
2015-10-22 13:47 ` Heiko Stübner
2015-10-22 13:47 ` Heiko Stübner
2015-09-30 14:07 ` [PATCH v2 2/8] clk: rockchip: Make calculations use rounding Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-22 12:04 ` Michael Turquette
2015-10-22 12:04 ` Michael Turquette
2015-10-22 12:04 ` Michael Turquette
2015-09-30 14:07 ` [PATCH v2 3/8] mmc: core: Add mmc_regulator_set_vqmmc() Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-09-30 14:42 ` Ulf Hansson
2015-09-30 14:42 ` Ulf Hansson
2015-09-30 14:55 ` Heiko Stübner
2015-09-30 14:55 ` Heiko Stübner
2015-10-01 9:54 ` Ulf Hansson
2015-10-01 9:54 ` Ulf Hansson
2015-10-01 9:54 ` Ulf Hansson
2015-10-01 10:21 ` Heiko Stübner
2015-10-01 10:21 ` Heiko Stübner
2015-10-01 10:21 ` Heiko Stübner
2015-10-01 17:35 ` Stephen Boyd
2015-10-01 17:35 ` Stephen Boyd
2015-10-01 21:05 ` Ulf Hansson
2015-10-01 21:05 ` Ulf Hansson
2015-10-01 21:05 ` Ulf Hansson
2015-10-02 2:52 ` Jaehoon Chung
2015-10-02 2:52 ` Jaehoon Chung
2015-10-02 2:52 ` Jaehoon Chung
2015-10-02 7:06 ` Heiko Stübner
2015-10-02 7:06 ` Heiko Stübner
2015-10-02 7:06 ` Heiko Stübner
2015-10-02 7:53 ` Jaehoon Chung
2015-10-02 7:53 ` Jaehoon Chung
2015-10-02 8:43 ` Ulf Hansson
2015-10-02 8:43 ` Ulf Hansson
2015-10-02 8:43 ` Ulf Hansson
2015-10-02 8:48 ` Jaehoon Chung
2015-10-02 8:48 ` Jaehoon Chung
2015-10-02 8:48 ` Jaehoon Chung
2015-10-02 8:57 ` Ulf Hansson
2015-10-02 8:57 ` Ulf Hansson
2015-09-30 14:07 ` [PATCH v2 4/8] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-08 1:15 ` Jaehoon Chung
2015-10-08 1:15 ` Jaehoon Chung
2015-10-09 19:06 ` Kevin Hilman
2015-10-09 19:06 ` Kevin Hilman
2015-10-09 20:12 ` Doug Anderson
2015-10-09 20:12 ` Doug Anderson
2015-10-09 20:17 ` Kevin Hilman
2015-10-09 20:17 ` Kevin Hilman
2015-09-30 14:07 ` [PATCH v2 5/8] mmc: dw_mmc-rockchip: dt-binding: Add tuning related things Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-08 1:15 ` Jaehoon Chung
2015-10-08 1:15 ` Jaehoon Chung
2015-09-30 14:07 ` [PATCH v2 6/8] mmc: dw_mmc-rockchip: MMC tuning with the clock phase framework Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-08 1:16 ` Jaehoon Chung
2015-10-08 1:16 ` Jaehoon Chung
2015-09-30 14:07 ` [PATCH v2 7/8] ARM: dts: rockchip: Add drive/sample clocks for rk3288 dw_mmc devices Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-09-30 14:07 ` [PATCH v2 8/8] ARM: dts: rockchip: add tuning related settings to veyron devices Heiko Stuebner
2015-09-30 14:07 ` Heiko Stuebner
2015-10-08 17:36 ` [PATCH v2 0/8] mmc: dw_mmc-rockchip: allow tuning using the clk-phase api Ulf Hansson
2015-10-08 17:36 ` Ulf Hansson
2015-10-08 17:36 ` Ulf Hansson
2015-10-09 8:10 ` Ulf Hansson
2015-10-09 8:10 ` Ulf Hansson
2015-10-09 17:19 ` Doug Anderson
2015-10-09 17:19 ` Doug Anderson
2015-10-09 20:11 ` Doug Anderson
2015-10-09 20:11 ` Doug Anderson
2015-10-09 22:31 ` Heiko Stuebner [this message]
2015-10-09 22:31 ` Heiko Stuebner
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=9143852.fAJ0a7C1AC@phil \
--to=heiko@sntech.de \
--cc=amstan@chromium.org \
--cc=dianders@chromium.org \
--cc=jh80.chung@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.org \
--cc=ulf.hansson@linaro.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 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.