1. 17 7月, 2012 1 次提交
  2. 17 1月, 2012 1 次提交
  3. 01 11月, 2011 1 次提交
  4. 19 1月, 2011 1 次提交
  5. 23 1月, 2010 2 次提交
  6. 16 12月, 2009 1 次提交
  7. 25 11月, 2009 1 次提交
  8. 27 8月, 2009 1 次提交
    • B
      ACPICA: Major update for acpi_get_object_info external interface · 15b8dd53
      Bob Moore 提交于
      Completed a major update for the acpi_get_object_info external interface.
      Changes include:
       - Support for variable, unlimited length HID, UID, and CID strings
       - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
       - Call the _SxW power methods on behalf of a device object
       - Determine if a device is a PCI root bridge
       - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
      These changes will require an update to all callers of this interface.
      See the ACPICA Programmer Reference for details.
      
      Also, update all invocations of acpi_get_object_info interface
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLin Ming <ming.m.lin@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      15b8dd53
  9. 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
  10. 28 3月, 2009 1 次提交
  11. 27 3月, 2009 1 次提交
  12. 09 1月, 2009 2 次提交
  13. 31 12月, 2008 1 次提交
  14. 23 10月, 2008 2 次提交
  15. 17 7月, 2008 2 次提交
  16. 24 4月, 2008 1 次提交
  17. 23 4月, 2008 1 次提交
  18. 24 1月, 2008 1 次提交
  19. 25 8月, 2007 1 次提交
  20. 24 7月, 2007 1 次提交
  21. 10 5月, 2007 2 次提交
  22. 15 3月, 2007 1 次提交
  23. 03 2月, 2007 2 次提交
  24. 30 6月, 2006 1 次提交
  25. 14 6月, 2006 2 次提交
    • B
      ACPI: ACPICA 20060526 · 4119532c
      Bob Moore 提交于
      Restructured, flattened, and simplified the internal
      interfaces for namespace object evaluation - resulting
      in smaller code, less CPU stack use, and fewer
      interfaces. (With assistance from Mikhail Kouzmich)
      
      Fixed a problem with the CopyObject operator where the
      first parameter was not typed correctly for the parser,
      interpreter, compiler, and disassembler. Caused various
      errors and unexpected behavior.
      
      Fixed a problem where a ShiftLeft or ShiftRight of
      more than 64 bits produced incorrect results with some
      C compilers. Since the behavior of C compilers when
      the shift value is larger than the datatype width is
      apparently not well defined, the interpreter now detects
      this condition and simply returns zero as expected in all
      such cases. (BZ 395)
      
      Fixed problem reports (Valery Podrezov) integrated: -
      Update String-to-Integer conversion to match ACPI 3.0A spec
      http://bugzilla.kernel.org/show_bug.cgi?id=5329
      Allow interpreter to handle nested method declarations
      http://bugzilla.kernel.org/show_bug.cgi?id=5361
      
      Fixed problem reports (Fiodor Suietov) integrated: -
      acpi_terminate() doesn't free debug memory allocation
      list objects (BZ 355) - After Core Subsystem
      shutdown, acpi_subsystem_status() returns AE_OK (BZ 356) -
      acpi_os_unmap_memory() for RSDP can be invoked inconsistently
      (BZ 357) - Resource Manager should return AE_TYPE for
      non-device objects (BZ 358) - Incomplete cleanup branch
      in AcpiNsEvaluateRelative (BZ 359) - Use acpi_os_free()
      instead of ACPI_FREE in acpi_rs_set_srs_method_data (BZ 360)
      - Incomplete cleanup branch in acpi_ps_parse_aml (BZ 361) -
      Incomplete cleanup branch in acpi_ds_delete_walk_state (BZ 362)
      - acpi_get_table_header returns AE_NO_ACPI_TABLES until DSDT
      is loaded (BZ 365) - Status of the Global Initialization
      Handler call not used (BZ 366) - Incorrect object parameter
      to Global Initialization Handler (BZ 367)
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      4119532c
    • B
      ACPI: ACPICA 20060421 · b229cf92
      Bob Moore 提交于
      Removed a device initialization optimization introduced in
      20051216 where the _STA method was not run unless an _INI
      was also present for the same device. This optimization
      could cause problems because it could allow _INI methods
      to be run within a not-present device subtree (If a
      not-present device had no _INI, _STA would not be run,
      the not-present status would not be discovered, and the
      children of the device would be incorrectly traversed.)
      
      Implemented a new _STA optimization where namespace
      subtrees that do not contain _INI are identified and
      ignored during device initialization. Selectively running
      _STA can significantly improve boot time on large machines
      (with assistance from Len Brown.)
      
      Implemented support for the device initialization case
      where the returned _STA flags indicate a device not-present
      but functioning. In this case, _INI is not run, but the
      device children are examined for presence, as per the
      ACPI specification.
      
      Implemented an additional change to the IndexField support
      in order to conform to MS behavior. The value written to
      the Index Register is not simply a byte offset, it is a
      byte offset in units of the access width of the parent
      Index Field. (Fiodor Suietov)
      
      Defined and deployed a new OSL interface,
      acpi_os_validate_address().  This interface is called during
      the creation of all AML operation regions, and allows
      the host OS to exert control over what addresses it will
      allow the AML code to access. Operation Regions whose
      addresses are disallowed will cause a runtime exception
      when they are actually accessed (will not affect or abort
      table loading.)
      
      Defined and deployed a new OSL interface,
      acpi_os_validate_interface().  This interface allows the host OS
      to match the various "optional" interface/behavior strings
      for the _OSI predefined control method as appropriate
      (with assistance from Bjorn Helgaas.)
      
      Restructured and corrected various problems in the
      exception handling code paths within DsCallControlMethod
      and DsTerminateControlMethod in dsmethod (with assistance
      from Takayoshi Kochi.)
      
      Modified the Linux source converter to ignore quoted string
      literals while converting identifiers from mixed to lower
      case. This will correct problems with the disassembler
      and other areas where such strings must not be modified.
      
      The ACPI_FUNCTION_* macros no longer require quotes around
      the function name. This allows the Linux source converter
      to convert the names, now that the converter ignores
      quoted strings.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      b229cf92
  26. 01 4月, 2006 1 次提交
    • B
      ACPI: ACPICA 20060310 · 8313524a
      Bob Moore 提交于
      Tagged all external interfaces to the subsystem with the
      new ACPI_EXPORT_SYMBOL macro. This macro can be defined
      as necessary to assist kernel integration. For Linux,
      the macro resolves to the EXPORT_SYMBOL macro. The default
      definition is NULL.
      
      Added the ACPI_THREAD_ID type for the return value from
      acpi_os_get_thread_id(). This allows the host to define this
      as necessary to simplify kernel integration. The default
      definition is ACPI_NATIVE_UINT.
      
      Valery Podrezov fixed two interpreter problems related
      to error processing, the deletion of objects, and placing
      invalid pointers onto the internal operator result stack.
      http://bugzilla.kernel.org/show_bug.cgi?id=6028
      http://bugzilla.kernel.org/show_bug.cgi?id=6151
      
      Increased the reference count threshold where a warning is
      emitted for large reference counts in order to eliminate
      unnecessary warnings on systems with large namespaces
      (especially 64-bit.) Increased the value from 0x400
      to 0x800.
      
      Due to universal disagreement as to the meaning of the
      'c' in the calloc() function, the ACPI_MEM_CALLOCATE
      macro has been renamed to ACPI_ALLOCATE_ZEROED so that the
      purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and
      ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      8313524a
  27. 31 3月, 2006 1 次提交
  28. 31 1月, 2006 1 次提交
    • B
      [ACPI] ACPICA 20060127 · b8e4d893
      Bob Moore 提交于
      Implemented support in the Resource Manager to allow
      unresolved namestring references within resource package
      objects for the _PRT method. This support is in addition
      to the previously implemented unresolved reference
      support within the AML parser. If the interpreter slack
      mode is enabled (true on Linux unless acpi=strict),
      these unresolved references will be passed through
      to the caller as a NULL package entry.
      http://bugzilla.kernel.org/show_bug.cgi?id=5741
      
      Implemented and deployed new macros and functions for
      error and warning messages across the subsystem. These
      macros are simpler and generate less code than their
      predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
      ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_*
      macros.
      
      Implemented the acpi_cpu_flags type to simplify host OS
      integration of the Acquire/Release Lock OSL interfaces.
      Suggested by Steven Rostedt and Andrew Morton.
      
      Fixed a problem where Alias ASL operators are sometimes
      not correctly resolved. causing AE_AML_INTERNAL
      http://bugzilla.kernel.org/show_bug.cgi?id=5189
      http://bugzilla.kernel.org/show_bug.cgi?id=5674
      
      Fixed several problems with the implementation of the
      ConcatenateResTemplate ASL operator. As per the ACPI
      specification, zero length buffers are now treated as a
      single EndTag. One-length buffers always cause a fatal
      exception. Non-zero length buffers that do not end with
      a full 2-byte EndTag cause a fatal exception.
      
      Fixed a possible structure overwrite in the
      AcpiGetObjectInfo external interface. (With assistance
      from Thomas Renninger)
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      b8e4d893
  29. 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
  30. 28 12月, 2005 1 次提交
    • B
      [ACPI] ACPICA 20051216 · defba1d8
      Bob Moore 提交于
      Implemented optional support to allow unresolved names
      within ASL Package objects. A null object is inserted in
      the package when a named reference cannot be located in
      the current namespace. Enabled via the interpreter slack
      flag which Linux has enabled by default (acpi=strict
      to disable slack).  This should eliminate AE_NOT_FOUND
      exceptions seen on machines that contain such code.
      
      Implemented an optimization to the initialization
      sequence that can improve boot time. During ACPI device
      initialization, the _STA method is now run if and only
      if the _INI method exists. The _STA method is used to
      determine if the device is present; An _INI can only be
      run if _STA returns present, but it is a waste of time to
      run the _STA method if the _INI does not exist. (Prototype
      and assistance from Dong Wei)
      
      Implemented use of the C99 uintptr_t for the pointer
      casting macros if it is available in the current
      compiler. Otherwise, the default (void *) cast is used
      as before.
      
      Fixed some possible memory leaks found within the
      execution path of the Break, Continue, If, and CreateField
      operators. (Valery Podrezov)
      
      Fixed a problem introduced in the 20051202 release where
      an exception is generated during method execution if a
      control method attempts to declare another method.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      defba1d8
  31. 10 12月, 2005 1 次提交
    • B
      [ACPI] ACPICA 20051102 · 96db255c
      Bob Moore 提交于
      Modified the subsystem initialization sequence to improve
      GPE support. The GPE initialization has been split into
      two parts in order to defer execution of the _PRW methods
      (Power Resources for Wake) until after the hardware is
      fully initialized and the SCI handler is installed. This
      allows the _PRW methods to access fields protected by the
      Global Lock. This will fix systems where a NO_GLOBAL_LOCK
      exception has been seen during initialization.
      
      Fixed a regression with the ConcatenateResTemplate()
      ASL operator introduced in the 20051021 release.
      
      Implemented support for "local" internal ACPI object
      types within the debugger "Object" command and the
      acpi_walk_namespace() external interfaces. These local
      types include RegionFields, BankFields, IndexFields, Alias,
      and reference objects.
      
      Moved common AML resource handling code into a new file,
      "utresrc.c". This code is shared by both the Resource
      Manager and the AML Debugger.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      96db255c
  32. 05 8月, 2005 1 次提交
  33. 12 7月, 2005 1 次提交
    • R
      ACPICA 20050408 from Bob Moore · 44f6c012
      Robert Moore 提交于
      Fixed three cases in the interpreter where an "index"
      argument to an ASL function was still (internally) 32
      bits instead of the required 64 bits.  This was the Index
      argument to the Index, Mid, and Match operators.
      
      The "strupr" function is now permanently local
      (acpi_ut_strupr), since this is not a POSIX-defined
      function and not present in most kernel-level C
      libraries. References to the C library strupr function
      have been removed from the headers.
      
      Completed the deployment of static
      functions/prototypes. All prototypes with the static
      attribute have been moved from the headers to the owning
      C file.
      
      ACPICA 20050329 from Bob Moore
      
      An error is now generated if an attempt is made to create
      a Buffer Field of length zero (A CreateField with a length
      operand of zero.)
      
      The interpreter now issues a warning whenever executable
      code at the module level is detected during ACPI table
      load. This will give some idea of the prevalence of this
      type of code.
      
      Implemented support for references to named objects (other
      than control methods) within package objects.
      
      Enhanced package object output for the debug
      object. Package objects are now completely dumped, showing
      all elements.
      
      Enhanced miscellaneous object output for the debug
      object. Any object can now be written to the debug object
      (for example, a device object can be written, and the type
      of the object will be displayed.)
      
      The "static" qualifier has been added to all local
      functions across the core subsystem.
      
      The number of "long" lines (> 80 chars) within the source
      has been significantly reduced, by about 1/3.
      
      Cleaned up all header files to ensure that all CA/iASL
      functions are prototyped (even static functions) and the
      formatting is consistent.
      
      Two new header files have been added, acopcode.h and
      acnames.h.
      
      Removed several obsolete functions that were no longer
      used.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      44f6c012