Wakeup broken on iBook G3

Andreas Schwab schwab at suse.de
Tue Mar 22 11:42:29 EST 2005


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:

> Have you tried with very latest bk which contains by workarounds for
> radeon erratas ? The M7 has smore bugs that might have been triggered by
> the moving of code around that I did in the latest readeonfb.

Correction: it's actually an M6.

> Also, in pmac_cache.S, try locating that bit:
>
> 	/* disp-flush L1 */
> 	li	r4,0x4000
> 	mtctr	r4
> 	lis	r4,0xfff0
> 1:	lwzx	r0,r0,r4
> 	addi	r4,r4,32
> 	bdnz	1b
> 	sync
> 	isync
>
> And turn the li r4,0x4000 into lis r4,2 and let me know if that makes
> any difference...

This did help.

> Same a little bit later, there is:
>
>
> 	lis	r4,2
> 	mtctr	r4
> 	lis	r4,0xfff0
> 1:	lwzx	r0,r0,r4
> 	addi	r4,r4,32
> 	bdnz	1b
> 	sync
> 	isync
>
> Here, try turning the lis r4,2 into lis r4,0x20

This didn't, got crash in __flush_dcache_icache when called from
update_mmu_cache.  (I tested both changes separately.)

> Finally, what happens if you boot without any framebuffer in the kernel
> (no fbdev at all, no fbcon, just no console), ssh into the box, and put
> it to sleep ?

I have no idea how to put it into sleep in this configuration.  The
pbbuttonsd says that sleep is not supported.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list