From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754908AbYISSVx (ORCPT ); Fri, 19 Sep 2008 14:21:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752970AbYISSVp (ORCPT ); Fri, 19 Sep 2008 14:21:45 -0400 Received: from www.tglx.de ([62.245.132.106]:50152 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbYISSVo (ORCPT ); Fri, 19 Sep 2008 14:21:44 -0400 Date: Fri, 19 Sep 2008 11:21:19 -0700 (PDT) From: Thomas Gleixner To: Andreas Herrmann cc: Valdis.Kletnieks@vt.edu, Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: c1e_idle: don't mark TSC unstable if CPU has invariant TSC In-Reply-To: <20080919172019.GA16896@alberich.amd.com> Message-ID: References: <20080918191210.GD23287@alberich.amd.com> <27087.1221766532@turing-police.cc.vt.edu> <20080919172019.GA16896@alberich.amd.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) 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 Fri, 19 Sep 2008, Andreas Herrmann wrote: > TSC on K8 is not P-state and C-state invariant. > Thus on K8 you'll have a TSC drift if C1E is entered. > > This means that if C1E is enabled TSC should be marked unstable on > those CPUs (it shouldn't be used as a clocksource). Correct. I missed that detail with the newer CPUs when I did the C1E idle stuff. Thanks for catching it. I'll schedule it for Linus when I'm back from Portland. Thanks, tglx