lkml.org 
[lkml]   [2009]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH 0/7] PM: Asynchronous suspend and resume (updated)
    From
    Date
    On Mon, 2009-08-17 at 08:15 +0800, Rafael J. Wysocki wrote:
    > On Wednesday 12 August 2009, Rafael J. Wysocki wrote:
    > > Hi,
    > >
    > > The following patches introduce a mechanism allowing us to execute device
    > > drivers' suspend and resume callbacks asynchronously during system sleep
    > > transitions, such as suspend to RAM. The idea is explained in the [1/1] patch
    > > message.
    >
    > Changes:
    >
    > * Added [1/7] that fixes kerneldoc comments in drivers/base/power/main.c
    > (this is a 2.6.32 candidate).
    >
    > * Added [2/7] adding a framework for representing PM link (idea described
    > in the patch message).
    >
    > * [3/7] is the async resume patch (idea described in the patch message).
    >
    > * [4/7] is the async suspend patch.
    >
    > * [5/7] - [7/7] set async_suspend for devices in a few selected subsystems.
    >
    > The patches have been tested on HP nx6325.
    >
    I tried this patch set and it does work. :)
    But unfortunately it doesn't save too much time.

    I still think that the child device should inherit its parent's
    async_suspend flag to do the asynchronous resume more efficiently.

    or at least we should provide such an interface
    in drivers/base/power/common.c, so that device can tell the device core
    to inherit this flag if there is no off-tree dependency.

    thanks,
    rui

    > Thanks,
    > Rafael
    >

    --
    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/

    \
     
     \ /
      Last update: 2009-08-18 09:21    [W:0.038 / U:0.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site