From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755350Ab0JNPmI (ORCPT ); Thu, 14 Oct 2010 11:42:08 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:47229 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754576Ab0JNPmH (ORCPT ); Thu, 14 Oct 2010 11:42:07 -0400 From: Alan Cox Subject: [RESEND PATCH] x86/mrst: parse SFI timer table for all timer configs To: mingo@elte.hu, linux-kernel@vger.kernel.org, x86@kernel.org Date: Thu, 14 Oct 2010 15:48:44 +0100 Message-ID: <20101014144829.13959.65027.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 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 (Nothing has happened so resending) From: Jacob Pan Penwell has APB timer based watchdog timers, it requires platform code to parse SFI MTMR tables in order to claim its timer. This patch will always parse SFI MTMR regardless of system timer configuration choices. Otherwise, SFI MTMR table may not get parsed if running on Medfield with always-on local APIC timers and constant TSC. Watchdog timer driver will not get a timer to use. Signed-off-by: Jacob Pan Signed-off-by: Alan Cox --- arch/x86/kernel/mrst.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/mrst.c b/arch/x86/kernel/mrst.c index 0bf74c5..2abbcaf 100644 --- a/arch/x86/kernel/mrst.c +++ b/arch/x86/kernel/mrst.c @@ -218,6 +218,7 @@ static unsigned long __init mrst_calibrate_tsc(void) void __init mrst_time_init(void) { + sfi_table_parse(SFI_SIG_MTMR, NULL, NULL, sfi_parse_mtmr); switch (mrst_timer_options) { case MRST_TIMER_APBT_ONLY: break; @@ -233,7 +234,6 @@ void __init mrst_time_init(void) return; } /* we need at least one APB timer */ - sfi_table_parse(SFI_SIG_MTMR, NULL, NULL, sfi_parse_mtmr); pre_init_apic_IRQ0(); apbt_time_init(); }