Re: kernel 2.6.23-rc6 hangs on Geode GX1

From: Marco Tralli
Date: Fri Sep 28 2007 - 04:36:30 EST


> Index: linux-2.6.22/arch/i386/kernel/cpu/cyrix.c
> ===================================================================
> --- linux-2.6.22.orig/arch/i386/kernel/cpu/cyrix.c
> +++ linux-2.6.22/arch/i386/kernel/cpu/cyrix.c
> @@ -169,7 +169,7 @@ static void __cpuinit set_cx86_inc(void)
> setCx86(CX86_PCR1, getCx86(CX86_PCR1) | 0x02);
> /* PCR0 -- Performance Control */
> /* Incrementor Margin 10 */
> - setCx86(CX86_PCR0, getCx86(CX86_PCR0) | 0x04);
> + setCx86(CX86_PCR0, getCx86(CX86_PCR0) | 0x05); /* 300MHz CPU */
> setCx86(CX86_CCR3, ccr3); /* disable MAPEN */
> }
>
> This should be done at runtime in relation to the real CPU clock.
>
> Hope it helps
> Juergen
>

Your patch fix my issue
Thank you

Marco




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/