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

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



Hi!

< Le mardi 29 mars 2005 � 00:50:09 +0200 (CEST), Benjamin Herrenschmidt �ivit :>

Test 1 :

> line 64:
> 
> 	/* disp-flush L1 */
> 	li	r4,0x4000
> 
> Change that to
> 	lis	r3,2

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?

Thanks.

Jean-Paul Vincent.




Reply to: