linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
To: Peter Chubb <peter.chubb-3w/jM7ZMsnj0CCvOHzKKcA@public.gmane.org>
Cc: "linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: USB Host port inoperative after kexec on Beagleboard
Date: Mon, 9 Jan 2012 23:03:31 +0000	[thread overview]
Message-ID: <20120109230331.GA23308@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <20120109225403.GB23090-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>

On Mon, Jan 09, 2012 at 10:54:03PM +0000, Will Deacon wrote:
> On Mon, Jan 09, 2012 at 10:09:54PM +0000, Peter Chubb wrote:
> > 
> > Hi Will,
> 
> Hi Peter [adding linux-arm-kernel],

*Actually* adding linux-arm-kernel this time...

> 
> >    Thanks for the fixes to kexec for ARM that went into mainline this
> >    week.  Mostly things work now.
> 
> Great, that's good to hear!
> 
> >    One issue: the USB EHCI port on the (rev C2) beagleboard doesn't
> >    work after a kexec.  During boot after kexec, the host device is
> >    detected and initialised, but nothing plugged in works, even when
> >    everything was working corectly before the kexec.  Das U-boot
> >    must set up something that is then undone during the kexec reboot.
> 
> Ouch. Have you had a chance to look at the u-boot sources to see what it
> does?
> 
> >    I've traced all calls to clk_enable() and clk_disable(), and
> >    everything looks all right --- in particular I can't see 
> >    anything explicitly disabled during kexec that isn't reenabled
> >    during boot of the subsequent kernel.
> > 
> >    Voltages that I can measure look correct on the port.
> > 
> >    Do you have any suggestions as to what else could be wrong?
> 
> I'm afraid I'm not familiar with the Beagleboard, so I can't begin to guess.
> Have you tried re-initialising the host controller in the new kernel
> manually (perhaps my building the driver as a module and {un}loading it a
> few times?). It could be that some hardware state persists across the kexec
> and it just needs resetting.
> 
> Will

  parent reply	other threads:[~2012-01-09 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <w4wr90wmrx.wl%peter@chubb.wattle.id.au>
     [not found] ` <w4wr90wmrx.wl%peter-LkDQP0DxSMGxwJ88Py/mJxCuuivNXqWP@public.gmane.org>
2012-01-09 22:54   ` USB Host port inoperative after kexec on Beagleboard Will Deacon
     [not found]     ` <20120109225403.GB23090-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>
2012-01-09 23:03       ` Will Deacon [this message]
2012-01-09 22:02 Peter Chubb

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=20120109230331.GA23308@mudshark.cambridge.arm.com \
    --to=will.deacon-5wv7dgnigg8@public.gmane.org \
    --cc=kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=peter.chubb-3w/jM7ZMsnj0CCvOHzKKcA@public.gmane.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).