Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 27 Mar 2002 06:44:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 27 Mar 2002 06:43:50 -0500 Received: from ns.suse.de ([213.95.15.193]:34320 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Wed, 27 Mar 2002 06:43:36 -0500 Date: Wed, 27 Mar 2002 12:43:33 +0100 From: Dave Jones To: Zwane Mwaikambo Cc: Linux Kernel Subject: Re: [PATCH][RFC] P4/Xeon Thermal LVT support Message-ID: <20020327124333.A17832@suse.de> Mail-Followup-To: Dave Jones , Zwane Mwaikambo , Linux Kernel In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 27, 2002 at 08:04:37AM +0200, Zwane Mwaikambo wrote: > + rdmsr(MSR_IA32_THERM_STATUS, l, h); > + if (l & 1) { > + printk(KERN_EMERG "CPU#%d: Temperature above threshold\n", cpu); > + printk(KERN_EMERG "CPU#%d: Running in modulated clock mode\n", cpu); > + } else { > + printk(KERN_INFO "CPU#%d: Temperature/speed normal\n", cpu); > + } This chunk probably wants to be rate-limited to avoid flooding the same message over and over. -- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - 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/