Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752955AbZFHFoA (ORCPT ); Mon, 8 Jun 2009 01:44:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751219AbZFHFnw (ORCPT ); Mon, 8 Jun 2009 01:43:52 -0400 Received: from www.tglx.de ([62.245.132.106]:54253 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306AbZFHFnw (ORCPT ); Mon, 8 Jun 2009 01:43:52 -0400 Date: Mon, 8 Jun 2009 07:43:43 +0200 (CEST) From: Thomas Gleixner To: Feng Tang cc: "mingo@elte.hu" , "linux-kernel@vger.kernel.org" , shaohua.li@intel.com, jacob.jun.pan@intel.com Subject: Re: [PATCH] tick: add check for the existence of broadcast clock event device In-Reply-To: <20090608095730.0c945e78@feng-desktop> Message-ID: References: <20090605112711.67e7d5cb@feng-desktop> <20090606204736.00700bd0@feng-desktop> <20090608095730.0c945e78@feng-desktop> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) 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: 845 Lines: 24 On Mon, 8 Jun 2009, Feng Tang wrote: > > 1) How do you calibrate the local APIC timer if you do not have some > > initial timer device ? > Yes, we have external timer device with the name "apbt" So that timer is initialized and registered before the local apic, right ? Why is the local APIC timer used at all ? The apbt timer should have a higher rating as the local APIC timer, so when APIC is registered it is not selected and the check in the broadcast functions !(dev->features & CLOCK_EVT_FEAT_C3STOP)) should protect you because that bit is not set on your apbt device. Thanks, 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/