public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org>
To: Thomas Renninger <trenn-l3A5Bk7waGM@public.gmane.org>
Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
	lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Avoid critical temp shutdowns on specific	ThinkPad T4x(p) and R50p
Date: Wed, 30 Jul 2008 14:52:27 -0300	[thread overview]
Message-ID: <20080730175227.GA13850@khazad-dum.debian.net> (raw)
In-Reply-To: <200807301556.01815.trenn-l3A5Bk7waGM@public.gmane.org>

On Wed, 30 Jul 2008, Thomas Renninger wrote:
> 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...

Urgh.

> +			DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T41"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T42"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T41p"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T42p"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad R50p"),

Just match BIOS 1R* with VENDOR IBM.  The T40 is affected as well for sure.
It uses the same BIOS and EC firmware, it *has* to be.  And it is missing on
this list.

For IBM ThinkPads, it is *always* better to match on BIOS version than on
product version.

See here for model-BIOS table:
http://www.thinkwiki.org/wiki/BIOS_Upgrade_Downloads

and here for DMI info table:
http://www.thinkwiki.org/wiki/List_of_DMI_IDs

> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T43"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad T43p"),

Two possible BIOS: 1Y and 70 for the T43, and BIOS 1Y for the T43p.  Are you
sure all of these machines have the bug?  Is there a common factor in the
DSDT tables we can check to root out the buggy ones?

> +		.ident = "IBM ThinkPad R40",
> +		.matches = {
> +			DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION,"ThinkPad R40"),
> +		},

Two possible BIOSes: 1O and 1P...  and many other ThinkPad BIOSes exist in
the time window from the 1O/1P to the 1Y.  Shouldn't all of them be suspect?

No X models have these issues? (the X models always had a slightly more
advanced BIOS, so it is indeed possible that the bug was never on that
branch of the code).

> +	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;
> +			acpi_thermal_set_polling(tz, 5);
> +		}
> +	}

If this is a safe test that won't misstrigger or cause issues, maybe just
enable it on anything with BIOS_VENDOR IBM, and PRODUCT_VERSION "ThinkPad
[TR]*" ?  None of them have CPUs that should go over 85C, AFAIK.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

  parent reply	other threads:[~2008-07-30 17:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 13:56 Avoid critical temp shutdowns on specific ThinkPad T4x(p) and R50p Thomas Renninger
2008-07-30 16:17 ` Andi Kleen
     [not found]   ` <4890942C.3080007-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2008-07-30 16:46     ` Thomas Renninger
     [not found] ` <200807301556.01815.trenn-l3A5Bk7waGM@public.gmane.org>
2008-07-30 17:52   ` Henrique de Moraes Holschuh [this message]
     [not found]     ` <20080730175227.GA13850-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2008-07-30 19:03       ` Thomas Renninger
2008-07-30 20:39         ` [ibm-acpi-devel] " Chris Hanson
     [not found]           ` <f62196f50807301339r10bbb17do4bb2345b688011a3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-31 13:19             ` Henrique de Moraes Holschuh
2008-07-31  9:44     ` Critical temp shutdowns on ThinkPad X60 1706-GMG (was Re: [ibm-acpi-devel] Avoid critical temp shutdowns on specific ThinkPad T4x(p) and R50p) Luca Capello
     [not found]       ` <87zlnyv14h.fsf_-_-vpnYUZh4Q8kL5bzFcGmneg@public.gmane.org>
2008-07-31 12:39         ` Critical temp shutdowns on ThinkPad X60 1706-GMG (was " Thomas Renninger
2008-07-31 13:04           ` Critical temp shutdowns on ThinkPad X60 1706-GMG Luca Capello
2008-07-31 13:15             ` Theodore Tso
     [not found]               ` <20080731131512.GI5347-3s7WtUTddSA@public.gmane.org>
2008-07-31 13:21                 ` Henrique de Moraes Holschuh
2008-07-31 13:28               ` Luca Capello
2008-07-31 14:06                 ` Theodore Tso
     [not found]                   ` <20080731140602.GB11632-3s7WtUTddSA@public.gmane.org>
2008-07-31 14:15                     ` Henrique de Moraes Holschuh
2008-07-31  1:02 ` Avoid critical temp shutdowns on specific ThinkPad T4x(p) and R50p Zhang Rui
2008-08-01 11:18   ` Thomas Renninger
2008-08-11 11:30     ` Andi Kleen
     [not found]       ` <48A022BD.2040908-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2008-08-11 12:33         ` Thomas Renninger
     [not found]           ` <200808111433.25275.trenn-l3A5Bk7waGM@public.gmane.org>
2008-08-11 12:55             ` Matthew Garrett
     [not found]               ` <20080811125519.GA26308-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2008-08-11 14:14                 ` Thomas Renninger
2008-08-11 14:15                   ` Matthew Garrett
2008-08-12  8:00                     ` Andi Kleen
2008-08-12  8:02                       ` Matthew Garrett
2008-08-12  8:20                       ` Zhang Rui
2008-08-12  9:32                         ` Andi Kleen
2008-08-12  1:27           ` Zhang Rui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080730175227.GA13850@khazad-dum.debian.net \
    --to=hmh-n3tv7giv+o9fyo9q7ep/yw@public.gmane.org \
    --cc=ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=trenn-l3A5Bk7waGM@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox