From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759554Ab0FQAVV (ORCPT ); Wed, 16 Jun 2010 20:21:21 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35352 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755626Ab0FQAVU (ORCPT ); Wed, 16 Jun 2010 20:21:20 -0400 Message-ID: <4C196A2F.5010604@zytor.com> Date: Wed, 16 Jun 2010 17:19:59 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Pan, Jacob jun" CC: "Eric W. Biederman" , "kerstin.jonsson" , Andrew Morton , "linux-kernel@vger.kernel.org" , "jbohac@novell.com" , Yinghai Lu , "mingo@elte.hu" , Avi Kivity , "trenn@suse.de" Subject: Re: [PATCH] x86 apic: Ack all pending irqs when crashed/on kexec - V5 References: <4B96116A.6090705@ericsson.com> <1268131954-13845-1-git-send-email-trenn@suse.de> <4BA75473.8090400@ericsson.com> <43F901BD926A4E43B106BF17856F0755E7C393B9@orsmsx508.amr.corp.intel.com> In-Reply-To: <43F901BD926A4E43B106BF17856F0755E7C393B9@orsmsx508.amr.corp.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/16/2010 02:11 PM, Pan, Jacob jun wrote: > > W.R.T. the loop limits, is it possible to use a default max_loops value in > case when cpu_khz is not set? The reason is that on Moorestown platform > we need to do an early APIC setup before tsc_init(), so cpu_khz is 0 at the > time we setup local APIC. The result is that we hit WARN_ON(max_loops<= 0) > on Moorestown for early APIC setup. > > The early APIC setup is needed because Moorestown does not have a PIT and the > system timer interrupts are routed via IOAPIC. > Can't MRST install a quick ballpark value into cpu_khz? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.