RE: Smart Reflex pm patches causes a kernel panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

>-----Original Message-----
>From: ext Elvis Dowson [mailto:elvis.dowson@xxxxxxx] 
>Sent: 19 May, 2009 14:49
>To: Kristo Tero (Nokia-D/Tampere)
>Cc: Linux OMAP Users
>Subject: Re: Smart Reflex pm patches causes a kernel panic
>
>Hi Tero,
>		Thanks for the reply. I'll try this out. I 
>don't think mpu_opps is defined for my board_overo.c file. I 
>guess I should look at the board_sdp3430.c as an example for this?

Yes, take a look at it. You are basically missing some parameters in a call to omap2_init_common_hw(), at least the version I am looking at here has a few NULL pointers passed. The rate tables (mpu + l3) should be posted as parameters in that.

-Tero

>
>Thanks and do let me know!
>
>Best regards,
>
>Elvis
>
>
>On May 19, 2009, at 3:41 PM, Tero.Kristo@xxxxxxxxx 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.
>
>--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux