From: Todd Poynor <tpoynor@mvista.com>
To: Patrick Mochel <mochel@digitalimplant.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Device suspend/resume fixes
Date: Fri, 02 Apr 2004 15:13:52 -0800 [thread overview]
Message-ID: <406DF3B0.4030300@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.50.0404021458150.20130-100000@monsoon.he.net>
Patrick Mochel wrote:
>>(3) Flush signals between resume handlers in case a resume function
>>causes, for example, an ECHILD from modprobe or hotplug, so
>>interruptible APIs for the next handler aren't affected.
>
>
> Are there really cases in which you see this as an issue?
Ugh, I meant SIGCHILD, not ECHILD. We have seen this in the past on a
2.4 backport, although perhaps in a different environment than is
normally used (this was on a PowerPC embedded platform that powers off
the I/O ring during suspend). For certain hotpluggable devices such as
USB we've found it best to completely de-init and re-init the controller
and re-sense plugged cards at suspend/resume time, which is when we saw
troublesome signals (I2C setup then "timed out" before the controller
was ready because a SIGCHILD was waiting). I admit I don't know that
much about the hotplug handlers, maybe I just didn't have things setup
properly. So if this seems bizarre then I'll withdraw it and try things
again later when I have such hardware running in 2.6. Thanks,
--
Todd Poynor
MontaVista Software
prev parent reply other threads:[~2004-04-02 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 22:28 [PATCH] Device suspend/resume fixes Todd Poynor
2004-04-02 22:58 ` Patrick Mochel
2004-04-02 23:13 ` Todd Poynor [this message]
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=406DF3B0.4030300@mvista.com \
--to=tpoynor@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@digitalimplant.org \
/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