Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review



On Friday, 25 May 2007 01:19, Pavel Machek wrote:
On Thu 2007-05-24 20:16:38, Henrique de Moraes Holschuh wrote:
On Fri, 25 May 2007, Pavel Machek wrote:
My proposed solution is "fix pcmcia to load firmware before suspend
even starts"

s/pcmcia/all drivers that load firmware/ if you are going to go that way.

I'm not "going that way". It always was that way. If driver tries to
load firmware during suspend, it will deadlock.

Exactly.

And the freezing of user land has _nothing_ to do with that. The fact is
the user land is not reliable while device drivers are being suspended,
regardless of whether it's frozen at that point or not.

BTW, we are going (or at least I'm going) to untangle the hibernation and
suspend code paths, but I have limited time for that and I just _can't_ do this
any faster. In the meantime, we have bugs like this one that need to be fixed
_within_ the current limitations, because we just _can't_ remove these
limitations overnight..

Greetings,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
    ... particular window of suspend fragility: ... of the suspend/resume sequence. ... We had repeat cases of random drivers re-enabling ... So this patchset disables device IRQs centrally and serializes ...
    (Linux-Kernel)
  • Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
    ... particular window of suspend fragility: ... of the suspend/resume sequence. ... We had repeat cases of random drivers re-enabling ... So this patchset disables device IRQs centrally and serializes ...
    (Linux-Kernel)
  • Re: [PATCH] Remove process freezer from suspend to RAM pathway
    ... That's what USB does as well (for the drivers which have runtime PM ... could have some explicit knowledge of the suspend ... current task into the freezer, but it wouldn't be the freezer that ... We could call it "the icebox" instead of "the ...
    (Linux-Kernel)
  • Re: [linux-pm] Re: Hibernation considerations
    ... until the suspend is over when it could succeed). ... but as we are not relying on doing any io other than suspend device operation, save state to ram, then later put device in low power mode for s3 and/or s4, and finally restore and resume to running. ... to allocate memory. ... How do these drivers work today when we kexec? ...
    (Linux-Kernel)
  • Re: Replacements for 2SA1302/2SC3281
    ... operation you do not connect any load. ... Higher power amplifiers with a low impedance main feedback network ... might load the drivers too hard and cause you to waste silicon. ... you should be able to get a 120 V P-P waveform on the scope. ...
    (sci.electronics.repair)