Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760635AbYBVQvl (ORCPT ); Fri, 22 Feb 2008 11:51:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756098AbYBVQv1 (ORCPT ); Fri, 22 Feb 2008 11:51:27 -0500 Received: from smtp1.linux-foundation.org ([207.189.120.13]:56573 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754492AbYBVQvZ (ORCPT ); Fri, 22 Feb 2008 11:51:25 -0500 Date: Fri, 22 Feb 2008 08:50:04 -0800 (PST) From: Linus Torvalds To: Ingo Molnar cc: Matthew Garrett , Jeff Chua , Jesse Barnes , Romano Giannetti , suspend-devel List , Dave Airlie , Greg KH , lkml , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org Subject: Re: [Suspend-devel] 2.6.25-rc2 System no longer powers off aftersuspend-to-disk. Screen becomes green. In-Reply-To: <20080222130615.GA29123@elte.hu> Message-ID: References: <200802211302.27002.jesse.barnes@intel.com> <200802211623.55450.jesse.barnes@intel.com> <20080222103727.GA25781@srcf.ucam.org> <20080222130615.GA29123@elte.hu> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 27 On Fri, 22 Feb 2008, Ingo Molnar wrote: > > btw., why isnt there an in-kernel whitelist, with perhaps a dynamic, > convenient /debug/s2r/whitelist append-API for distros (and testers) to > add more entries to the whitelist/blacklist? (for cases where the kernel > whitelist has not caught up yet) Which would eventually converge to > Utopia: s2ram that just works out of box. The big problem with that is - the people who know about the devices are usually not kernel people - the workarounds that the whitelist requires is quite often not a kernel workaround. In other words, the most common workarounds for the s2ram whitelist is usually to do things like running vbetool in user-level to do VGA register save/restore (VBE_POST and VGE_SAVE). Sure, the kernel could do that with usermodehelper etc, but s2ram also has those things as command line flags etc, so... Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/