linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ming Lei <tom.leiming@gmail.com>
To: Todd Poynor <toddpoynor@google.com>,
	keshava_mgowda@ti.com, sameo@linux.intel.com
Cc: linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: Re: OMPA4: 3.0-rc1: Unhandled fault during insmod 'ohci-hcd.ko'
Date: Tue, 14 Jun 2011 18:59:48 +0800	[thread overview]
Message-ID: <BANLkTi=TPNWMe9_gb7SY2J62SC0L8EoRcw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTin=7aEaPDf=2Aa9SApdGetyvdz50g@mail.gmail.com>

Hi,

2011/6/5 Todd Poynor <toddpoynor@google.com>:
> In general, the imprecise external abort usually means an access was made to
> registers of a module whose clock is gated.  The calls to clk_enable()
> within usbhs_enable() probably aren't following the proper sequence of
> ensuring the CD_L3_INIT clock domain is on (CM_L3INIT_CLKSTCTRL.CLKTRCTRL =
> 0x2 SW_WKUP) and then the associated module slaves woken up
> (CM_L3INIT_HSUSBHOST_CLKCTRL.MODULEMODE = 0x2 Enabled, similar
> for CM_L3INIT_HSUSBTLL_CLKCTRL).  Probably needs calls to the OMAP device
> layer to set those up, but I dunno the details of this device or why it
> broke.
>

No doubt, it is caused by gated clock, ehci will be OK if revert the
commit below:

commit 7e6502d577106fb5b202bbaac64c5f1b065e6daa
Author: Keshava Munegowda <Keshava_mgowda@ti.com>
Date:   Sun May 22 22:51:26 2011 +0200

    mfd: Add omap-usbhs runtime PM support

    The usbhs core driver does not enable/disable the interface and
    functional clocks; These clocks are handled by hwmod and runtime pm,
    hence insted of the clock enable/disable, the runtime pm APIS are
    used. however,the port clocks and tll clocks are handled
    by the usbhs core.

    Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>


-- 
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-06-14 10:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05  2:06 OMPA4: 3.0-rc1: Unhandled fault during insmod 'ohci-hcd.ko' Ming Lei
     [not found] ` <BANLkTin=7aEaPDf=2Aa9SApdGetyvdz50g@mail.gmail.com>
2011-06-14 10:59   ` Ming Lei [this message]
2011-06-17 17:55     ` Dima Zavin

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='BANLkTi=TPNWMe9_gb7SY2J62SC0L8EoRcw@mail.gmail.com' \
    --to=tom.leiming@gmail.com \
    --cc=keshava_mgowda@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=toddpoynor@google.com \
    --cc=tony@atomide.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 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).