All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Roger Quadros <ext-roger.quadros@nokia.com>
Cc: "ext Tero.Kristo@nokia.com" <Tero.Kristo@nokia.com>,
	elvis.dowson@mac.com, linux-omap@vger.kernel.org
Subject: Re: Smart Reflex pm patches causes a kernel panic
Date: Tue, 19 May 2009 07:44:55 -0700	[thread overview]
Message-ID: <87pre58848.fsf@deeprootsystems.com> (raw)
In-Reply-To: <4A129CA9.5090804@nokia.com> (Roger Quadros's message of "Tue\, 19 May 2009 14\:48\:57 +0300")

Roger Quadros <ext-roger.quadros@nokia.com> writes:

> ext Tero.Kristo@nokia.com wrote:
>> Hi Elvis,
>>
>> I think I saw something similar last week, and it was caused by not having CONFIG_OMAP_PM_SRF enabled. The actual culprit is the marked line in sr_configure_vp():
>>
>>                 vpconfig = PRM_VP1_CONFIG_ERROROFFSET |
>>                         PRM_VP1_CONFIG_ERRORGAIN |
>>                         PRM_VP1_CONFIG_TIMEOUTEN |
>>>>>                        mpu_opps[resource_get_level("vdd1_opp")].vsel <<
>>                         OMAP3430_INITVOLTAGE_SHIFT; 
>>
>> SR2 has similar code a bit later.
>>
>> You will also get a failure if mpu_opps[] and/or l3_opps[] is not defined at all in your board files, this null pointer exception would actually indicate a problem like that more likely.
>>
>> -Tero
>>
>>> -----Original Message-----
>>> From: linux-omap-owner@vger.kernel.org
>>> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of ext Elvis
>>> Dowson
>>> Sent: 19 May, 2009 14:21
>>> To: Kevin Hilman
>>> Cc: Linux OMAP Users
>>> Subject: Smart Reflex pm patches causes a kernel panic
>>>
>>> Hi Kevin,
>>> 		  I get a kernel panic on my TI OMAP 3503 when I
>>> incorporate the SR patches. How can I trace and debug this to find
>>> the cause of this null pointer error ?
>>>

[...]

>
> Elvis,
>
> Currently Smartreflex (SR) is dependent on SRF to get OPP levels. Just
> make sure you select CONFIG_OMAP_PM_SRF when using SR. OR you can
> disable Smartreflex till this issue is fixed.
>
> I am working on a patch that will make Smartreflex independent of
> SRF. I will post this soon.
>

Elvis,

Where are you getting the PM branch?  By this problem I'm pretty sure
you're not using the current published PM branch.  Since there are
some fixes in place.

The current PM branch has a Kconfig patch that makes SR dependent on SRF
so you should not see this problem.

Kevin

  parent reply	other threads:[~2009-05-19 14:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <95B5E119-3C65-4739-A8BA-B66486850DD4@mac.com>
2009-05-19 11:41 ` Smart Reflex pm patches causes a kernel panic Tero.Kristo
2009-05-19 11:48   ` Roger Quadros
     [not found]     ` <A580CA19-FD4B-4A4B-BF38-FC53444FC012@mac.com>
2009-05-19 12:04       ` Roger Quadros
     [not found]         ` <94EF211A-2914-4BED-BCD2-86658B09F399@mac.com>
2009-05-19 12:43           ` Roger Quadros
     [not found]             ` <5C433032-E215-4948-B535-1FCF96069EED@mac.com>
     [not found]               ` <CB49EA74-EE64-4906-917E-FCFD21B19A57@mac.com>
2009-05-19 19:13                 ` Koen Kooi
2009-05-19 14:44     ` Kevin Hilman [this message]
     [not found]   ` <C9DC074E-8B56-4ED1-A74E-94664F325A31@mac.com>
2009-05-19 12:20     ` Tero.Kristo

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=87pre58848.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=Tero.Kristo@nokia.com \
    --cc=elvis.dowson@mac.com \
    --cc=ext-roger.quadros@nokia.com \
    --cc=linux-omap@vger.kernel.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 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.