Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761964AbXLOLGw (ORCPT ); Sat, 15 Dec 2007 06:06:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753149AbXLOLGo (ORCPT ); Sat, 15 Dec 2007 06:06:44 -0500 Received: from www.tglx.de ([62.245.132.106]:56102 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbXLOLGn (ORCPT ); Sat, 15 Dec 2007 06:06:43 -0500 Date: Sat, 15 Dec 2007 12:06:15 +0100 (CET) From: Thomas Gleixner To: Chuck Ebbert cc: Mikhail Kshevetskiy , linux-kernel@vger.kernel.org Subject: Re: x86_64 and AMD with C1E In-Reply-To: <471FBC09.8050201@redhat.com> Message-ID: References: <20071001101532.025d652f@localhost> <4718DDB7.7070707@redhat.com> <471FBC09.8050201@redhat.com> User-Agent: Alpine 0.99999 (LFD 796 2007-11-08) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1310 Lines: 34 On Wed, 24 Oct 2007, Chuck Ebbert wrote: > On 10/24/2007 05:26 PM, Mikhail Kshevetskiy wrote: > >>> > >>> I fill something wrong here. > >>> Is it possible to reduce the amount of timer interrupts? > >>> Is it possible to force enable C1,C2 and C3 states when c1e disabled? > >>> > >> How are you disabling C1E? > >> > >> > > dirty hack, i just follow the FreeBSD way and clear C1e bit in lapic > > initialization code. I make it for test purpose only, so i do not produce a > > patch. > > > > Why does disabling C1E disable C1, C2 and C3? > > Thomas, in the case of the machines where C1E is disabled on CPU 0 but > enabled on CPU 1, could we just disable it? Maybe it's a BIOS bug and the > vendor just forgot to disable CPU 1... This whole C1E business is a lot of magic trickery in the guts of the BIOS. I have an X2 box here with an extrem interesting behaviour. C1E is not advertised at all, but the box freezes with the same symptoms unless I disable the local apic timer on the kernel command line. I have no clue how this works internally. tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/