1. 27 5月, 2009 6 次提交
  2. 16 5月, 2009 6 次提交
  3. 08 5月, 2009 3 次提交
  4. 03 5月, 2009 1 次提交
    • R
      acpica: validate package element more carefully in acpi_rs_get_pci_routing_table_length · 53951bd5
      Robert Moore 提交于
      acpi_rs_get_pci_routing_table_length is not performing sufficient
      validation on the package returned from _PRT.  It assumes a package of
      packages and fails/faults if this is not the case.
      
      We should validate each subpackage when extracted from the parent
      package, and not accept objects of the wrong type, since that will just
      cause the scanning to fail (likely with a kernel oops).
      
      This can only happen with a serious BIOS bug, and is accompanied by a
      warning something like this:
      
        ACPI Warning (nspredef-0949): \_SB_.PCI0.PEG4._PRT: Return Package type mismatch at index 0 - found Integer, expected Package [20090320]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      53951bd5
  5. 25 4月, 2009 1 次提交
  6. 24 4月, 2009 5 次提交
  7. 23 4月, 2009 2 次提交
  8. 21 4月, 2009 1 次提交
  9. 20 4月, 2009 2 次提交
    • Z
      ACPI video: fix an error when the brightness levels on AC and on Battery are same · 90af2cf6
      Zhang Rui 提交于
      when the brightness level on AC and brightness level on Battery
      are same, the level_ac_battery is 1 in the current code,
      which is wrong.
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      90af2cf6
    • R
      PM/Suspend: Introduce two new platform callbacks to avoid breakage · 6a7c7eaf
      Rafael J. Wysocki 提交于
      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: NRafael J. Wysocki <rjw@sisk.pl>
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: NLen Brown <len.brown@intel.com>
      6a7c7eaf
  10. 18 4月, 2009 3 次提交
  11. 12 4月, 2009 1 次提交
  12. 11 4月, 2009 8 次提交
  13. 08 4月, 2009 1 次提交