* [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate
@ 2008-07-31 21:35 Thomas Rosner
2008-08-18 15:10 ` Thomas Renninger
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Rosner @ 2008-07-31 21:35 UTC (permalink / raw)
To: linux-acpi; +Cc: Len Brown, Andie Kleen, Thomas Rosner
Sort the entries in the IBM R40e C2/C3-states blacklist and remove a duplicate. Please apply.
Signed-off-by: Thomas Rosner <kernel-bugs@digital-trauma.de>
CC: Len Brown <len.brown@intel.com>
CC: Andie Kleen <ak@linux.intel.com>
---
drivers/acpi/processor_idle.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 556ee15..3e9f59d 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -128,12 +128,6 @@ static int set_max_cstate(const struct dmi_system_id *id)
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"),
@@ -174,6 +168,9 @@ 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,"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},
--
1.5.4.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate
2008-07-31 21:35 [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate Thomas Rosner
@ 2008-08-18 15:10 ` Thomas Renninger
2008-08-18 16:04 ` Matthew Garrett
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Renninger @ 2008-08-18 15:10 UTC (permalink / raw)
To: Thomas Rosner; +Cc: linux-acpi, Len Brown, Andi Kleen
On Thursday 31 July 2008 23:35:35 Thomas Rosner wrote:
> Sort the entries in the IBM R40e C2/C3-states blacklist and remove a
> duplicate. Please apply.
FWIW, the R40e can do c-state switching, but must use the RSDT instead of the
XSDT.
The patchseries (posted on linux-acpi a while ago):
[PATCH 1/3] ACPICA: Add acpi_gbl_force_rsdt variable
Re: [PATCH 2/3] Introduce acpi_root_table=rsdt boot param and dmi list to
force rsdt
[PATCH 3/3] Remove R40e c-state blacklist
did introduce a switch to be able to load blacklisted machines to use the RSDT
(only some rare specific T4x or T5x are known which need it) instead of the
XSDT and moves the R40e blacklist to use the RSDT and thus enables c-states
for these machines.
The patch has not been taken:
--------------------
Appropriate workaround for a distro release? Yes.
Appropriate patch for upstream? No.
Upstream should fix the root cause, which is to figure out when the RSDT
and XSDT disagree, which Windows is using, and use that one. Littering
upstream with DMI entries simply hides the test cases that we know about
and delays the correct fix.
--------------------
IMO it's time to repost above patchset and take it until the "root cause" is
found.
The blacklist should also just match:
> - DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
> - DMI_MATCH(DMI_BIOS_VERSION,"1SET")}, (void *)1},
all other entries can vanish.
I can repost if people think that the root cause cannot be fixed for .27
anymore and above is considered as a workaround that should be taken for now.
Thomas
> Signed-off-by: Thomas Rosner <kernel-bugs@digital-trauma.de>
> CC: Len Brown <len.brown@intel.com>
> CC: Andie Kleen <ak@linux.intel.com>
> ---
> drivers/acpi/processor_idle.c | 9 +++------
> 1 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index 556ee15..3e9f59d 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -128,12 +128,6 @@ static int set_max_cstate(const struct dmi_system_id
> *id) 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"),
> @@ -174,6 +168,9 @@ 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,"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},
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate
2008-08-18 15:10 ` Thomas Renninger
@ 2008-08-18 16:04 ` Matthew Garrett
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2008-08-18 16:04 UTC (permalink / raw)
To: Thomas Renninger; +Cc: Thomas Rosner, linux-acpi, Len Brown, Andi Kleen
On Mon, Aug 18, 2008 at 05:10:17PM +0200, Thomas Renninger wrote:
> I can repost if people think that the root cause cannot be fixed for .27
> anymore and above is considered as a workaround that should be taken for now.
The existing workaround (of just disabling C-state transitions on this
hardware) is fine for .27. We just need to determine how windows chooses
to use the RSDT over the XSDT. Is it simply that values that are present
in the XSDT are ignored if they're also in the RSDT?
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-18 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 21:35 [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate Thomas Rosner
2008-08-18 15:10 ` Thomas Renninger
2008-08-18 16:04 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox