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

Re: [PATCH] Fix sleep/wakeup problems on iBook G3



On Tue, 2005-03-29 at 18:52 +0200, Jean-Paul Vincent wrote:
> Hi!
> 
> < Le mardi 29 mars 2005 � 00:50:09 +0200 (CEST), Benjamin Herrenschmidt crivit :>
> 
> Test 1 :
> 
> > line 64:
> > 
> > 	/* disp-flush L1 */
> > 	li	r4,0x4000
> > 
> > Change that to
> > 	lis	r3,2

Yes, I had a typo there, it should be

	lis	r4,2

sorry.

> Sorry I wrote _li_ and not _lis_ result is :
> ------------------------------------
> ...
> exception+0x0/0x74
> bad_page_fault+0x5c/0x60
> handle_page_fault+0x7c/0x80
> __wake_up_common+0x58/0xa4
> ... Oops kernel access bad area, sig 11
> not sycing: Attempted to kill init!
> <0> Rebooting in 180 seconds
> ... (some text)
> Kernel panic: not sycing: Aiee, killing interrupt handler!
> <0> Rebooting in 180 seconds
> ----------------------
> Hard reboot.
> 
> 
> Test 2:
>  
> > And line 76:
>  
> > 	rlwinm	r3,r3,0,~HID0_DCE
> > 
> > Change that to
> > 	rlwinm	r3,r3,0,~(HID0_DCE|HID0_ICE)
> 
> Result: the ibook wakes up, seems to be good.
> 
> Test 3 (two changes together): dont wakes up.
> 
> Please could confirm the _lis_ and not the _li_ at line 64?

Yes, but lis r4,2 not lis r3,2

Ben.




Reply to: