1. 27 Jun, 2010 2 commits
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 02c646ef
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
        ACPI / PM: Do not enable GPEs for system wakeup in advance
        ACPICA: Truncate I/O addresses to 16 bits for Windows compatibility
        ACPICA: Limit maximum time for Sleep() operator
        ACPICA: Fix namestring associated with AE_NO_HANDLER exception
        ACPI / ACPICA: Fix sysfs GPE interface
        ACPI / ACPICA: Fix GPE initialization
        ACPI / ACPICA: Avoid writing full enable masks to GPE registers
        ACPI / ACPICA: Fix low-level GPE manipulation code
        ACPI / ACPICA: Use helper function for computing GPE masks
        ACPI / ACPICA: Do not attempt to disable GPE when installing handler
        ACPI: Disable Vista compatibility for Sony VGN-NS50B_L
        ACPI: fan: fix unbalanced code block
        ACPI: Store NVS state even when entering suspend to RAM
        suspend: Move NVS save/restore code to generic suspend functionality
        ACPI: Do not try to set up acpi processor stuff on cores exceeding maxcpus=
        ACPI: acpi_pad: Don't needlessly mark LAPIC unstable
      02c646ef
    • Dan Carpenter's avatar
      KEYS: Propagate error code instead of returning -EINVAL · 4303ef19
      Dan Carpenter authored
      This is from a Smatch check I'm writing.
      
      strncpy_from_user() returns -EFAULT on error so the first change just
      silences a warning but doesn't change how the code works.
      
      The other change is a bug fix because install_thread_keyring_to_cred()
      can return a variety of errors such as -EINVAL, -EEXIST, -ENOMEM or
      -EKEYREVOKED.
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4303ef19
  2. 17 Jun, 2010 2 commits
    • Len Brown's avatar
      Merge branch 'bugzilla-15951' into release · 2cebc5e2
      Len Brown authored
      2cebc5e2
    • Rafael J. Wysocki's avatar
      ACPI / PM: Do not enable GPEs for system wakeup in advance · cb1cb178
      Rafael J. Wysocki authored
      After commit 9630bdd9
      (ACPI: Use GPE reference counting to support shared GPEs) the wakeup
      enable mask bits of GPEs are set as soon as the GPEs are enabled to
      wake up the system.  Unfortunately, this leads to a regression
      reported by Michal Hocko, where a system is woken up from ACPI S5 by
      a device that is not supposed to do that, because the wakeup enable
      mask bit of this device's GPE is always set when
      acpi_enter_sleep_state() calls acpi_hw_enable_all_wakeup_gpes(),
      although it should only be set if the device is supposed to wake up
      the system from the target state.
      
      To work around this issue, rework the ACPI power management code so
      that GPEs are not enabled to wake up the system upfront, but only
      during a system state transition when the target state of the system
      is known.  [Of course, this means that the reference counting of
      "wakeup" GPEs doesn't really make sense and it is sufficient to
      set/unset the wakeup mask bits for them during system sleep
      transitions.  This will allow us to simplify the GPE handling code
      quite a bit, but that change is too intrusive for 2.6.35.]
      
      Fixes https://bugzilla.kernel.org/show_bug.cgi?id=15951Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Reported-and-tested-by: default avatarMichal Hocko <mhocko@suse.cz>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      cb1cb178
  3. 12 Jun, 2010 14 commits
  4. 11 Jun, 2010 22 commits