1. 27 7月, 2013 1 次提交
  2. 17 7月, 2013 3 次提交
  3. 15 7月, 2013 1 次提交
  4. 04 7月, 2013 2 次提交
  5. 28 6月, 2013 1 次提交
    • M
      reservation: cross-device reservation support, v4 · 786d7257
      Maarten Lankhorst 提交于
      This adds support for a generic reservations framework that can be
      hooked up to ttm and dma-buf and allows easy sharing of reservations
      across devices.
      
      The idea is that a dma-buf and ttm object both will get a pointer
      to a struct reservation_object, which has to be reserved before
      anything is done with the contents of the dma-buf.
      
      Changes since v1:
       - Fix locking issue in ticket_reserve, which could cause mutex_unlock
         to be called too many times.
      Changes since v2:
       - All fence related calls and members have been taken out for now,
         what's left is the bare minimum to be useful for ttm locking conversion.
      Changes since v3:
       - Removed helper functions too. The documentation has an example
         implementation for locking. With the move to ww_mutex there is no
         need to have much logic any more.
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com>
      Reviewed-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      786d7257
  6. 26 6月, 2013 1 次提交
  7. 24 6月, 2013 1 次提交
  8. 22 6月, 2013 1 次提交
  9. 21 6月, 2013 1 次提交
    • J
      PM / Sleep: Print last wakeup source on failed wakeup_count write · bb177fed
      Julius Werner 提交于
      Commit a938da06 introduced a useful little log message to tell
      users/debuggers which wakeup source aborted a suspend.  However,
      this message is only printed if the abort happens during the
      in-kernel suspend path (after writing /sys/power/state).
      
      The full specification of the /sys/power/wakeup_count facility
      allows user-space power managers to double-check if wakeups have
      already happened before it actually tries to suspend (e.g. while it
      was running user-space pre-suspend hooks), by writing the last known
      wakeup_count value to /sys/power/wakeup_count.  This patch changes
      the sysfs handler for that node to also print said log message if
      that write fails, so that we can figure out the offending wakeup
      source for both kinds of suspend aborts.
      Signed-off-by: NJulius Werner <jwerner@chromium.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      bb177fed
  10. 19 6月, 2013 2 次提交
  11. 16 6月, 2013 1 次提交
  12. 12 6月, 2013 3 次提交
    • S
      regmap: Add regmap_field APIs · 67252287
      Srinivas Kandagatla 提交于
      It is common to access regmap registers at bit level, using
      regmap_update_bits or regmap_read functions, however the end user has to
      take care of a mask or shifting. This becomes overhead when such use
      cases are high. Having a common function to do this is much convenient
      and less error prone.
      
      The idea of regmap_field is simple, regmap_field gives a logical
      structure to bits of the regmap register, and the driver can use this
      logical entity without the knowledge of the bit positions and masks all
      over the code. This way code looks much neat and it need not handle the
      masks, shifts every time it access the those entities.
      
      With this new regmap_field_read/write apis the end user can setup a
      regmap field using regmap_field_init and use the return regmap_field to
      read write the register field without worrying about the masks or
      shifts.
      
      Also this apis will be useful for drivers which are based on regmaps,
      like some clocks or pinctrls which can work on the regmap_fields
      directly without having to worry about bit positions.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      67252287
    • R
      driver core: move to_platform_driver to platform_device.h · 10dbc5e3
      Rob Herring 提交于
      In converting the last remaining of_platform_driver (ibmebus) to a regular
      platform driver, to_platform_driver is needed to replace
      to_of_platform_driver.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Tested-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      10dbc5e3
    • B
      PM / wakeup: Adjust messaging for wake events during suspend · 9350de06
      Bernie Thompson 提交于
      This adds in a new message to the wakeup code which adds an
      indication to the log that suspend was cancelled due to a wake event
      occouring during the suspend sequence. It also adjusts the message
      printed in suspend.c to reflect the potential that a suspend was
      aborted, as opposed to a device failing to suspend.
      
      Without these message adjustments one can end up with a kernel log
      that says that a device failed to suspend with no actual device
      suspend failures, which can be confusing to the log examiner.
      Signed-off-by: NBernie Thompson <bhthompson@chromium.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9350de06
  13. 09 6月, 2013 1 次提交
  14. 07 6月, 2013 4 次提交
  15. 05 6月, 2013 1 次提交
  16. 04 6月, 2013 10 次提交
  17. 03 6月, 2013 1 次提交
  18. 02 6月, 2013 3 次提交
  19. 30 5月, 2013 1 次提交
  20. 25 5月, 2013 1 次提交