public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: Thomas Rosner <kernel-bugs@digital-trauma.de>
Cc: linux-acpi@vger.kernel.org, Len Brown <len.brown@intel.com>,
	Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH] IBM R40e blacklist for C2/C3 states: sort & remove duplicate
Date: Mon, 18 Aug 2008 17:10:17 +0200	[thread overview]
Message-ID: <200808181710.18456.trenn@suse.de> (raw)
In-Reply-To: <20080815160657.25828.qmail@serverkommune.de>

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

  reply	other threads:[~2008-08-18 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-08-18 16:04   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808181710.18456.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=ak@linux.intel.com \
    --cc=kernel-bugs@digital-trauma.de \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox