From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: pmdisk working on ppc (WAS: Help port swsusp to ppc) From: Benjamin Herrenschmidt To: Michael Schmitz Cc: Pavel Machek , Hugang , Patrick Mochel , Nigel Cunningham , ncunningham@clear.net.nz, linuxppc-dev list In-Reply-To: References: Content-Type: text/plain Message-Id: <1075199877.5659.190.camel@gaston> Mime-Version: 1.0 Date: Tue, 27 Jan 2004 21:37:57 +1100 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: > I don't mind the wait for memory being freed. Copying more pages with > interrupts disabled would mean a higher chance for PMU lockup, won't it? It's also possible that there is a bug and it just crashes :) Also, I do suspend devices before the page copy, and I quickly hacked a PMU sysdev that should suspend ADB interrupts (at least) so that should be fine, except if you have a brightness request in flight maybe ? The whole PMU suspend thing must be reworked I suppose. (And the battery monitoring thing "paused" as well, we must wait for async PMU requests, that is at least battery requests and backlight ones to stop) Ben. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/