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

From: Andrew Morton
Date: Mon Jun 19 2006 - 23:32:29 EST


On Thu, 15 Jun 2006 13:00:43 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> [UBUNTU:acpi] Add IBM R60E laptop to proc-idle blacklist.
>
> Reference: https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/38228
> http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commit;h=ce5e62bc55056049d192c422b6032f6a406e0ba2
>
> Signed-off-by: Ben Collins <bcollins@xxxxxxxxxx>
> ---
> drivers/acpi/processor_idle.c | 3 +++
> 1 files changed, 3 insertions(+)
>
> --- linux-2617-rc6g7.orig/drivers/acpi/processor_idle.c
> +++ linux-2617-rc6g7/drivers/acpi/processor_idle.c
> @@ -142,6 +142,9 @@ static struct dmi_system_id __cpuinitdat
> { set_max_cstate, "IBM ThinkPad R40e", {
> DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
> DMI_MATCH(DMI_BIOS_VERSION,"1SET68WW") }, (void*)1},
> + { set_max_cstate, "IBM ThinkPad R40e", {
> + DMI_MATCH(DMI_BIOS_VENDOR, "IBM"),
> + DMI_MATCH(DMI_BIOS_VERSION, "1SET70WW") }, (void*)1},
> { set_max_cstate, "Medion 41700", {
> DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
> DMI_MATCH(DMI_BIOS_VERSION,"R01-A1J")}, (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?
-
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/