Re: kernel 2.6.23-rc6 hangs on Geode GX1

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

 



Thanks Juergen,

> It runs stable on 5 different GX1 systems.
>
> But I do not use a standard BIOS. I'm using LinuxBIOS instead. But I'm
also using
> these patches.
>

set_cx86_inc was one of performance trick called by geode_configure
I didn't find any documentation about "incrementor margin" before.

But since I'm running on 300MHz GX1 the default kernel is now broken for me!


> --- 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 */
>  }
>

I will try your patch

But again, if those tricks are so system dependent  I suggest to kernel
people to let disable it in default configuration.


Marco

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux