public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Zhao Yakui <yakui.zhao@intel.com>,
	lenb@kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI : RSDT is forced to be used when 32/64X address mismatch in FADT
Date: Mon, 21 Apr 2008 12:07:53 +0200	[thread overview]
Message-ID: <1208772473.1784.482.camel@queen.suse.de> (raw)
In-Reply-To: <20080419042454.GC11635@khazad-dum.debian.net>

On Sat, 2008-04-19 at 01:24 -0300, Henrique de Moraes Holschuh wrote:
> On Fri, 18 Apr 2008, Thomas Renninger wrote:
> > I'd take DMI_MATCH(DMI_BIOS_VERSION,"1SET") to match for all.
> 
> Agreed, if 1SET70 has a bug, all other versions of that BIOS before 70
> probably have that bug too.
> 
> > These machines might be very similar (ThinkPad R40e is probably wrong as
> > not the name, but the BIOS version which could be the same than for e.g.
> > R50 is hit). I expect that C states are going to work if you take the
> 
> -EPARSE.  The 1S BIOS *is* the R40e BIOS, and don't understand what you
> mean with the R50?  The BIOS for the R50, T40, T41 and T42 as well as
> some R51 models is the same (BIOS 1R).

Sorry, I should have been more detailed...

  - IIRC the physical HW address to switch to C2/C3 is provided through
    the FADT table.
  - For "1SET*" ThinkPad BIOSes, C-states are blacklisted as they freeze
    if C-states are invoked (see drivers/acpi/processor_idle.c).
  - This patch chooses an alternate FADT table if the content of the
    other table differs (either the one pointed to by XSDT or RSDT).
  - The machine which shows different contents of FADTs is a R50e:
    http://bugzilla.kernel.org/show_bug.cgi?id=8246
  - While the bug was opened because of slow booting (due to wrong HW
    addresses accessed?), I could imagine Yakui has found the root cause
    why C-states didn't work on some older ThinkPads.

-> It should be tested whether ThinkPads which have C-states blacklisted
do work with the other FADT and the blacklist in
drivers/acpi/processor_idle.c can be removed or what I meant, it can be
moved/reused for a kind of force_rsdt flag...

All this is theory and needs testing...
I can try to find one of the older ThinkPad models...

   Thomas



  reply	other threads:[~2008-04-21 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-18 10:41 [PATCH] ACPI : RSDT is forced to be used when 32/64X address mismatch in FADT Zhao Yakui
2008-04-18 11:29 ` Thomas Renninger
2008-04-18 13:35   ` Thomas Renninger
2008-04-19  4:24     ` Henrique de Moraes Holschuh
2008-04-21 10:07       ` Thomas Renninger [this message]
2008-04-21 14:39         ` Henrique de Moraes Holschuh
2008-04-22  8:46   ` Zhao Yakui

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=1208772473.1784.482.camel@queen.suse.de \
    --to=trenn@suse.de \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=yakui.zhao@intel.com \
    /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