]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.arch/acpi_thinkpad_remove_R40e_c-state_blacklist.patch
Move xen patchset to new version's subdir.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / acpi_thinkpad_remove_R40e_c-state_blacklist.patch
diff --git a/src/patches/suse-2.6.27.31/patches.arch/acpi_thinkpad_remove_R40e_c-state_blacklist.patch b/src/patches/suse-2.6.27.31/patches.arch/acpi_thinkpad_remove_R40e_c-state_blacklist.patch
new file mode 100644 (file)
index 0000000..2dfd735
--- /dev/null
@@ -0,0 +1,98 @@
+From: Thomas Renninger <trenn@suse.de>
+Subject: Remove R40e c-state blacklist
+Patch-mainline: not yet
+References: http://bugzilla.kernel.org/show_bug.cgi?id=8246
+
+This one is part of a patch series:
+acpi_thinkpad_introduce_acpi_root_table_boot_param.patch
+acpi_thinkpad_introduce_acpica_rsdt_global_variable.patch
+acpi_thinkpad_remove_R40e_c-state_blacklist.patch
+
+
+The FADT pointed to through XSDT is wrong on this (and similar)
+machines.
+The HW addresses to switch C-states are coming from the FADT.
+When using the FADT pointed to in the RSDT the info is correct.
+Previous patches blacklist this machine to use the right FADT and
+C-states finally work fine.
+
+Signed-off-by: Thomas Renninger <trenn@suse.de>
+Tested-by: Mark Doughty <me@markdoughty.co.uk>
+
+Remove R40e c-state blacklist
+
+The FADT pointed to through XSDT is wrong on this (and similar) machines.
+The HW addresses to switch C-states are coming from the FADT.
+When using the FADT pointed to in the RSDT the info is correct.
+Previous patches blacklist this machine to use the right FADT and
+C-states finally work fine.
+
+Signed-off-by: Thomas Renninger <trenn@suse.de>
+Tested-by: Mark Doughty <me@markdoughty.co.uk>
+CC: Yakui Zhao <yakui.zhao@intel.com>
+
+
+---
+ drivers/acpi/processor_idle.c |   51 ------------------------------------------
+ 1 file changed, 51 deletions(-)
+
+--- a/drivers/acpi/processor_idle.c
++++ b/drivers/acpi/processor_idle.c
+@@ -127,57 +127,6 @@ static int set_max_cstate(const struct d
+ /* Actually this shouldn't be __cpuinitdata, would be better to fix the
+    callers to only run once -AK */
+ static struct dmi_system_id __cpuinitdata processor_power_dmi_table[] = {
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET70WW")}, (void *)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET60WW")}, (void *)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET43WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET45WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET47WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET50WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET52WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET55WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET56WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET59WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET60WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET61WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET62WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET64WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET65WW") }, (void*)1},
+-      { set_max_cstate, "IBM ThinkPad R40e", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"1SET68WW") }, (void*)1},
+-      { set_max_cstate, "Medion 41700", {
+-        DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
+-        DMI_MATCH(DMI_BIOS_VERSION,"R01-A1J")}, (void *)1},
+       { set_max_cstate, "Clevo 5600D", {
+         DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
+         DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")},