All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Nayak, Rajendra" <rnayak@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Varadarajan, Charulatha" <charu@ti.com>,
	"Raja, Govindraj" <govindraj.raja@ti.com>
Subject: Re: [GIT PULL] for testing: OMAP hwmod driver conversions: watchdog, UART, i2c
Date: Fri, 01 Oct 2010 08:07:04 -0700	[thread overview]
Message-ID: <87k4m2c5pj.fsf@deeprootsystems.com> (raw)
In-Reply-To: <0680EC522D0CC943BC586913CF3768C003FF2DAF74@dbde02.ent.ti.com> (Rajendra Nayak's message of "Fri, 1 Oct 2010 18:58:43 +0530")

"Nayak, Rajendra" <rnayak@ti.com> writes:

[...]

>> >>
>> >> Hmm, this fault is very early and long before any PM code has
>> >> initialzed.  I suspect this happens with the master branch too ??
>> >
>> > I've reproduced this now, and it doesn't happen on the master branch and
>> > only happens after merge pm-hwmods.
>> >
>> > Debugging now...
>> 
>> OK, so this failure is (somehow) related to the i2c hwmods, but I did
>> not figure out how.  Rajendra, can you dig into this?  It only seems to
>> happen on 2420/n800, and all other platforms seem OK.
>
> Hi Kevin,
>
> I was able to reproduce the crash on the n800 and have been debugging
> it for a while.  Like you said putting a HWMOD_INIT_NO_RESET did not
> seem to fix it for me, and the only way I can get the n800 to
> completely bootup is by removing the sysc completely for i2c.  That is
> quite surprising since the only thing that can be done using the
> sysconfig on omap2420 is a softreset.
>
> I verified that its not the sysc read itself that causes a crash
> (clocks seem to be enabled, idlest seems fine) but somehow just these
> sysc reads (if I have HWMOD_INIT_NO_RESET set) seem to be enough to
> cause the crash.  Nothing gets written back to the sysc register
> either.  I was suspecting the omap_readl's done in hmwod framework on
> the 16bit 2420 registers to be an issue, but I am yet to figure out
> how.
>
> I am debugging this further, but in the meantime since this is gating
> all other patches to get merged in omap-testing, should I just remove
> the sysc for i2c on 2420? The only thing it will prevent is a i2c
> softreset at boot, which anyway does not seem to be causing any issues
> on n800.

For omap-testing, I will just drop the i2c series for now until this is
better understood.

Happy debugging!   this sounds like a tricky one,

Kevin

  reply	other threads:[~2010-10-01 15:07 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 18:24 [GIT PULL] for testing: OMAP hwmod driver conversions: watchdog, UART, i2c Kevin Hilman
2010-09-28 20:18 ` Tony Lindgren
2010-09-28 21:35   ` Kevin Hilman
2010-09-29  4:01     ` Nayak, Rajendra
2010-09-29 16:14     ` Nayak, Rajendra
2010-09-29 16:17       ` Nayak, Rajendra
2010-09-29 19:18         ` Kevin Hilman
2010-09-29 19:28           ` Nayak, Rajendra
2010-09-29 19:40             ` Kevin Hilman
2010-09-29 19:54               ` Nayak, Rajendra
2010-09-29 20:03                 ` Kevin Hilman
2010-09-29 19:16       ` Kevin Hilman
2010-09-29 22:24   ` Kevin Hilman
2010-09-30  2:18     ` Tony Lindgren
2010-09-30  2:29       ` Tony Lindgren
2010-09-30  7:55         ` Shilimkar, Santosh
2010-10-01 23:38           ` Paul Walmsley
2010-10-01 23:48             ` Paul Walmsley
2010-09-30 14:39       ` Kevin Hilman
2010-09-30 15:13         ` Kevin Hilman
     [not found]           ` <877hi3gqq7.fsf@deeprootsystems.com>
2010-10-01 13:28             ` Nayak, Rajendra
2010-10-01 15:07               ` Kevin Hilman [this message]
2010-10-01 20:47                 ` Kevin Hilman
2010-10-02  0:47                   ` Tony Lindgren
2010-10-01 16:42               ` Cousson, Benoit
2010-10-05  6:01                 ` Paul Walmsley
2010-10-05  6:20                   ` Nayak, Rajendra
2010-10-05  6:24                     ` Paul Walmsley
2010-10-05  6:27                       ` Paul Walmsley
2010-10-05 12:33                   ` Nayak, Rajendra
2010-10-05 13:13                     ` Nayak, Rajendra
2010-10-05 16:58                     ` Paul Walmsley
2010-10-05 18:09                       ` Paul Walmsley
2010-10-05 18:48                       ` Nayak, Rajendra
2010-10-05 17:04                     ` Kevin Hilman
2010-10-05 18:53                       ` Nayak, Rajendra
2010-10-05 19:49                         ` Kevin Hilman
2010-10-05 20:26                           ` Nayak, Rajendra
2010-10-05 20:35                             ` Kevin Hilman
2010-10-05 20:41                               ` Nayak, Rajendra
2010-10-05 20:44                                 ` Kevin Hilman
2010-10-05 20:46                                   ` Nayak, Rajendra
2010-10-05 15:46                   ` Cousson, Benoit
2010-09-30 15:46         ` Tony Lindgren
2010-09-29 14:51 ` Varadarajan, Charulatha
2010-09-29 15:20   ` 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=87k4m2c5pj.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=charu@ti.com \
    --cc=govindraj.raja@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=rnayak@ti.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 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.