All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Paolo Pisati <p.pisati@gmail.com>
Cc: Balaji T K <balajitk@ti.com>, Chris Ball <cjb@laptop.org>,
	linux-mmc' <linux-mmc@vger.kernel.org>,
	linux-omap <linux-omap@vger.kernel.org>
Subject: Re: 3.1[34]: omap4: panda: hang on reboot?
Date: Fri, 18 Apr 2014 09:54:22 -0700	[thread overview]
Message-ID: <20140418165421.GH5354@atomide.com> (raw)
In-Reply-To: <20140331215659.GA8214@luxor.wired.org>

* Paolo Pisati <p.pisati@gmail.com> [140331 15:00]:
> On Thu, Mar 27, 2014 at 06:54:14PM +0100, Paolo Pisati wrote:
> > I've been experiencing hangs on reboot on two different panda boards (es rev1
> > and vanilla rev a1) with v3.14-rc8 (but reproducible in 3.13 too):
> > 
> > toolchanin: gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7)
> > 
> > the config is a multi_v7_defconfig plus a couple of codepages:
> > 
> > http://people.canonical.com/~ppisati/omap4_reboot_hangs/config
> > 
> > a prebuilt zImage is available here:
> > 
> > http://people.canonical.com/~ppisati/omap4_reboot_hangs/zImage
> > 
> > sometimes i can hit this two times in a row, others it's a bit less
> > frequent - put this into your crontab and let it go:
> > 
> > */5 * * * *       /bin/date >> /reboot.log && /sbin/reboot
> > 
> > it never passed 2hrs of reboot cycles.
> > 
> > I already tried different u-boots but that doesn't make any difference,
> > am i the only one experiencing this issue?
> 
> i bisected it down to this commit:
> 
> commit e002264f7e45d7661b237045577052fd0b40f89c
> Author: Balaji T K <balajitk@ti.com>
> Date:   Mon Oct 21 00:25:18 2013 +0530
> 
>     mmc: omap_hsmmc: Fix pbias_disable for omap4
>     
>     pbias_disable is set to protect the mmc pbias i/o cells in DT boot
>     by preventing voltage switch. Currently pbias_disable is enabled only
>     for omap3 and not for omap4 due to reg_offset difference of 0x100.
>     Enable pbias_disable for omap4+ too by using res->start
>     which does not include the reg_offset.
>     
>     Signed-off-by: Balaji T K <balajitk@ti.com>
>     Signed-off-by: Chris Ball <cjb@laptop.org>
> 
> with this commit reverted, i can reboot in a loop for hours without any problem,
> while if i keep this patch, my pandas don't survive more that two hours (again,
> it's really random as it could hang a couple of times in a row and then work
> like a charm for ten reboots straight).
> 
> Any idea? does it ring any bell?

Balaji, do you have a fix for this one?

Tony

      reply	other threads:[~2014-04-18 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 17:54 3.1[34]: omap4: panda: hang on reboot? Paolo Pisati
2014-03-31 21:56 ` Paolo Pisati
2014-04-18 16:54   ` Tony Lindgren [this message]

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=20140418165421.GH5354@atomide.com \
    --to=tony@atomide.com \
    --cc=balajitk@ti.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=p.pisati@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.