public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: yakui_zhao <yakui.zhao@intel.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Witold Szczeponik <Witold.Szczeponik@gmx.net>,
	Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	Len Brown <lenb@kernel.org>, Bjorn Helgaas <bjorn.helgaas@hp.com>,
	"cedric@belbone.be" <cedric@belbone.be>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH] ACPI: suspend: don't let device _PS3 failure prevent suspend
Date: Tue, 12 May 2009 10:26:12 +0800	[thread overview]
Message-ID: <1242095172.3773.209.camel@localhost.localdomain> (raw)
In-Reply-To: <20090512020147.GA24896@srcf.ucam.org>

On Tue, 2009-05-12 at 10:01 +0800, Matthew Garrett wrote:
> On Tue, May 12, 2009 at 08:48:25AM +0800, yakui_zhao wrote:
> 
> > In such case the power state check will be skipped in course of power
> > transition.
> > 
> > Is this OK?
> 
> What's the real-world benefit to throwing an error in this case? What is 
> the user or software supposed to do with it?
In fact this error is caused by the BIOS. And it tells us that such
issue had better be fixed by BIOS upgrading. 
For example: on the HP nc6000 box. The _OFF object of the power resource
is bogus.  And the _STA object can't reflect the correct status of the
power resource. 
   
Windows can work well on such broken box. And I find that the _STA
object of power resource is not called in course of power transition
with the help of KVM.

To be compatible with windows, we add such a
workaround("acpi.power_nocheck=1") to fix this issue.

If the power state check is always skipped in course of power
transition, there is no such error message. But it can't tell us that
this is a broken BIOS.

Best regards.
   Yakui


> 


  reply	other threads:[~2009-05-12  2:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-13243-10286@http.bugzilla.kernel.org/>
     [not found] ` <20090505150138.92f3ecd6.akpm@linux-foundation.org>
     [not found]   ` <4A02000D.9030400@gmx.net>
     [not found]     ` <200905061616.36707.bjorn.helgaas@hp.com>
2009-05-07  1:43       ` [Bugme-new] [Bug 13243] New: regression from 2.6.29 : can't suspend on a compaq nc6000, suspend_device(): pnp_bus_suspend+0x0/0x6b returns -5 yakui_zhao
2009-05-07 19:05         ` Witold Szczeponik
2009-05-08  1:31           ` yakui_zhao
2009-05-08  4:39           ` [PATCH] ACPI: suspend: don't let device _PS3 failure prevent suspend Len Brown
2009-05-08 12:23             ` Henrique de Moraes Holschuh
2009-05-10 20:48               ` Witold Szczeponik
2009-05-11  2:43                 ` yakui_zhao
2009-05-11 15:21                   ` Rafael J. Wysocki
2009-05-12  0:48                     ` yakui_zhao
2009-05-12  2:01                       ` Matthew Garrett
2009-05-12  2:26                         ` yakui_zhao [this message]
2009-05-12  2:50                           ` Matthew Garrett
2009-05-12  3:06                             ` yakui_zhao
2009-05-12  4:11                               ` 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=1242095172.3773.209.camel@localhost.localdomain \
    --to=yakui.zhao@intel.com \
    --cc=Witold.Szczeponik@gmx.net \
    --cc=bjorn.helgaas@hp.com \
    --cc=cedric@belbone.be \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=rjw@sisk.pl \
    /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