1. 19 Apr, 2009 3 commits
    • Rafael J. Wysocki's avatar
      PM/Suspend: Introduce two new platform callbacks to avoid breakage · 6a7c7eaf
      Rafael J. Wysocki authored
      Commit 900af0d9 (PM: Change suspend
      code ordering) changed the ordering of suspend code in such a way
      that the platform .prepare() callback is now executed after the
      device drivers' late suspend callbacks have run.  Unfortunately, this
      turns out to break ARM platforms that need to talk via I2C to power
      control devices during the .prepare() callback.
      
      For this reason introduce two new platform suspend callbacks,
      .prepare_late() and .wake(), that will be called just prior to
      disabling non-boot CPUs and right after bringing them back on line,
      respectively, and use them instead of .prepare() and .finish() for
      ACPI suspend.  Make the PM core execute the .prepare() and .finish()
      platform suspend callbacks where they were executed previously (that
      is, right after calling the regular suspend methods provided by
      device drivers and right before executing their regular resume
      methods, respectively).
      
      It is not necessary to make analogous changes to the hibernation
      code and data structures at the moment, because they are only used
      by ACPI platforms.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Reported-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: default avatarLen Brown <len.brown@intel.com>
      6a7c7eaf
    • Linus Torvalds's avatar
      Remove 'recurse into child resources' logic from 'reserve_region_with_split()' · ff54250a
      Linus Torvalds authored
      This function is not actually used right now, since the original use
      case for it was done with insert_resource_expand_to_fit() instead.
      
      However, we now have another usage case that wants to basically do a
      "reserve IO resource, splitting around existing resources", however that
      one doesn't actually want the "recurse into the conflicting resource"
      logic at all.
      
      And since recursing into the conflicting resource was the most complex
      part, and isn't wanted, just remove it.  Maybe we'll some day want both
      versions, but we can just resurrect the logic then.
      Tested-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ff54250a
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 8d4ab5da
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        cifs: when renaming don't try to unlink negative dentry
        cifs: remove unneeded bcc_ptr update in CIFSTCon
        cifs: add cFYI messages with some of the saved strings from ssetup/tcon
        cifs: fix buffer size for tcon->nativeFileSystem field
        cifs: fix unicode string area word alignment in session setup
        [CIFS] Fix build break caused by change to new current_umask helper function
        [CIFS] Fix sparse warnings
        [CIFS] Add support for posix open during lookup
        cifs: no need to use rcu_assign_pointer on immutable keys
        cifs: remove dnotify thread code
        [CIFS] remove some build warnings
        cifs: vary timeout on writes past EOF based on offset (try #5)
        [CIFS] Fix build break from recent DFS patch when DFS support not enabled
        Remote DFS root support.
        [CIFS] Endian convert UniqueId when reporting inode numbers from server files
        cifs: remove some pointless conditionals before kfree()
        cifs: flush data on any setattr
      8d4ab5da
  2. 18 Apr, 2009 10 commits
  3. 17 Apr, 2009 27 commits