Re: Avoid critical temp shutdowns on specific ThinkPad T4x(p) and R50p

Andi Kleen
2008-07-30T16:17:42Z

Thomas Renninger wrote:
> This came in in OpenSUSE 10.3. When we still had overriden thermal polling
> frequency (what we probably will do again soon). It has been tested that
> specific ThinkPads do not throw a thermal event when exceeding the passive
> trip point. Even thermal polling was not enough...
> As no other solution has been found meanwhile and it seems Windows is also
> using a virtual passive trip point:

Ok that would be good evidence.

> + if (dmi_check_system(thermal_psv_dmi_table)) {
> + if (tz->trips.passive.flags.valid &&
> + tz->trips.passive.temperature > CELSIUS_TO_KELVIN(85)) {
> + printk (KERN_INFO "Adjust passive trip point from %lu"
> + " to %lu\n",
> + KELVIN_TO_CELSIUS(tz->trips.passive.temperature),
> + KELVIN_TO_CELSIUS(tz->trips.passive.temperature - 150));
> + tz->trips.passive.temperature -= 150;

The hardcoded temperature numbers make me a little uneasy. Also 85 - 150
is potentially negative, which is probably not good?

-Andi