1. 13 Jun, 2006 1 commit
    • Bob Moore's avatar
      [ACPI] ACPICA 20060317 · 61686124
      Bob Moore authored
      Implemented the use of a cache object for all internal
      namespace nodes. Since there are about 1000 static nodes
      in a typical system, this will decrease memory use for
      cache implementations that minimize per-allocation overhead
      (such as a slab allocator.)
      
      Removed the reference count mechanism for internal
      namespace nodes, since it was deemed unnecessary. This
      reduces the size of each namespace node by about 5%-10%
      on all platforms. Nodes are now 20 bytes for the 32-bit
      case, and 32 bytes for the 64-bit case.
      
      Optimized several internal data structures to reduce
      object size on 64-bit platforms by packing data within
      the 64-bit alignment. This includes the frequently used
      ACPI_OPERAND_OBJECT, of which there can be ~1000 static
      instances corresponding to the namespace objects.
      
      Added two new strings for the predefined _OSI method:
      "Windows 2001.1 SP1" and "Windows 2006".
      
      Split the allocation tracking mechanism out to a separate
      file, from utalloc.c to uttrack.c. This mechanism appears
      to be only useful for application-level code. Kernels may
      wish to not include uttrack.c in distributions.
      
      Removed all remnants of the obsolete ACPI_REPORT_* macros
      and the associated code. (These macros have been replaced
      by the ACPI_ERROR and ACPI_WARNING macros.)
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      61686124
  2. 01 Apr, 2006 1 commit
  3. 31 Mar, 2006 3 commits
    • Bob Moore's avatar
      ACPI: ACPICA 20060310 · 8313524a
      Bob Moore authored
      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: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      8313524a
    • Bob Moore's avatar
      ACPI: ACPICA 20060217 · ea936b78
      Bob Moore authored
      Implemented a change to the IndexField support to match
      the behavior of the Microsoft AML interpreter. The value
      written to the Index register is now a byte offset,
      no longer an index based upon the width of the Data
      register. This should fix IndexField problems seen on
      some machines where the Data register is not exactly one
      byte wide. The ACPI specification will be clarified on
      this point.
      
      Fixed a problem where several resource descriptor
      types could overrun the internal descriptor buffer due
      to size miscalculation: VendorShort, VendorLong, and
      Interrupt. This was noticed on IA64 machines, but could
      affect all platforms.
      
      Fixed a problem where individual resource descriptors were
      misaligned within the internal buffer, causing alignment
      faults on IA64 platforms.
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      ea936b78
    • Bob Moore's avatar
      [ACPI] ACPICA 20060210 · 52fc0b02
      Bob Moore authored
      Removed a couple of extraneous ACPI_ERROR messages that
      appeared during normal execution. These became apparent
      after the conversion from ACPI_DEBUG_PRINT.
      
      Fixed a problem where the CreateField operator could hang
      if the BitIndex or NumBits parameter referred to a named
      object. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5359
      
      Fixed a problem where a DeRefOf operation on a buffer
      object incorrectly failed with an exception. This also
      fixes a couple of related RefOf and DeRefOf issues.
      From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5360
      http://bugzilla.kernel.org/show_bug.cgi?id=5387
      http://bugzilla.kernel.org/show_bug.cgi?id=5392
      
      Fixed a problem where the AE_BUFFER_LIMIT exception was
      returned instead of AE_STRING_LIMIT on an out-of-bounds
      Index() operation. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5480
      
      Implemented a memory cleanup at the end of the execution
      of each iteration of an AML While() loop, preventing the
      accumulation of outstanding objects. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5427
      
      Eliminated a chunk of duplicate code in the object
      resolution code. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5336
      
      Fixed several warnings during the 64-bit code generation.
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      52fc0b02
  4. 30 Mar, 2006 16 commits
  5. 29 Mar, 2006 3 commits
    • Alan Cox's avatar
      [PATCH] libata: Simplex and other mode filtering logic · 5444a6f4
      Alan Cox authored
      Add a field to the host_set called 'flags' (was host_set_flags changed
      to suit Jeff)
      Add a simplex_claimed field so we can remember who owns the DMA channel
      Add a ->mode_filter() hook to allow drivers to filter modes
      Add docs for mode_filter and set_mode
      Filter according to simplex state
      Filter cable in core
      
      This provides the needed framework to support all the mode rules found
      in the PATA world. The simplex filter deals with 'to spec' simplex DMA
      systems found in older chips. The cable filter avoids duplicating the
      same rules in each chip driver with PATA. Finally the mode filter is
      neccessary because drive/chip combinations have errata that forbid
      certain modes with some drives or types of ATA object.
      
      Drive speed setup remains per channel for now and the filters now use
      the framework Tejun put into place which cleans them up a lot from the
      older libata-pata patches.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5444a6f4
    • Alan Cox's avatar
      [PATCH] libata: Add ->set_mode hook for odd drivers · e35a9e01
      Alan Cox authored
      Some hardware doesn't want the usual mode setup logic running. This
      allows the hardware driver to replace it for special cases in the least
      invasive way possible.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e35a9e01
    • Alan Cox's avatar
      [PATCH] libata: BMDMA handling updates · 4e5ec5db
      Alan Cox authored
      This is the minimal patch set to enable the current code to be used with
      a controller following SFF (ie any PATA and early SATA controllers)
      safely without crashes if there is no BMDMA area or if BMDMA is not
      assigned by the BIOS for some reason.
      
      Simplex status is recorded but not acted upon in this change, this isn't
      a problem with the current drivers as none of them are for simplex
      hardware. A following diff will deal with that.
      
      The flags in the probe structure remain ->host_set_flags although Jeff
      asked me to rename them, simply because the rename would break the usual
      Linux rules that old code should break when there are changes. not
      compile and run and then blow up/eat your computer/etc. Renaming this
      later is a trivial exercise once a better name is chosen.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      4e5ec5db
  6. 28 Mar, 2006 16 commits