1. 27 8月, 2009 1 次提交
  2. 27 5月, 2009 4 次提交
  3. 07 4月, 2009 1 次提交
    • L
      hwmon: Add Asus ATK0110 support · 2c03d07a
      Luca Tettamanti 提交于
      Asus boards have an ACPI interface for interacting with the hwmon (fan,
      temperatures, voltages) subsystem; this driver exposes the relevant
      information via the standard sysfs interface.
      
      There are two different ACPI interfaces:
      - an old one (based on RVLT/RFAN/RTMP)
      - a new one (GGRP/GITM)
      Both may be present but there a few cases (my board, sigh) where the
      new interface is just an empty stub; the driver defaults to the old one
      when both are present.
      The old interface has received a considerable testing, but I'm still
      awaiting confirmation from my tester that the new one is working as
      expected (hence the debug code is still enabled).
      
      Currently all the attributes are read-only, though a (partial) control
      should be possible with a bit more work.
      Signed-off-by: NLuca Tettamanti <kronos.it@gmail.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      2c03d07a
  4. 28 3月, 2009 1 次提交
  5. 27 3月, 2009 5 次提交
  6. 09 2月, 2009 1 次提交
    • Y
      acpi/x86: introduce __apci_map_table, v4 · 7d97277b
      Yinghai Lu 提交于
      to prevent wrongly overwriting fixmap that still want to use.
      
      ACPI used to rely on low mappings being all linearly mapped and
      grew a habit: it never really unmapped certain kinds of tables
      after use.
      
      This can cause problems - for example the hypothetical case
      when some spurious access still references it.
      
      v2: remove prev_map and prev_size in __apci_map_table
      v3: let acpi_os_unmap_memory() call early_iounmap too, so remove extral calling to
      early_acpi_os_unmap_memory
      v4: fix typo in one acpi_get_table_with_size calling
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Acked-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      7d97277b
  7. 09 1月, 2009 1 次提交
  8. 31 12月, 2008 7 次提交
  9. 30 12月, 2008 1 次提交
  10. 12 11月, 2008 1 次提交
  11. 17 7月, 2008 2 次提交
  12. 24 4月, 2008 1 次提交
  13. 23 4月, 2008 1 次提交
  14. 03 2月, 2008 1 次提交
  15. 02 2月, 2008 1 次提交
    • R
      ACPI: Separate invocations of _GTS and _BFS from _PTS and _WAK · c95d47a8
      Rafael J. Wysocki 提交于
      The execution of ACPI global control methods _GTS and _BFS is
      currently tied to the preparation to enter a sleep state and to the
      leaving of the sleep state, respectively.  However, these functions
      are called before disabling the nonboot CPUs and after enabling
      them, respectively (in fact, on ACPI 1.0x systems the first of them
      ought to be called before suspending devices), while according to the
      ACPI specification, _GTS is to be executed right prior to entering
      the system sleep state and _BFS is to be executed right after the
      platfor firmware has returned control to the OS on wake up.
      
      Move the execution of _GTS and _BFS to the right places.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c95d47a8
  16. 10 10月, 2007 1 次提交
  17. 25 8月, 2007 1 次提交
  18. 30 5月, 2007 1 次提交
  19. 03 2月, 2007 4 次提交
  20. 20 12月, 2006 1 次提交
    • J
      ACPI: Add support for acpi_load_table/acpi_unload_table_id · 0f0fe1a0
      John Keller 提交于
      Make acpi_load_table() available for use by removing it from the #ifdef
      ACPI_FUTURE_USAGE.
      
      Also add a new routine used to unload an ACPI table of a given type and "id" -
      acpi_unload_table_id().  The implementation of this new routine was almost a
      direct copy of existing routine acpi_unload_table() - only difference being
      that it only removes a specific table id instead of ALL tables of a given
      type.  The SN hotplug driver (sgi_hotplug.c) now uses both of these interfaces
      to dynamically load and unload SSDT ACPI tables.
      
      Also, a few other ACPI routines now used by the SN hotplug driver are exported
      (since the driver can be a loadable module):
      
       acpi_ns_map_handle_to_node
       acpi_ns_convert_entry_to_handle
       acpi_ns_get_next_node
      Signed-off-by: NAaron Young <ayoung@sgi.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      0f0fe1a0
  21. 14 6月, 2006 1 次提交
    • B
      [ACPI] ACPICA 20060317 · 61686124
      Bob Moore 提交于
      Implemented the use of a cache object for all internal
      namespace nodes. Since there are about 1000 static nodes
      in a typical system, this will decrease memory use for
      cache implementations that minimize per-allocation overhead
      (such as a slab allocator.)
      
      Removed the reference count mechanism for internal
      namespace nodes, since it was deemed unnecessary. This
      reduces the size of each namespace node by about 5%-10%
      on all platforms. Nodes are now 20 bytes for the 32-bit
      case, and 32 bytes for the 64-bit case.
      
      Optimized several internal data structures to reduce
      object size on 64-bit platforms by packing data within
      the 64-bit alignment. This includes the frequently used
      ACPI_OPERAND_OBJECT, of which there can be ~1000 static
      instances corresponding to the namespace objects.
      
      Added two new strings for the predefined _OSI method:
      "Windows 2001.1 SP1" and "Windows 2006".
      
      Split the allocation tracking mechanism out to a separate
      file, from utalloc.c to uttrack.c. This mechanism appears
      to be only useful for application-level code. Kernels may
      wish to not include uttrack.c in distributions.
      
      Removed all remnants of the obsolete ACPI_REPORT_* macros
      and the associated code. (These macros have been replaced
      by the ACPI_ERROR and ACPI_WARNING macros.)
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      61686124
  22. 20 1月, 2006 1 次提交
    • B
      [ACPI] ACPICA 20060113 · 4a90c7e8
      Bob Moore 提交于
      Added 2006 copyright.
      
      At SuSE's suggestion, enabled all error messages
      without enabling function tracing, ie with CONFIG_ACPI_DEBUG=n
      
      Replaced all instances of the ACPI_DEBUG_PRINT macro invoked at
      the ACPI_DB_ERROR and ACPI_DB_WARN debug levels with
      the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
      respectively. This preserves all error and warning messages
      in the non-debug version of the ACPICA code (this has been
      referred to as the "debug lite" option.) Over 200 cases
      were converted to create a total of over 380 error/warning
      messages across the ACPICA code. This increases the code
      and data size of the default non-debug version by about 13K.
      Added ACPI_NO_ERROR_MESSAGES flag to enable deleting all messages.
      The size of the debug version remains about the same.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      4a90c7e8
  23. 10 12月, 2005 1 次提交
    • B
      [ACPI] ACPICA 20051117 · c51a4de8
      Bob Moore 提交于
      Fixed a problem in the AML parser where the method thread
      count could be decremented below zero if any errors
      occurred during the method parse phase. This should
      eliminate AE_AML_METHOD_LIMIT exceptions seen on some
      machines. This also fixed a related regression with the
      mechanism that detects and corrects methods that cannot
      properly handle reentrancy (related to the deployment of
      the new OwnerId mechanism.)
      
      Eliminated the pre-parsing of control methods (to detect
      errors) during table load. Related to the problem above,
      this was causing unwind issues if any errors occurred
      during the parse, and it seemed to be overkill. A table
      load should not be aborted if there are problems with
      any single control method, thus rendering this feature
      rather pointless.
      
      Fixed a problem with the new table-driven resource manager
      where an internal buffer overflow could occur for small
      resource templates.
      
      Implemented a new external interface, acpi_get_vendor_resource()
      This interface will find and return a vendor-defined
      resource descriptor within a _CRS or _PRS
      method via an ACPI 3.0 UUID match. (from Bjorn Helgaas)
      
      Removed the length limit (200) on string objects as
      per the upcoming ACPI 3.0A specification. This affects
      the following areas of the interpreter: 1) any implicit
      conversion of a Buffer to a String, 2) a String object
      result of the ASL Concatentate operator, 3) the String
      object result of the ASL ToString operator.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c51a4de8