Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755499AbWKPXIm (ORCPT ); Thu, 16 Nov 2006 18:08:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755493AbWKPXIm (ORCPT ); Thu, 16 Nov 2006 18:08:42 -0500 Received: from mailout1.vmware.com ([65.113.40.130]:45026 "EHLO mailout1.vmware.com") by vger.kernel.org with ESMTP id S1755499AbWKPXIl (ORCPT ); Thu, 16 Nov 2006 18:08:41 -0500 Message-ID: <455CEF78.8070607@vmware.com> Date: Thu, 16 Nov 2006 15:08:40 -0800 From: Zachary Amsden User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Andrew Morton Cc: Rusty Russell , Andi Kleen , Jeremy Fitzhardinge , Chris Wright , Virtualization Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH 1/5] Skip timer works.patch References: <200610200009.k9K09MrS027558@zach-dev.vmware.com> <20061116145313.d7b2240b.akpm@osdl.org> In-Reply-To: <20061116145313.d7b2240b.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2001 Lines: 58 Andrew Morton wrote: > On Thu, 19 Oct 2006 17:09:22 -0700 > Zachary Amsden wrote: > > >> Add a way to disable the timer IRQ routing check via a boot option. The >> VMI timer code uses this to avoid triggering the pester Mingo code, which >> probes for some very unusual and broken motherboard routings. It fires >> 100% of the time when using a paravirtual delay mechanism instead of >> using a realtime delay, since there is no elapsed real time, and the 4 timer >> IRQs have not yet been delivered. >> >> In addition, it is entirely possible, though improbable, that this bug >> could surface on real hardware which picks a particularly bad time to enter >> SMM mode, causing a long latency during one of the timer IRQs. >> >> While here, make check_timer be __init. >> >> > > Andi seems to have merged this patch but from somewhere I picked up a > different version, below. > > I think the version I have is better. Because the patch Andi has merged is > cast in terms of "irq testing", which is broad. But that's not what the > patch does - the patch handles only timers. > > IOW, this: > > >> + >> + noirqtest [IA-32,APIC] Disables the code which tests for broken >> + timer IRQ sources. >> > > is misleadingly named. This: > > + no_timer_check [IA-32,X86_64,APIC] Disables the code which tests for > + broken timer IRQ sources. > + > > is better, no? > > But right now, I'll settle for anything which usually compiles. > > Yes, the name sucks. There is no real reason to actually have a boot parameter at all once the paravirt / VMI patches are in, but I wanted something to be able to set timer_irq_really_works until then to avoid someone accidentally removing it. Zach - 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/