From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH] ACPI: suspend: don't let device _PS3 failure prevent suspend Date: Tue, 12 May 2009 03:50:17 +0100 Message-ID: <20090512025017.GB24896@srcf.ucam.org> References: <4A073D92.5060904@gmx.net> <1242009782.3773.139.camel@localhost.localdomain> <200905111721.10166.rjw@sisk.pl> <1242089305.3773.198.camel@localhost.localdomain> <20090512020147.GA24896@srcf.ucam.org> <1242095172.3773.209.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:46039 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755421AbZELCuw (ORCPT ); Mon, 11 May 2009 22:50:52 -0400 Content-Disposition: inline In-Reply-To: <1242095172.3773.209.camel@localhost.localdomain> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: yakui_zhao Cc: "Rafael J. Wysocki" , Witold Szczeponik , Henrique de Moraes Holschuh , Len Brown , Bjorn Helgaas , "cedric@belbone.be" , "linux-acpi@vger.kernel.org" On Tue, May 12, 2009 at 10:26:12AM +0800, yakui_zhao wrote: > 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 Windows doesn't call _STA when performing these power transitions then the default behaviour of Linux should be not to call _STA. We strive to maintain compatibility with Windows when it comes to driving the hardware - that means not forcing the user to add a boot option or trying to maintain a DMI table. > 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. Failing someone's suspend in order to inform them that their ancient hardware has a broken BIOS doesn't seem like useful behaviour. -- Matthew Garrett | mjg59@srcf.ucam.org