From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874AbZENUVV (ORCPT ); Thu, 14 May 2009 16:21:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752943AbZENUVB (ORCPT ); Thu, 14 May 2009 16:21:01 -0400 Received: from www.tglx.de ([62.245.132.106]:57180 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752663AbZENUVB (ORCPT ); Thu, 14 May 2009 16:21:01 -0400 Date: Thu, 14 May 2009 22:19:51 +0200 (CEST) From: Thomas Gleixner To: Len Brown cc: Janne Kulmala , Frans Pop , Linux Kernel Mailing List , Steven Rostedt , Ingo Molnar , johnstul@us.ibm.com Subject: Re: [PATCH] ACPI: do not mark TSC unstable for invalid C-states In-Reply-To: Message-ID: References: <200905110226.50115.elendil@planet.nl> <4A0855A5.8040109@tut.fi> 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 On Thu, 14 May 2009, Len Brown wrote: > hang on, that patch will fail for the case where valid > is (about to be) set to 1 and we'll fail to disable the TSC > for systems which _do_ have c3. I'll send an updated patch shortly. Yep, you are right. I missed the cx->valid update in apic_processor_power_verify_cX(). So my patch would break the laptops instead of breaking desktops and servers :) Moving it to acpi_timer_check_state() is the best we can do and that saves us ifdeffery as well as acpi_timer_check_state() is already x86 only. Thanks, tglx