Re: Totally broken PCI PM calls

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 10/12/04

  • Next message: Ankit Jain: "Re: Difference in priority"
    Date:	Tue, 12 Oct 2004 10:27:23 +0100
    To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    
    

    On Tue, Oct 12, 2004 at 08:28:07AM +1000, Benjamin Herrenschmidt wrote:
    > Definitely. One thing is: how to do it instead ? I've been thinking
    > about it for a while and am still wondering... do we want a list
    > mecanism with add/remove notifiers so the PM walk can keep in sync
    > with devices added/removed ? or should addition/removal be simply
    > postponed until the end of the sleep/wakeup process (I tend to vote
    > for that).

    What about the case where you're walking the tree for a resume, and
    you've hotplugged a whole tree of devices which have a similar bus
    setup to the original.

    Yes, I'm thinking of the case of Cardbus with hotpluggable PCI buses.
    If we detect that the "bridge" at the top of the chain has changed,
    we _really_ don't want to try to restore the state of the child
    devices - they may have the same bus IDs, but they could well object
    to being inappropriately setup.

    Sure, we can say "don't do that then" but I suspect the exact same
    problem is present with USB, and USB is far more liable to have this
    type of abuse than PCI.

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Ankit Jain: "Re: Difference in priority"

    Relevant Pages

    • Re: more files with licenses that arent GPL-compatible
      ... strange license text) we got that solved easily. ... If one of you usb guys want to convert it that's fine, ... get the files relicensed under a GPL-compatible license that's fine aswell, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-mm1: NForce3 problem (IRQ sharing issue?)
      ... > stopped working along with the USB (as you can see above, ... > registered, assigned bus number 2 ... That's probably the nforce3 audio device which is an intel part. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • USB making time drift [was Re: dynamic-hz]
      ... > I'm not using hpet because it's an old hardware, ... How much drift do you see? ... I have machine with UHCI here, and am using usb most of the time ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [linux-usb-devel] Re: OHCI problems with suspend/resume
      ... > infrastructure to have their suspend/resume callbacks be called at the ... But until the suspend/resumecallback API stabilizes, ... I suspect that USB should do some non-global PM stuff too. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-mm1
      ... working on console and under XFree86 as well. ... as for me it seems gpm interprets ... reads data replicated by gpm via gpmdata can't handle the USB mouse ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)