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