1. 20 2月, 2014 1 次提交
  2. 20 12月, 2013 1 次提交
  3. 07 12月, 2013 1 次提交
    • L
      ACPI: Clean up inclusions of ACPI header files · 8b48463f
      Lv Zheng 提交于
      Replace direct inclusions of <acpi/acpi.h>, <acpi/acpi_bus.h> and
      <acpi/acpi_drivers.h>, which are incorrect, with <linux/acpi.h>
      inclusions and remove some inclusions of those files that aren't
      necessary.
      
      First of all, <acpi/acpi.h>, <acpi/acpi_bus.h> and <acpi/acpi_drivers.h>
      should not be included directly from any files that are built for
      CONFIG_ACPI unset, because that generally leads to build warnings about
      undefined symbols in !CONFIG_ACPI builds.  For CONFIG_ACPI set,
      <linux/acpi.h> includes those files and for CONFIG_ACPI unset it
      provides stub ACPI symbols to be used in that case.
      
      Second, there are ordering dependencies between those files that always
      have to be met.  Namely, it is required that <acpi/acpi_bus.h> be included
      prior to <acpi/acpi_drivers.h> so that the acpi_pci_root declarations the
      latter depends on are always there.  And <acpi/acpi.h> which provides
      basic ACPICA type declarations should always be included prior to any other
      ACPI headers in CONFIG_ACPI builds.  That also is taken care of including
      <linux/acpi.h> as appropriate.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Acked-by: Bjorn Helgaas <bhelgaas@google.com> (drivers/pci stuff)
      Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> (Xen stuff)
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8b48463f
  4. 13 11月, 2013 1 次提交
    • L
      ACPI: delete CONFIG_ACPI_BLACKLIST_YEAR · 4c47cb19
      Len Brown 提交于
      About 10 years ago, this option was created to help
      distros enable ACPI and not get distracted by ACPI
      BIOS issues in machines which were deemed old
      at that time, eg 1999 and earlier.
      
      After a couple of years, the high volume distros
      stopped bothering to set this option, and instead
      simply ran in ACPI mode on all systems with an
      ACPI BIOS -- regardless of BIOS DMI year.
      
      Recently there have been some ACPI-enabled systems
      with no DMI, mandating that CONFIG_ACPI_BLACKLIST_YEAR=0.
      
      So it seems vanishingly unlikely that this option
      is helping anybody run a 2013 kernel on a 1998 system,
      and now more systems mandate this option be disabled,
      so we simplify by deleting it entirely.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      4c47cb19
  5. 06 11月, 2013 1 次提交
  6. 26 10月, 2013 2 次提交
  7. 10 10月, 2013 2 次提交
  8. 26 8月, 2013 1 次提交
  9. 04 8月, 2013 1 次提交
  10. 01 11月, 2011 1 次提交
  11. 02 10月, 2010 1 次提交
  12. 29 9月, 2010 3 次提交
  13. 07 7月, 2010 1 次提交
  14. 10 6月, 2010 1 次提交
  15. 22 12月, 2009 1 次提交
    • Z
      ACPI: disable _OSI(Windows 2009) on Asus K50IJ · 81074e90
      Zhang Rui 提交于
      Fix a win7 compability issue on Asus K50IJ.
      
      Here is the _BCM method of this laptop:
                          Method (_BCM, 1, NotSerialized)
                          {
                              If (LGreaterEqual (OSFG, OSVT))
                              {
                                  If (LNotEqual (OSFG, OSW7))
                                  {
                                      Store (One, BCMD)
                                      Store (GCBL (Arg0), Local0)
                                      Subtract (0x0F, Local0, LBTN)
                                      ^^^SBRG.EC0.STBR ()
                                      ...
                                  }
                                  Else
                                  {
                                      DBGR (0x0B, Zero, Zero, Arg0)
                                      Store (Arg0, LBTN)
                                      ^^^SBRG.EC0.STBR ()
                                      ...
                                  }
                              }
                          }
      LBTN is used to store the index of the brightness level in the _BCL.
      GCBL is a method that convert the percentage value to the index value.
      If _OSI(Windows 2009) is not disabled, LBTN is stored a percentage
      value which is surely beyond the end of _BCL package.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=14753Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      81074e90
  16. 25 11月, 2009 1 次提交
  17. 09 9月, 2009 1 次提交
    • T
      dmi: extend dmi_get_year() to dmi_get_date() · 3e5cd1f2
      Tejun Heo 提交于
      There are cases where full date information is required instead of
      just the year.  Add month and day parsing to dmi_get_year() and rename
      it to dmi_get_date().
      
      As the original function only required '/' followed by any number of
      parseable characters at the end of the string, keep that behavior to
      avoid upsetting existing users.
      
      The new function takes dates of format [mm[/dd]]/yy[yy].  Year, month
      and date are checked to be in the ranges of [1-9999], [1-12] and
      [1-31] respectively and any invalid or out-of-range component is
      returned as zero.
      
      The dummy implementation is updated accordingly but the return value
      is updated to indicate field not found which is consistent with how
      other dummy functions behave.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      3e5cd1f2
  18. 29 8月, 2009 1 次提交
  19. 24 6月, 2009 1 次提交
  20. 27 11月, 2008 1 次提交
  21. 14 2月, 2008 2 次提交
  22. 08 2月, 2008 1 次提交
  23. 06 2月, 2008 1 次提交
    • L
      ACPI: blacklist update · a64217b9
      Len Brown 提交于
      move some OSI(Linux) to "disable" from "unknown"
      to reduce dmesg lines that we don't really need.
      
      update Acer 5315 comment
      update Dell entries, add R200 entry
      update Apple entries
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a64217b9
  24. 04 2月, 2008 2 次提交
  25. 24 1月, 2008 3 次提交
    • L
      ACPI: DMI blacklist to reduce console warnings on OSI(Linux) systems. · a1bd4e35
      Len Brown 提交于
      This DMI blacklist reduces the console messages
      on systems which have a BIOS that invokes OSI(Linux).
      
      As the DMI blacklist already knows about these systems,
      the request for DMI info itself is disabled.
      
      Further, if OSI(Linux) has already been determined
      to have no beneift, we disable the console message
      requesting acpi_osi=Linux test results.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a1bd4e35
    • L
      ACPI: Add ThinkPad R61, ThinkPad T61 to OSI(Linux) white-list · 98f1db22
      Len Brown 提交于
      acpi_osi=Linux helps sound on these systems.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      98f1db22
    • L
      ACPI: make _OSI(Linux) console messages smarter · d4b7dc49
      Len Brown 提交于
      If BIOS invokes _OSI(Linux), the kernel response
      depends on what the ACPI DMI list knows about the system,
      and that is reflectd in dmesg:
      
      1) System unknown to DMI:
      
      ACPI: BIOS _OSI(Linux) query ignored
      ACPI: DMI System Vendor: LENOVO
      ACPI: DMI Product Name: 7661W1P
      ACPI: DMI Product Version: ThinkPad T61
      ACPI: DMI Board Name: 7661W1P
      ACPI: DMI BIOS Vendor: LENOVO
      ACPI: DMI BIOS Date: 10/18/2007
      ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
      ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org
      
      2) System known to DMI, but effect of OSI(Linux) unknown:
      
      ACPI: DMI detected: Lenovo ThinkPad T61
      ...
      ACPI: BIOS _OSI(Linux) query ignored via DMI
      ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org
      
      3) System known to DMI, which disables _OSI(Linux):
      
      ACPI: DMI detected: Lenovo ThinkPad T61
      ...
      ACPI: BIOS _OSI(Linux) query ignored via DMI
      
      4) System known to DMI, which enable _OSI(Linux):
      
      ACPI: DMI detected: Lenovo ThinkPad T61
      ACPI: Added _OSI(Linux)
      ...
      ACPI: BIOS _OSI(Linux) query honored via DMI
      
      cmdline overrides take precidence over the built-in
      default and the DMI prescribed default.
      cmdline "acpi_osi=Linux" results in:
      
      ACPI: BIOS _OSI(Linux) query honored via cmdline
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d4b7dc49
  26. 13 1月, 2008 1 次提交
  27. 10 3月, 2007 1 次提交
  28. 03 2月, 2007 3 次提交
  29. 26 3月, 2006 1 次提交
  30. 05 8月, 2005 1 次提交