From: Nigel Cunningham <ncunningham@linuxmail.org>
To: Michael Frank <mhf@berlios.de>
Cc: SoftwareSuspend Development
<softwaresuspend-devel@lists.berlios.de>,
Pavel Machek <pavel@ucw.cz>,
Patrick Mochel <mochel@digitalimplant.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [SoftwareSuspend-devel] 2.6 Suspend PM issues
Date: Fri, 17 Dec 2004 16:57:48 +1100 [thread overview]
Message-ID: <1103263067.19280.4.camel@desktop.cunninghams> (raw)
In-Reply-To: <200412171315.50463.mhf@berlios.de>
Hi Michael.
On Fri, 2004-12-17 at 16:15, Michael Frank wrote:
> Hi Nigel,
>
> By what was discussed wrt ALSA issue I gather that you still resume _all_
> drivers after doing the atomic copy?
>
> As explained earlier this year, if this is the case, it is firstly
> unacceptable as it will result in loss of data in many applications and
> secondly very clumsy.
>
> Example With 2.4 OK, with 2.6 It would fail:
> A datalogger connected to a seral port of a notebook in the field. Data
> transfer in progress which can be put on hold bo lowering RTS (HW handshake)
> but _cannot_ be restarted. Battery low, must suspend to change battery, upon
> resume transfer can continue.
>
> Will this be taken care of?
Until 2.1.5.8, I had put in support ('device trees') for handling the
devices we're using in writing the image separately. Unused devices were
suspending prior to beginning to write the image and not resumed before
powerdown. At resume time, they were suspended and not resumed until the
whole image had been re-read. In short, it did what you're asking.
>From what I understand, though, work on the driver model and individual
drivers should be making this unnecessary. If that's not true, I'll
happily put the device tree code back in. For now, though, I've been
seeking to implement changes that will help with getting the code
merged, and this was one of them.
Regards,
Nigel
--
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901
You see, at just the right time, when we were still powerless, Christ
died for the ungodly. -- Romans 5:6
next parent reply other threads:[~2004-12-17 6:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200412171315.50463.mhf@berlios.de>
2004-12-17 5:57 ` Nigel Cunningham [this message]
2004-12-17 9:26 ` [SoftwareSuspend-devel] 2.6 Suspend PM issues Pavel Machek
2004-12-18 2:14 ` Michael Frank
2004-12-18 7:42 ` Pavel Machek
2004-12-18 7:50 ` Pavel Machek
2004-12-19 3:14 ` Michael Frank
2004-12-19 17:36 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1103263067.19280.4.camel@desktop.cunninghams \
--to=ncunningham@linuxmail.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhf@berlios.de \
--cc=mochel@digitalimplant.org \
--cc=pavel@ucw.cz \
--cc=softwaresuspend-devel@lists.berlios.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox