Re: [Ubuntu PATCH] acpi: Add IBM R60E laptop to proc-idle blacklist



Matthew Garrett wrote:
On Mon, Jun 19, 2006 at 08:33:33PM -0700, Andrew Morton wrote:
+ { set_max_cstate, "IBM ThinkPad R40e", {
+ DMI_MATCH(DMI_BIOS_VENDOR, "IBM"),
+ DMI_MATCH(DMI_BIOS_VERSION, "1SET70WW") }, (void*)1},

It seems that every R40e in the world is in that table.

Can/should we wildcard it? From my reading of dmi_check_system(), we can use
"" in place of the "1SET..." string and it'll dtrt?

Wouldn't that result in every machine with "IBM" as the BIOS vendor
having their maximum c-state limited?

Yes. DMI_MATCH() specifies substring matching, so _if we knew_
that any BIOS version that began with "1SET4", "1SET5", "1SET6",
or "1SET7" needed C-state limiting, the table could be made a lot
smaller. But then it may need some exceptions, so just sticking
with full version strings seems reasonable to me.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [Ubuntu PATCH] acpi: Add IBM R60E laptop to proc-idle blacklist
    ... Can/should we wildcard it? ... From my reading of dmi_check_system, ... Wouldn't that result in every machine with "IBM" as the BIOS vendor ...
    (Linux-Kernel)
  • Re: XP? I think not!
    ... Great reading. ... >> Microsoft is furiously becoming what IBM once was -- irrelevent. ... >>> question (although I admit to excessive sarcasm in my last couple of posts). ...
    (microsoft.public.vb.general.discussion)
  • Re: To get back on topic....
    ... It is an IBM page about the linux kernel, ... further reading, I just spent about an hour reading several of the ... Maybe IBM was doing an IPL on thier web server. ...
    (alt.2600)
  • Re: Microsoft taps Canon to bring Vista into color
    ... >>> MS doesn't have the influence over IBM you seem to think it does. ... >>axe to grind knows that painting MS as innocent just won't work. ... Look who's reading far too much into what was said. ...
    (rec.photo.digital)
  • IBM 300pl, install yarrow.
    ... System startup, reading cd: nothing happens ... Tested the cd disc1 in another type of pc: ok, install window ... floppy in IBM 300pl, ...
    (Fedora)