1. 15 Feb, 2005 1 commit
    • Len Brown's avatar
      [ACPI] ACPICA 20050211 from Bob Moore · 82d6b1e6
      Len Brown authored
      Implemented ACPI 3.0 support for implicit conversion within
      the Match() operator. match_obj can now be of type
      integer, buffer, or string instead of just type integer.
      Package elements are implicitly converted to the type
      of the match_obj. This change aligns the behavior of
      Match() with the behavior of the other logical operators
      (LLess(), etc.)  It also requires an errata change to the
      ACPI specification as this support was intended for ACPI
      3.0, but was inadvertently omitted.
      
      Fixed a problem with the internal implicit "to buffer"
      conversion.  Strings that are converted to buffers will
      cause buffer truncation if the string is smaller than the
      target buffer. Integers that are converted to buffers will
      not cause buffer truncation, only zero extension (both as
      per the ACPI spec.) The problem was introduced when code
      was added to truncate the buffer, but this should not be
      performed in all cases, only the string case.
      
      Fixed a problem with the Buffer and Package operators
      where the interpreter would get confused if two such
      operators were used as operands to an ASL operator (such
      as LLess(Buffer(1){0},Buffer(1){1}).  The internal result
      stack was not being popped after the execution of these
      operators, resulting in an AE_NO_RETURN_VALUE exception.
      
      Fixed a problem with constructs of the form
      Store(Index(...),...). The reference object returned from
      Index was inadvertently resolved to an actual value. This
      problem was introduced in version 20050114 when the
      behavior of Store() was modified to restrict the object
      types that can be used as the source operand (to match
      the ACPI specification.)
      
      Reduced stack use in acpi_get_object_info().
      82d6b1e6
  2. 30 Jan, 2005 2 commits
  3. 27 Jan, 2005 2 commits
  4. 25 Jan, 2005 1 commit
    • Len Brown's avatar
      [ACPI] ACPICA 20050125 from Bob Moore · 2a539154
      Len Brown authored
      Fixed a recently introduced problem with the Global
      Lock where the underlying semaphore was not created.
      This problem was introduced in version 20050114, and
      caused an AE_AML_NO_OPERAND exception during an Acquire()
      operation on _GL.
      
      The local object cache is now optional, and is disabled
      by default.  #define ACPI_ENABLE_OBJECT_CACHE to enable
      the local cache.
      
      Fixed an issue in the internal function
      acpi_ut_evaluate_object() concerning the optional "implicit
      return" support where an error was returned if no return
      object was expected, but one was implicitly returned. AE_OK
      is now returned in this case and the implicitly returned
      object is deleted.  acpi_ut_evaluate_object() is only
      occasionally used, and only to execute reserved methods
      such as _STA and _INI where the return type is known
      up front.
      
      Fixed a few issues with the internal convert-to-integer
      code. It now returns an error if an attempt is made to
      convert a null string, a string of only blanks/tabs, or a
      zero-length buffer. This affects both implicit conversion
      and explicit conversion via the ToInteger() operator.
      
      The internal debug code in acpi_ut_acquire_mutex()
      has been commented out. It is not needed for normal
      operation and should increase the performance of the entire
      subsystem. The code remains in case it is needed for debug
      purposes again.
      acpica-unix-20050125.patch
      2a539154
  5. 21 Jan, 2005 1 commit
  6. 20 Jan, 2005 3 commits
    • Len Brown's avatar
      [ACPI] ACPICA 20050114 from Bob Moore · fa6c3e73
      Len Brown authored
      Added 2005 copyright to all ACPICA files.
      
      Fixed an issue with the String-to-Buffer conversion code
      where the string null terminator was not included in the
      buffer after conversion, but there is existing ASL that
      assumes the string null terminator is included. This is the
      root of the ACPI_AML_BUFFER_LIMIT regression. This problem
      was introduced in the previous version when the code was
      updated to correctly set the converted buffer size as per
      the ACPI specification. The ACPI spec is ambiguous and
      will be updated to specify that the null terminator must
      be included in the converted buffer. This also affects
      the ToBuffer() ASL operator.
      
      Fixed a problem with the Mid() ASL/AML operator where it
      did not work correctly on Buffer objects. Newly created
      sub-buffers were not being marked as initialized.
      
      Fixed a problem in acpi_tb_find_table where incorrect string
      compares were performed on the oem_id and oem_table_d table
      header fields.  These fields are not null terminated,
      so strncmp is now used instead of strcmp.
      
      Implemented a restriction on the Store() ASL/AML operator
      to align the behavior with the ACPI specification.
      Previously, any object could be used as the source
      operand.  Now, the only objects that may be used are
      Integers, Buffers, Strings, Packages, Object References,
      and DDB Handles.  As acpi_gbl_enable_interpreter_slack
      is FALSE by default, "acpi=strict" is needed to enable
      this check.
      
      Enhanced the optional "implicit return" support to allow
      an implicit return value from methods that are invoked
      externally via the AcpiEvaluateObject interface.  This
      enables implicit returns from the _STA and _INI methods,
      for example.
      
      Changed the Revision() ASL/AML operator to return the
      current version of the AML interpreter, in the YYYYMMDD
      format. Previously, it incorrectly returned the supported
      ACPI version (This is the function of the _REV method).
      
      Updated the _REV predefined method to return the currently
      supported version of ACPI, now 3.
      fa6c3e73
    • Len Brown's avatar
      [ACPI] Add a module parameter to allow tuning how much bus-master activity · a22df92c
      Len Brown authored
      we remember when entering C3 -- /sys/module/processor/parameters/bm_history
      Default varies with HZ -- 40ms for 25 - 800 HZ, 32ms for 1000 HZ.
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      a22df92c
    • Len Brown's avatar
      [ACPI] Make the bm_activity depend on "jiffies", instead of numbers · caf866a0
      Len Brown authored
      of the check being called. This means bus mastering activity
      is assumed if bm_check isn't called; and multiple calls during
      one jiffy will be |='ed.
      Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      caf866a0
  7. 07 Jan, 2005 1 commit
  8. 05 Jan, 2005 1 commit
  9. 04 Jan, 2005 1 commit
  10. 24 Dec, 2004 6 commits
  11. 23 Dec, 2004 15 commits
  12. 22 Dec, 2004 6 commits