]>
Commit | Line | Data |
---|---|---|
1 | From: Thomas Renninger <trenn@suse.de> | |
2 | Subject: Remove R40e c-state blacklist | |
3 | Patch-mainline: not yet | |
4 | References: http://bugzilla.kernel.org/show_bug.cgi?id=8246 | |
5 | ||
6 | This one is part of a patch series: | |
7 | acpi_thinkpad_introduce_acpi_root_table_boot_param.patch | |
8 | acpi_thinkpad_introduce_acpica_rsdt_global_variable.patch | |
9 | acpi_thinkpad_remove_R40e_c-state_blacklist.patch | |
10 | ||
11 | ||
12 | The FADT pointed to through XSDT is wrong on this (and similar) | |
13 | machines. | |
14 | The HW addresses to switch C-states are coming from the FADT. | |
15 | When using the FADT pointed to in the RSDT the info is correct. | |
16 | Previous patches blacklist this machine to use the right FADT and | |
17 | C-states finally work fine. | |
18 | ||
19 | Signed-off-by: Thomas Renninger <trenn@suse.de> | |
20 | Tested-by: Mark Doughty <me@markdoughty.co.uk> | |
21 | ||
22 | Remove R40e c-state blacklist | |
23 | ||
24 | The FADT pointed to through XSDT is wrong on this (and similar) machines. | |
25 | The HW addresses to switch C-states are coming from the FADT. | |
26 | When using the FADT pointed to in the RSDT the info is correct. | |
27 | Previous patches blacklist this machine to use the right FADT and | |
28 | C-states finally work fine. | |
29 | ||
30 | Signed-off-by: Thomas Renninger <trenn@suse.de> | |
31 | Tested-by: Mark Doughty <me@markdoughty.co.uk> | |
32 | CC: Yakui Zhao <yakui.zhao@intel.com> | |
33 | ||
34 | ||
35 | --- | |
36 | drivers/acpi/processor_idle.c | 51 ------------------------------------------ | |
37 | 1 file changed, 51 deletions(-) | |
38 | ||
39 | --- a/drivers/acpi/processor_idle.c | |
40 | +++ b/drivers/acpi/processor_idle.c | |
41 | @@ -127,57 +127,6 @@ static int set_max_cstate(const struct d | |
42 | /* Actually this shouldn't be __cpuinitdata, would be better to fix the | |
43 | callers to only run once -AK */ | |
44 | static struct dmi_system_id __cpuinitdata processor_power_dmi_table[] = { | |
45 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
46 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
47 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET70WW")}, (void *)1}, | |
48 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
49 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
50 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET60WW")}, (void *)1}, | |
51 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
52 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
53 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET43WW") }, (void*)1}, | |
54 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
55 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
56 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET45WW") }, (void*)1}, | |
57 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
58 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
59 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET47WW") }, (void*)1}, | |
60 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
61 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
62 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET50WW") }, (void*)1}, | |
63 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
64 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
65 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET52WW") }, (void*)1}, | |
66 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
67 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
68 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET55WW") }, (void*)1}, | |
69 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
70 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
71 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET56WW") }, (void*)1}, | |
72 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
73 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
74 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET59WW") }, (void*)1}, | |
75 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
76 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
77 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET60WW") }, (void*)1}, | |
78 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
79 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
80 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET61WW") }, (void*)1}, | |
81 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
82 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
83 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET62WW") }, (void*)1}, | |
84 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
85 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
86 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET64WW") }, (void*)1}, | |
87 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
88 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
89 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET65WW") }, (void*)1}, | |
90 | - { set_max_cstate, "IBM ThinkPad R40e", { | |
91 | - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"), | |
92 | - DMI_MATCH(DMI_BIOS_VERSION,"1SET68WW") }, (void*)1}, | |
93 | - { set_max_cstate, "Medion 41700", { | |
94 | - DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"), | |
95 | - DMI_MATCH(DMI_BIOS_VERSION,"R01-A1J")}, (void *)1}, | |
96 | { set_max_cstate, "Clevo 5600D", { | |
97 | DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"), | |
98 | DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")}, |