Re: Need testers: G3 @ G4 laptops (powerbooks & ibooks)
Works fine, even on:
Linux uziel 2.6.2-ben1 #1 Mon Feb 18 18:24:19 CET 2004 ppc GNU/Linux
processor : 0
cpu : 750CXe
temperature : 12 C (uncalibrated)
clock : 499MHz
revision : 34.21 (pvr 0008 2215)
bogomips : 995.32
machine : PowerBook4,1
motherboard : PowerBook4,1 MacRISC2 MacRISC Power Macintosh
detected as : 257 (iBook 2)
pmac flags : 0000000b
L2 cache : 256K unified
memory : 256MB
pmac-generation : NewWorld
Is there a `central' FTP-site for your sources? Everytime I look for one, I get different matches on google.
regards,
Lukas
On Wed, 18 Feb 2004 14:21:36 +1100
Thus spake Benjamin Herrenschmidt <benh@kernel.crashing.org>:
> Hi need people who own those machiens, especially the recent iBook2 models
> with a G3 CPU and titanium powerbooks with a G4, to test this patch and
> tell me if sleep mode still works reliably or becomes unstable.
>
> (It won't help machines that cannot already sleep).
>
> Applies on top of current 2.6 but may apply to 2.4 as well..
>
> Thanks !
>
> Ben.
>
> ===== arch/ppc/kernel/l2cr.S 1.15 vs edited =====
> --- 1.15/arch/ppc/kernel/l2cr.S Tue Oct 14 17:28:01 2003
> +++ edited/arch/ppc/kernel/l2cr.S Wed Feb 18 14:14:33 2004
> @@ -130,11 +130,13 @@
> mtspr HID0,r4 /* Disable DPM */
> sync
>
> +#if 0
> /* Flush & disable L1 */
> mr r5,r3
> bl __flush_disable_L1
> mr r3,r5
> -
> +#endif
> +
> /* Get the current enable bit of the L2CR into r4 */
> mfspr r4,L2CR
>
> @@ -236,8 +238,10 @@
> sync
>
> 4:
> - bl __inval_enable_L1
>
> +#if 0
> + bl __inval_enable_L1
> +#endif
> /* Restore HID0[DPM] to whatever it was before */
> sync
> mtspr 1008,r8
> @@ -394,11 +398,10 @@
> END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
> sync
>
> - /* Load counter to 0x1000 cache lines (128k) and
> + /* Load counter to 0x4000 cache lines (512k) and
> * load cache with datas
> */
> - lis r3,0x0002
> -// li r3,0x1000 /* 128kB / 32B */
> + li r3,0x4000 /* 512kB / 32B */
> mtctr r3
> li r3, 0
> 1:
> @@ -409,8 +412,7 @@
> sync
>
> /* Now flush those cache lines */
> - lis r3,0x0002
> -// li r3,0x1000 /* 128kB / 32B */
> + li r3,0x4000 /* 512kB / 32B */
> mtctr r3
> li r3, 0
> 1:
>
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
======================================================================
dreaming in digital
living in realtime
thinking in binary
talking in IP
WELCOME TO OUR WORLD!
======================================================================
Reply to: