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] [day] [month] [year] [list]
Date:	Sat, 12 Jul 2008 11:43:22 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	"Maciej W. Rozycki" <macro@...ux-mips.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -tip] x86: apic LVTT - use APIC_DIVISOR on 64bit mode

[Ingo Molnar - Sat, Jul 12, 2008 at 09:39:10AM +0200]
| 
| * Cyrill Gorcunov <gorcunov@...il.com> wrote:
| 
| > @@ -329,7 +332,7 @@ static void __init calibrate_APIC_clock(
| >  	 *
| >  	 * No interrupt enable !
| >  	 */
| > -	__setup_APIC_LVTT(250000000, 0, 0);
| > +	__setup_APIC_LVTT(4000000000, 0, 0);
| 
| note how close it is to 2^32. For this to be unifiable later on this 
| needs to be UL i guess, and this:
| 
| > -	calibration_result = result / HZ;
| > +	calibration_result = result * APIC_DIVISOR / HZ;
| 
| might overflow 32 bits.
| 
| 	Ingo
|

hmm... I need more time for analisys, thanks. Drop this patch
please
 
		- Cyrill -
--
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