1. 24 3月, 2006 1 次提交
  2. 27 2月, 2006 2 次提交
    • A
      [PATCH] x86_64: Disable ACPI blacklist by year for now on x86-64 · 2eb1bdba
      Andi Kleen 提交于
      ACPI is initialized very early on x86-64, before the DMI code is
      initialized.  This means it would often discover a 0 year and then turn
      off ACPI because it thought the BIOS was too old.  Some systems don't
      boot without ACPI so this was a problem.
      
      I have a full fix by adding new very early DMI detection, but it needs
      more testing before it can be merged.  For 2.6.16 let's just turn the
      check off.  It never made much sense anyways because there are no x86-64
      systems older than 2002 or so and they generally all have working ACPI.
      
      Cc: len.brown@intel.com
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2eb1bdba
    • A
      [PATCH] x86-64/i386: Use common X86_PM_TIMER option and make it EMBEDDED · e78256b8
      Andi Kleen 提交于
      This makes x86-64 use the common X86_PM_TIMER Kconfig entry in drivers/acpi
      
      And since PM timer is needed for correct timing on a lot of systems
      now (e.g. AMD dual cores) and we often get bug reports from people
      who forgot to set it make it depend on CONFIG_EMBEDDED. x86-64 had
      this change before and it's a good thing.
      
      I also fixed the description slightly to make this more clear.
      
      Cc: len.brown@intel.com
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e78256b8
  3. 18 2月, 2006 1 次提交
  4. 05 2月, 2006 2 次提交
  5. 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
  6. 27 1月, 2006 1 次提交
  7. 20 1月, 2006 2 次提交
    • 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
    • L
      [ACPI] delete message "**** SET: Misaligned resource pointer:" · 3c5c3638
      Len Brown 提交于
      This check, added in ACPICA 20051021, was overly paranoid.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      3c5c3638
  8. 17 1月, 2006 1 次提交
  9. 15 1月, 2006 1 次提交
  10. 12 1月, 2006 1 次提交
  11. 10 1月, 2006 1 次提交
  12. 09 1月, 2006 1 次提交
  13. 08 1月, 2006 1 次提交
  14. 07 1月, 2006 5 次提交
  15. 05 1月, 2006 2 次提交
  16. 04 1月, 2006 3 次提交
  17. 30 12月, 2005 1 次提交
  18. 29 12月, 2005 1 次提交
  19. 28 12月, 2005 2 次提交
    • L
      [ACPI] fix osl.c build warning · 3173cdfe
      Len Brown 提交于
      typecheck complains on i386 that u32 != unsigned long
      Signed-off-by: NLen Brown <len.brown@intel.com>
      3173cdfe
    • 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
  20. 23 12月, 2005 2 次提交
  21. 21 12月, 2005 2 次提交
  22. 16 12月, 2005 1 次提交
  23. 13 12月, 2005 1 次提交
    • D
      [PATCH] ACPI: fix sleeping whilst atomic warnings on resume · a64882e7
      Dave Jones 提交于
      This has been broken for months.  On resume, we call acpi_pci_link_set()
      with interrupts off, so we get a warning when we try to do a kmalloc of non
      atomic memory.  The actual allocation is just 2 long's (plus extra byte for
      some reason I can't fathom), so a simple conversion to GFP_ATOMIC is
      probably the safest way to fix this.
      
      The error looks like this..
      
      Debug: sleeping function called from invalid context at mm/slab.c:2486
      in_atomic():0, irqs_disabled():1
       [<c0143f6c>] kmem_cache_alloc+0x40/0x56
       [<c0206a2e>] acpi_pci_link_set+0x3f/0x17f
       [<c0206f96>] irqrouter_resume+0x1e/0x3c
       [<c0239bca>] __sysdev_resume+0x11/0x6b
       [<c0239e88>] sysdev_resume+0x34/0x52
       [<c023de21>] device_power_up+0x5/0xa
      Signed-off-by: NDave Jones <davej@redhat.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a64882e7
  24. 10 12月, 2005 4 次提交
    • B
      [ACPI] ACPICA 20051202 · 28f55ebc
      Bob Moore 提交于
      Modified the parsing of control methods to no longer
      create namespace objects during the first pass of the
      parse. Objects are now created only during the execute
      phase, at the moment the namespace creation operator
      is encountered in the AML (Name, OperationRegion,
      CreateByteField, etc.) This should eliminate ALREADY_EXISTS
      exceptions seen on some machines where reentrant control
      methods are protected by an AML mutex. The mutex will now
      correctly block multiple threads from attempting to create
      the same object more than once.
      
      Increased the number of available Owner Ids for namespace
      object tracking from 32 to 255. This should eliminate the
      OWNER_ID_LIMIT exceptions seen on some machines with a
      large number of ACPI tables (either static or dynamic).
      
      Enhanced the namespace dump routine to output the owner
      ID for each namespace object.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      28f55ebc
    • 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
    • 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
    • B
      [ACPI] ACPICA 20051021 · 0897831b
      Bob Moore 提交于
      Implemented support for the EM64T and other x86_64
      processors. This essentially entails recognizing
      that these processors support non-aligned memory
      transfers. Previously, all 64-bit processors were assumed
      to lack hardware support for non-aligned transfers.
      
      Completed conversion of the Resource Manager to nearly
      full table-driven operation. Specifically, the resource
      conversion code (convert AML to internal format and the
      reverse) and the debug code to dump internal resource
      descriptors are fully table-driven, reducing code and data
      size and improving maintainability.
      
      The OSL interfaces for Acquire and Release Lock now use a
      64-bit flag word on 64-bit processors instead of a fixed
      32-bit word. (Alexey Starikovskiy)
      
      Implemented support within the resource conversion code
      for the Type-Specific byte within the various ACPI 3.0
      *WordSpace macros.
      
      Fixed some issues within the resource conversion code for
      the type-specific flags for both Memory and I/O address
      resource descriptors. For Memory, implemented support
      for the MTP and TTP flags. For I/O, split the TRS and TTP
      flags into two separate fields.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      0897831b