lkml.org 
[lkml]   [2002]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RFC] P4/Xeon Thermal LVT support
On Wed, 27 Mar 2002, Dave Jones wrote:

> 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.

That shouldn't be a problem since the interrupt only occurs on thermal
transition, ie when you hit over the threshold or hit below. Therefore we
shouldn't be fluctuating since the clock modulation will be in effect and
the temperature will drop. However i can't be 100% certain.

Zwane

--
http://function.linuxpower.ca


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.209 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site