From: Tony Lindgren <tony@atomide.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: "Gadiyar, Anand" <gadiyar@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] OMAP3: wait on IDLEST after enabling USBTLL fclk
Date: Thu, 1 Jul 2010 13:53:00 +0300 [thread overview]
Message-ID: <20100701105259.GK2822@atomide.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1006240028140.1550@utopia.booyaka.com>
* Paul Walmsley <paul@pwsan.com> [100624 09:22]:
> Hi Tony,
>
> what do you think on this one? -rc or .36?
If we want to try to get it into the -rc cycle, the description
should mention what it fixes and show the error. Otherwise it might
be hard to argue this is a real fix or a regression.
Regards,
Tony
>
> - Paul
>
> On Thu, 24 Jun 2010, Gadiyar, Anand wrote:
>
> > Paul Walmsley wrote:
> > > On Mon, 21 Jun 2010, Paul Walmsley wrote:
> > > > On Sat, 19 Jun 2010, Gadiyar, Anand wrote:
> > > > > Gadiyar, Anand wrote:
> > > > > > We need to wait on the IDLEST bit after the clocks are enabled
> > > > > > before attempting to access any register.
> > > > > >
> > > > > > Currently, the USBTLL i-clock ops uses the clkops_omap2_dflt_wait,
> > > > > > while the USBTLL f-clock ops uses clkops_omap2_dflt. If the
> > > > > > i-clock is enabled first, the clkops_omap2_dflt_wait is
> > > > > > short-circuited as the companion f-clock is not enabled.
> > > > > > This can cause a data abort if the IDLEST has not transitioned,
> > > > > > and we try to access a USBTLL register.
> > > > > >
> > > > > > Since the USBTLL i-clock and f-clock could be enabled in any order,
> > > > > > this is a bug. Fix it by changing the clkops for the f-clock.
> > > > > >
> > > > > > Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
> > > >
> > > > It looks fine to me. I will queue it for a -rc branch.
> > >
> > > Will requeue this for 2.6.36 merge window since it is not a regression,
> > > and it seems that Linus wants regression fixes for the -rc series...
> > >
> >
> > I received a bug-report last Friday from some user of the recently-merged
> > ohci-omap3 driver about a data-abort caused at driver load. This patch
> > fixes that issue.
> >
> > This wasn't known to me when I originally submitted the patch, but looks
> > like this is a problem caused in a driver that went in in the last merge
> > window. So maybe this patch can go in in the -rc series. ;)
> >
> > It's your call. I'm not particular.
>
>
>
> - Paul
next prev parent reply other threads:[~2010-07-01 10:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 6:28 [PATCH] OMAP3: wait on IDLEST after enabling USBTLL fclk Anand Gadiyar
2010-06-18 20:55 ` Gadiyar, Anand
2010-06-21 21:45 ` Paul Walmsley
2010-06-22 16:46 ` Gadiyar, Anand
2010-06-24 0:20 ` Paul Walmsley
2010-06-24 6:08 ` Gadiyar, Anand
2010-06-24 6:28 ` Paul Walmsley
2010-07-01 10:53 ` Tony Lindgren [this message]
2010-07-01 16:48 ` Paul Walmsley
2010-06-21 15:07 ` Kevin Hilman
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=20100701105259.GK2822@atomide.com \
--to=tony@atomide.com \
--cc=gadiyar@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.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.