From: Andi Kleen Subject: Re: Suspend-to-RAM on Sony Vaios Date: Wed, 3 Nov 2004 14:08:49 +0100 Message-ID: <20041103130849.GF18867@wotan.suse.de> References: <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> <20041103111306.GA1002@elf.ucw.cz> <20041103123625.GA18867@wotan.suse.de> <20041103123830.GB1002@elf.ucw.cz> <20041103124757.GE18867@wotan.suse.de> <20041103125047.GD1002@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20041103125047.GD1002-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> 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: Pavel Machek Cc: Andi Kleen , Emmanuel Thom?? , ole.rohne-vJEk5272eHo@public.gmane.org, Jon Valvatne , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Wed, Nov 03, 2004 at 01:50:47PM +0100, Pavel Machek wrote: > Hi! > > > > I guess agp bridge has to be initialized etc... It does not look like > > > task one would like to write in assembly. Okay, lets do this on i386, > > > first, then see how it can be done in better way on x86-64. > > > > That sounds like the wrong way round - i would first create a clean > > way instead of spending much time in perfecting a hack. > > Rewriting half of kernel into asm/wakeup.S is not called "clean > way"... And look at code, going back to real mode is actually pretty Calling the PCI BIOS for initialization is not exactly "rewriting half of kernel into asm/wakeup.S" -Andi ------------------------------------------------------- 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