lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709281033.48488.juergen127@kreuzholzen.de>
Date:	Fri, 28 Sep 2007 10:33:48 +0200
From:	Juergen Beisert <juergen127@...uzholzen.de>
To:	linux-kernel@...r.kernel.org
Subject: *SPAM* Re: kernel 2.6.23-rc6 hangs on Geode GX1

On Thursday 27 September 2007 18:13, Juergen Beisert wrote:
> 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.

Has someone an idea how I can read back CPUs clock while I'm in 
arch/i386/kernel/cpu/cyrix.c:set_cx86_inc() ? This incrementer setting must 
be done in relation to processor's clock. We could remove this tweaking as 
Marco suggested, or we must fix it to use the correct value.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ