1. 04 Aug, 2004 1 commit
    • Nathan Bryant's avatar
      [ACPI] restore PCI Interrupt Link Devices upon resume · 06df8085
      Nathan Bryant authored
      * register as as a sys_device so that we can get resume callbacks and restore
        interrupt routing state.
      * add acpi_pci_link_resume(), which will be called when resuming from a suspend
        state that needs IRQ routing to be restored. This fixes issues reported on
        the mailing lists, e.g.:
      http://marc.theaimsgroup.com/?l=acpi4linux&m=109142999328643&w=2
      * rename setonboot --> initialized
      * change to test acpi_noirq in init
      
      We want to initialize everything on S3 resume in case the BIOS points an
      interrupt link somewhere we didn't expect. (Doing so avoids "missing interrupt"
      or "irq x: nobody cared" problems.) According to Len, past experience has shown
      that it's a good idea to initialize only devices that exist or were explicitly
      asked for, so we try to initialize only the IRQ's that were previously
      initialized at some point before suspend, by checking the "initialized" flag.
      This corresponds to links that have PCI devices attached.  Everything else, we
      leave alone. Assuming the BIOS does the same thing on resume that it did on
      boot, this will leave all the unused links in the same state that they were on
      boot.
      
      We are registered as a sysdev in order to do this work fairly early during
      resume, before devices are resumed; some devices may not call
      pci_device_enable.
      
      Previous "setonboot once" behavior is left in place, to be conservative.
      06df8085
  2. 03 Aug, 2004 1 commit
  3. 28 Jul, 2004 3 commits
  4. 16 Jul, 2004 1 commit
    • Len Brown's avatar
      [ACPI] ACPICA 20040715 from Bob Moore · 7e06bff2
      Len Brown authored
      Restructured the internal HW GPE interfaces to pass/track
      the current state of interrupts (enabled/disabled) in
      order to avoid possible deadlock and increase flexibility
      of the interfaces.
      
      Implemented a "lexicographical compare" for String and
      Buffer objects within the logical operators -- LGreater,
      LLess, LGreaterEqual, and LLessEqual -- as per further
      clarification to the ACPI specification.  Behavior is
      similar to C library "strcmp".
      
      Completed a major reduction in CPU stack use for the
      acpi_get_firmware_table external function.  In the 32-bit
      non-debug case, the stack use has been reduced from 168
      bytes to 32 bytes.
      
      Deployed a new run-time configuration flag,
      acpi_gbl_enable_interpeter_slack, whose purpose is to allow
      the AML interpreter to forgive certain bad AML constructs.
      Default setting is FALSE.
      
      Implemented the first use of acpi_gbl_enable_interpeter_slack
      in the Field IO support code.  If enabled, it allows field
      access to go beyond the end of a region definition if the
      field is within the region length rounded up to the next
      access width boundary (a common coding error.)
      
      Renamed OSD_HANDLER to acpi_osd_handler, and
      OSD_EXECUTION_CALLBACK to acpi_osd_exec_callback for
      consistency with other ACPI symbols.  Also, these symbols
      are lowercased by the latest version of the acpisrc tool.
      
      The prototypes for the PCI interfaces in acpiosxf.h
      have been updated to rename "register" to simply "reg"
      to prevent certain compilers from complaining.
      7e06bff2
  5. 15 Jul, 2004 1 commit
  6. 14 Jul, 2004 7 commits
  7. 13 Jul, 2004 1 commit
  8. 07 Jul, 2004 1 commit
  9. 23 Jun, 2004 3 commits
  10. 22 Jun, 2004 7 commits
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7 · 5a14547b
      Len Brown authored
      into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7
      5a14547b
    • Len Brown's avatar
    • Len Brown's avatar
      merge ACPICA · deeea76e
      Len Brown authored
      deeea76e
    • Len Brown's avatar
      9614d5d0
    • Len Brown's avatar
      [ACPI] ACPICA 20040615 from Bob Moore · 24ee1096
      Len Brown authored
      Implemented support for Buffer and String objects (as
      per ACPI 2.0) for the following ASL operators: LEqual,
      LGreater, LLess, LGreaterEqual, and LLessEqual.
      24ee1096
    • Len Brown's avatar
      [ACPI] ACPICA 20040527 from Bob Moore · 2d837fe9
      Len Brown authored
      Completed a new design and implementation for EBDA
      (Extended BIOS Data Area) support in the RSDP scan code.
      The original code improperly scanned for the EBDA by simply
      scanning from memory location 0 to 0x400.  The correct
      method is to first obtain the EBDA pointer from within
      the BIOS data area, then scan 1K of memory starting at the
      EBDA pointer.  There appear to be few if any machines that
      place the RSDP in the EBDA, however.
      http://bugme.osdl.org/show_bug.cgi?id=2415
      
      Integrated a fix for a possible fault during evaluation
      of BufferField arguments.  Obsolete code that was causing
      the problem was removed. (Asus laptop boot crash)
      https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121760
      
      Found and fixed a problem in the Field Support Code
      where data could be corrupted on a bit field read that
      starts on an aligned boundary but does not end on an
      aligned boundary.  Merged the read/write "datum length"
      calculation code into a common procedure.
      2d837fe9
    • Len Brown's avatar
      [ACPI] ACPICA 20040514 from Bob Moore · f81d800e
      Len Brown authored
      Fixed a problem where hardware GPE enable bits sometimes
      not set properly during and after GPE method execution.
      Result of ACPICA 20040427 changes.
      
      Removed extra "clear all GPEs" when sleeping/waking.
      
      Removed acpi_ht_enable_gpe and acpi_hw_disable_gpe, replaced
      by the single acpi_hw_write_gpe_enable_reg. Changed a couple
      of calls to the functions above to the new acpi_ev* calls
      as appropriate.
      
      ACPI_OS_NAME was removed from the OS-specific headers.
      The default name is now "Microsoft Windows NT" for maximum
      compatibility. However this can be changed by modifying
      the acconfig.h file.  Fixes EHCI probe issue:
      http://bugme.osdl.org/show_bug.cgi?id=1762
      
      Allow a single invocation of acpi_install_notify_handler
      for a handler that traps both types of notifies (System,
      Device). Use ACPI_ALL_NOTIFY flag.
      
      Run _INI methods on ThermalZone objects. This is against
      the ACPI specification, but there is apparently ASL code
      in the field that has these _INI methods, and apparently
      "other" AML interpreters execute them.
      
      Performed a full 16/32/64 bit lint that resulted in some
      small changes.
      f81d800e
  11. 21 Jun, 2004 4 commits
  12. 17 Jun, 2004 6 commits
  13. 16 Jun, 2004 4 commits