From mboxrd@z Thu Jan 1 00:00:00 1970 From: ole.rohne-vJEk5272eHo@public.gmane.org Subject: Re: Suspend-to-RAM on Sony Vaios Date: Wed, 03 Nov 2004 12:31:46 +0100 Message-ID: References: <20041018020816.48673359@localhost.localdomain> <20041018112632.GB4400@openzaurus.ucw.cz> <20041021001331.69c6c965@localhost.localdomain> <20041020225334.GC29863@elf.ucw.cz> <20041101145410.GB12006@tate.loria.fr> <20041101154127.GB1056@elf.ucw.cz> <20041102220034.GA31435@tate.loria.fr> <20041102220958.GF1407@elf.ucw.cz> <20041103105106.GA4174@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20041103105106.GA4174-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org> (Andi Kleen's message of "Wed, 3 Nov 2004 11:51:07 +0100") Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Andi Kleen Cc: Pavel Machek , Emmanuel Thom?? , Jon Valvatne , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Andi> Or rather not apply this. I have no plans to support switch back Andi> to real mode on x86-64. It is just far too hackish and fragile. I agree that return to real mode is kind of *hackish* - but I do not agree that it has to be *fragile*. I'd like to repeat my general comments on the alternatives, not particularly connected to x86-64: Andi> Either do it before switching to protected/long mode or later Andi> in a emulator. Properly supporting the "POST before switching to PM" would require a full real-mode bus/device resume. The ACPI specs doesn't even guarantee a working southbridge at real mode resume. "Later in an emulator" is arguably safer than real mode. But the emulation needs to be done from kernel at the proper point in the resume sequence. Leaving it to the user-mode suspend/resume script is not an option. Ole ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click