1. 05 Nov, 2004 4 commits
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/26-stable-acpica · 51b3e81b
      Len Brown authored
      into intel.com:/home/lenb/src/26-stable-dev
      51b3e81b
    • Len Brown's avatar
      [ACPI] ACPICA 20041105 from Bob Moore · adbd7582
      Len Brown authored
      Implemented support for FADT revision 2.  This was an
      interim table (between ACPI 1.0 and ACPI 2.0) that adds
      support for the FADT reset register.
      
      Implemented optional support to allow uninitialized LocalX
      and ArgX variables in a control method.  The variables
      are initialized to an Integer object with a value
      of zero.  This support is enabled by setting the
      acpi_gbl_enable_interpreter_slack flag to TRUE,
      which is default unless booted with "acpi=strict".
      
      Implemented support for Integer objects for the SizeOf
      operator.  Either 4 or 8 is returned, depending on the
      current integer size (32-bit or 64-bit, depending on the
      parent table revision).
      
      Fixed a problem in the implementation of the SizeOf and
      ObjectType operators where the operand was resolved to
      a value too early, causing incorrect return values for
      some objects.
      
      Fixed some possible memory leaks during exceptional conditions.
      adbd7582
    • Len Brown's avatar
      merge · a3e945a6
      Len Brown authored
      a3e945a6
    • Len Brown's avatar
      [ACPI] Allow limiting idle C-States. · 0ca608f6
      Len Brown authored
      Useful to workaround C3 ipw2100 packet loss,
      reducing noise or boot issues on some models.
      http://bugme.osdl.org/show_bug.cgi?id=3549
      
      For static processor driver, boot cmdline:
      processor.acpi_cstate_limit=2
      
      For processor module, /etc/modprobe.conf:
      options processor acpi_cstate_limit=2
      
      For manual processor module load:
      # modprobe processor acpi_cstate_limit=2
      
      From kernel or kernel module:
      #include <linux/acpi.h>
      acpi_set_cstate_limit(2);
      
      Inspired by patches from Jos Delbar and Andi Kleen
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      0ca608f6
  2. 04 Nov, 2004 2 commits
  3. 03 Nov, 2004 1 commit
  4. 01 Nov, 2004 5 commits
  5. 28 Oct, 2004 2 commits
  6. 27 Oct, 2004 6 commits
  7. 25 Oct, 2004 4 commits
  8. 23 Oct, 2004 1 commit
  9. 22 Oct, 2004 10 commits
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/26-stable-acpica · c232f2a1
      Len Brown authored
      into intel.com:/home/lenb/src/26-stable-dev
      c232f2a1
    • Len Brown's avatar
      [ACPI] fix build warning · 2f294db8
      Len Brown authored
      2f294db8
    • Len Brown's avatar
      [ACPI] ACPICA 20041015 from Bob Moore · b4ec0368
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Note: ACPI CA is currently undergoing an in-depth and
      complete formal evaluation to test/verify the following
      areas. Other suggestions are welcome. This will result in
      an increase in the frequency of releases and the number
      of bug fixes in the next few months.
      
      - Functional tests for all ASL/AML operators
      - All implicit/explicit type conversions
      - Bit fields and operation regions
      - 64-bit math support and 32-bit-only "truncated" math support
      - Exceptional conditions, both compiler and interpreter
      - Dynamic object deletion and memory leaks
      - ACPI 3.0 support when implemented
      - External interfaces to the ACPI subsystem
      
      Fixed two alignment issues on 64-bit platforms -
      within debug statements in acpi_ev_gpe_detect and
      acpi_ev_create_gpe_block. Removed references to the
      Address field within the non-aligned ACPI generic address
      structure.
      
      Fixed a problem in the Increment and Decrement operators
      where incorrect operand resolution could result in the
      inadvertent modification of the original integer when the
      integer is passed into another method as an argument and
      the arg is then incremented/decremented.
      
      Fixed a problem in the FromBCD operator where the upper
      32-bits of a 64-bit BCD number were truncated during
      conversion.
      
      Fixed a problem in the ToDecimal operator where the length
      of the resulting string could be set incorrectly too long
      if the input operand was a Buffer object.
      
      Fixed a problem in the Logical operators (LLess,
      etc.) where a NULL byte (0) within a buffer would
      prematurely terminate a compare between buffer objects.
      
      Added a check for string overflow (>200 characters as per
      the ACPI specification) during the Concatenate operator
      with two string operands.
      b4ec0368
    • Len Brown's avatar
      [ACPI] fix build warning in tables/tbget.c · ee82c878
      Len Brown authored
      ee82c878
    • Len Brown's avatar
      [ACPI] ACPICA 20041006 from Bob Moore · 8f2297b6
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Implemented support for the ACPI 3.0 Timer operator. This
      ASL function implements a 64-bit timer with 100 nanosecond
      granularity.
      
      Defined a new OSL interface, acpi_os_get_timer. This
      interface is used to implement the ACPI 3.0 Timer
      operator. This allows the host OS to implement the timer
      with the best clock available.  Also, it keeps the core
      subsystem out of the clock handling business, since the
      host OS (usually) performs this function.
      
      Fixed an alignment issue on 64-bit platforms. The
      hw_low_level_read/write() functions use a 64-bit address
      which is part of the packed ACPI Generic Address
      Structure. Since the structure is non-aligned, the
      alignment macros are now used to extract the address to
      a local variable before use.
      
      Fixed a problem where the ToInteger operator assumed all
      input strings were hexadecimal. The operator now handles
      both decimal strings and hex strings (prefixed with "0x").
      
      Fixed a problem where the string length in the string
      object created as a result of the internal ConvertToString
      procedure could be incorrect.  This potentially affected
      all implicit conversions and also the ToDecimalString and
      ToHexString operators.
      
      Fixed two problems in the ToString operator. If the
      length parameter was zero, an incorrect string object was
      created and the value of the input length parameter was
      inadvertently changed from zero to Ones.
      
      Fixed a problem where the optional ResourceSource string
      in the ExtendedIRQ resource macro was ignored.
      
      Simplified the interfaces to the internal division
      functions, reducing code size and complexity.
      8f2297b6
    • Len Brown's avatar
      e2e6ee06
    • Len Brown's avatar
      [ACPI] ACPICA 20040924 from Bob Moore · de524f14
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Added a new OSL interface, acpi_os_get_timer.  This
      interface implements a 64-bit monotonic timer in 100
      nanosecond units.
      
      Implemented support for the ACPI 3.0 Timer operator.
      This 64-bit timer utilizes the timer provided by the
      acpi_os_get_timer interface.
      de524f14
    • Len Brown's avatar
    • Len Brown's avatar
      [ACPI] ACPICA 20040922 from Bob Moore · 419a57d5
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Fixed a problem with the implementation of the LNot()
      operator where "Ones" was not returned for the TRUE
      case. Changed the code to return Ones instead of (!Arg)
      which was usually 1. This change affects iASL constant
      folding for this operator also.
      
      Fixed a problem in acpi_ut_initialize_buffer where an
      existing buffer was not initialized properly -- Now zero
      the entire buffer in this case where the buffer already
      exists.
      
      Changed the interface to acpi_os_sleep from (UINT32
      Seconds, UINT32 Milliseconds) to simply (ACPI_INTEGER
      Milliseconds). This simplifies all related code
      considerably. This requires changes/updates to all OS
      interface layers (OSLs.)
      
      Implemented a new external interface,
      acpi_install_exception_handler, to allow a system exception
      handler to be installed. This handler is invoked upon
      any run-time exception that occurs during control method
      execution.
      
      Added support for the DSDT in acpi_tb_find_table. This
      allows the DataTableRegion() operator to access the local
      copy of the DSDT.
      419a57d5
    • Len Brown's avatar
      [ACPI] ACPICA 20040827 update from Bob Moore · 8d7b2d68
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Implemented support for implicit object conversion in
      the non-numeric logical operators (LEqual, LGreater,
      LGreaterEqual, LLess, LLessEqual, and LNotEqual.) Any
      combination of Integers/Strings/Buffers may now be used;
      the second operand is implicitly converted on the fly to
      match the type of the first operand.  For example:
      
      LEqual (Source1, Source2)
      
      Source1 and Source2 must each evaluate to an integer, a
      string, or a buffer. The data type of Source1 dictates the
      required type of Source2.  Source2 is implicitly converted
      if necessary to match the type of Source1.
      
      Updated and corrected the behavior of the string
      conversion support.  The rules concerning conversion of
      buffers to strings (according to the ACPI specification)
      are as follows:
      
      ToDecimalString - explicit byte-wise conversion of buffer
      to string of decimal values (0-255) separated by commas.
      
      ToHexString - explicit byte-wise conversion of buffer to
      string of hex values (0-FF) separated by commas.
      
      ToString - explicit byte-wise conversion of buffer to
      string.  Byte-by-byte copy with no transform except NULL
      terminated.  Any other implicit buffer-to-string conversion
      
      byte-wise conversion of buffer to string of hex values
      (0-FF) separated by spaces.
      
      Fixed a problem in acpi_ns_get_pathname_length where the
      returned length was one byte too short in the case of a
      node in the root scope.  This could cause a fault during
      debug output.
      8d7b2d68
  10. 21 Oct, 2004 1 commit
  11. 20 Oct, 2004 1 commit
  12. 19 Oct, 2004 2 commits
  13. 18 Oct, 2004 1 commit