From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 0/3]making ACPICA safe for suspend/resume - take 2 Date: Fri, 21 Jan 2005 10:52:19 +0100 Message-ID: <20050121095219.GA18373@elf.ucw.cz> References: <1106293737.19407.60.camel@sli10-desk.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1106293737.19407.60.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@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: Li Shaohua Cc: ACPI-DEV , Len Brown , Nigel Cunningham List-Id: linux-acpi@vger.kernel.org Hi! > The patches are designed to solve the issue of making call to ACPICA > safe for suspend/resume time. Please see the detail in > http://sourceforge.net/mailarchive/forum.php?thread_id=6378210&forum_id=6102 > The new patches remove PCI link device resume code and let PCI device > driver resume code indirectly reconfigure Link's IRQ (call > pci_enable_device), so we will haven't an issue of invoking ACPICA with > interrupt disabled. This also works for suspend to disk case. After this > we only need to guarantee there is enough free memory for S3. One > problem of the idea is we must fix many PCI drivers, but it's ok to me. Well, having to modify all the drivers should mean "this should be merged after 2.6.11" (I'm in process of converting all the drivers to pm_message_t, and would prefer another set of "touch all drivers" changes not to interfere). Anyway that memory freeing seems okay to me, and if you decide to introduce in_suspend(), that would be okay, too. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl