From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: Re: [Proposal]Another way to save/restore PCI config space for suspend/resume Date: Tue, 26 Oct 2004 11:06:29 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20041026090629.GA17454@hell.org.pl> References: <1098766257.8433.7.camel@sli10-desk.sh.intel.com> <20041026051100.GA5844@wotan.suse.de> <417DEA8D.4080307@intel.com> <1098780150.2789.19.camel@laptop.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Content-Disposition: inline In-Reply-To: <1098780150.2789.19.camel-PDvaWZGbcxh0dKo7RnIATNi2O/JbrIOy@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Arjan van de Ven Cc: Len Brown , Andi Kleen , "Li, Shaohua" , ACPI-DEV , lkml , greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org, Pavel Machek List-Id: linux-acpi@vger.kernel.org Thus wrote Arjan van de Ven: > > What this comes down to is that extended config space is device-specific. > > Generic solutions will fail. Only device drivers will work. > > > > If there are no drivers for PCI bridges to properly save/restore > > their config space, then should create them, even if this is all the > > drivers do. > note that by default, if there is no driver, the first 64 bytes of > config space are saved/restored. That's not enough -- some devices with no drivers (think LPC bridges) might need more (see http://bugme.osdl.org/show_bug.cgi?id=3609). Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261852AbUJZJGd (ORCPT ); Tue, 26 Oct 2004 05:06:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261855AbUJZJGd (ORCPT ); Tue, 26 Oct 2004 05:06:33 -0400 Received: from hell.org.pl ([62.233.239.4]:2825 "HELO hell.org.pl") by vger.kernel.org with SMTP id S261852AbUJZJGb (ORCPT ); Tue, 26 Oct 2004 05:06:31 -0400 Date: Tue, 26 Oct 2004 11:06:29 +0200 From: Karol Kozimor To: Arjan van de Ven Cc: Len Brown , Andi Kleen , "Li, Shaohua" , ACPI-DEV , lkml , greg@kroah.com, Pavel Machek Subject: Re: [ACPI] [Proposal]Another way to save/restore PCI config space for suspend/resume Message-ID: <20041026090629.GA17454@hell.org.pl> Mail-Followup-To: Arjan van de Ven , Len Brown , Andi Kleen , "Li, Shaohua" , ACPI-DEV , lkml , greg@kroah.com, Pavel Machek References: <1098766257.8433.7.camel@sli10-desk.sh.intel.com> <20041026051100.GA5844@wotan.suse.de> <417DEA8D.4080307@intel.com> <1098780150.2789.19.camel@laptop.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <1098780150.2789.19.camel@laptop.fenrus.org> User-Agent: Mutt/1.4.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Arjan van de Ven: > > What this comes down to is that extended config space is device-specific. > > Generic solutions will fail. Only device drivers will work. > > > > If there are no drivers for PCI bridges to properly save/restore > > their config space, then should create them, even if this is all the > > drivers do. > note that by default, if there is no driver, the first 64 bytes of > config space are saved/restored. That's not enough -- some devices with no drivers (think LPC bridges) might need more (see http://bugme.osdl.org/show_bug.cgi?id=3609). Best regards, -- Karol 'sziwan' Kozimor sziwan@hell.org.pl