]> err.no Git - linux-2.6/log
linux-2.6
17 years agoACPICA: Update version to 20061215
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Update version to 20061215

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Added option to display memory statistics upon termination.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Added option to display memory statistics upon termination.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Enhance debugger statistics/memory command.
Valery A. Podrezov [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Enhance debugger statistics/memory command.

Debugger: Enhanced the Statistics/Memory command to emit the
total (maximum) memory used during execution, as well as the
maximum memory consumed by each of the various object types.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update a comment.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Update a comment.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Debugger multithreading enhancements.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Debugger multithreading enhancements.

Implemented enhancements to the multithreading support within
the debugger to enable better multithreading evaluation of the subsystem.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Removed all 16-bit support.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Removed all 16-bit support.

Support for 16-bit ACPICA has been completely removed since it is
no longer necessary and it clutters the code. All 16-bit macros,
types, and conditional compiles have been removed, cleaning up
and simplifying the code across the entire subsystem.
DOS support is no longer needed since the Linux firmware kit
is now available.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20061109
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Update version to 20061109

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add include of actables.h
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Add include of actables.h

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fail AcpiEnable if ACPI tables not loaded.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Fail AcpiEnable if ACPI tables not loaded.

AcpiEnable will now fail if all of the required ACPI tables are not
loaded (FADT, FACS, DSDT). BZ 477

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add ACPI_MAX macro
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Add ACPI_MAX macro

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Ensure that all structures in acobject.h are aligned, via #pragma.
Bob Moore [Fri, 2 Feb 2007 16:48:23 +0000 (19:48 +0300)]
ACPICA: Ensure that all structures in acobject.h are aligned, via #pragma.

Thus, even if the default compiler setting is non-aligned, the header is compiled
 correctly.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove global lock handler on AcpiTerminate.
Bob Moore [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Remove global lock handler on AcpiTerminate.

Added AcpiEvRemoveGlobalLockHandler

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fixes for load() operator.
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Fixes for load() operator.

Optimized the Load operator in the case where the source operand is an
operation region. Simply map the operation region memory, instead of
performing a bytewise read.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Miscellaneous table manager updates and optimizations
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Miscellaneous table manager updates and optimizations

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update debug output routines for data structure changes
Bob Moore [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Update debug output routines for data structure changes

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove duplicate table definitions (non-conflicting), cont
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Remove duplicate table definitions (non-conflicting), cont

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove duplicate table definitions (non-conflicting)
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Remove duplicate table definitions (non-conflicting)

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove duplicate table definitions.
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Remove duplicate table definitions.

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: use new ACPI headers.
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: use new ACPI headers.

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove duplicate table manager
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Remove duplicate table manager

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20061011
Bob Moore [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Update version to 20061011

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fixes for parameter validation.
Bob Moore [Fri, 2 Feb 2007 16:48:22 +0000 (19:48 +0300)]
ACPICA: Fixes for parameter validation.

Extra checks for valid handle/path combinations, BZ 478

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Abort downward walk on temporary node detection.
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Abort downward walk on temporary node detection.

Enhancement to code that ignores temporary  namespace nodes

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update comments
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Update comments

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Use manifest constants for parse pass number
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Use manifest constants for parse pass number

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: _CID support for PCI Root Bridge detection.
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: _CID support for PCI Root Bridge detection.

Implemented _CID support for PCI Root Bridge detection. If the _HID
does not match the predefined root bridge IDs, the _CID list (if present)
 is now obtained and also checked for an ID match

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix race condition with AcpiWalkNamespace.
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Fix race condition with AcpiWalkNamespace.

Fixed a problem with a possible race condition between threads executing
AcpiWalkNamespace and the AML interpreter. This condition was removed by
modifying AcpiWalkNamespace to (by default) ignore all temporary
namespace entries created during any concurrent control method execution

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Eliminate control method 2-pass parse/execute.
Valery Podrezov [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Eliminate control method 2-pass parse/execute.

Completed an AML interpreter performance enhancement for control method
execution. Previously a 2-pass parse/execution, control methods are now
completely parsed and executed in single pass. This improves overall
interpreter performance by ~25%, reduces code size, and reduces CPU stack use.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Restructured module into multiple functions.
Mikhail Kouzmich [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Restructured module into multiple functions.

Restructured the AML ParseLoop function, breaking it into several
subfunctions in order to reduce CPU stack use and improve maintainability

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20060927
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Update version to 20060927

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add new subsystem state bit that is set after SubsystemInitialize is called
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Add new subsystem state bit that is set after SubsystemInitialize is called

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix for possible memory leak and fault.
Fiodor Suietov [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Fix for possible memory leak and fault.

Fixed a possible memory leak and fault in acpi_ex_resolve_object_to_value()
during a read from a buffer or region field. (BZ 458)

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update interpreter error paths to always report the error
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Update interpreter error paths to always report the error

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: On AML mutex force-release, set depth to zero (was 1).
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: On AML mutex force-release, set depth to zero (was 1).

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Use faster ByIndex interface to get FACS
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Use faster ByIndex interface to get FACS

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Remove obsolete Flags parameter.
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Remove obsolete Flags parameter.

Remove flags parameter for acpi_{get,set}_register().
It is no longer necessary now that these functions use a
spinlock for mutual exclusion.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix for Global Lock semaphore.
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Fix for Global Lock semaphore.

Fixed a problem with the Global Lock where the lock could appear to be obtained before it is actually obtained, semaphore created with one unit.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add full table name to disassembler output
Bob Moore [Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)]
ACPICA: Add full table name to disassembler output

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20060912
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Update version to 20060912

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix trace output name and whitespace
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Fix trace output name and whitespace

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix memory leak in table load error path
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Fix memory leak in table load error path

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: New common routine for creating and verifying a local FADT.
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: New common routine for creating and verifying a local FADT.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Report error if method creates 2 objects with the same name
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Report error if method creates 2 objects with the same name

Fixed a regression where an error was no
longer emitted if a control method attempts to create 2
objects of the same name. This previously and now returns
AE_ALREADY_EXISTS. When this exception occurs, it invokes
the mechanism that will dynamically serialize the control
method to possible prevent future errors. (BZ 440)

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: FADT verification is now table driven.
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: FADT verification is now table driven.

Disassembler now verifies an input

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add declarations for ASF! sub-tables
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Add declarations for ASF! sub-tables

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: IsResourceTemplate now returns ACPI_STATUS
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: IsResourceTemplate now returns ACPI_STATUS

to differentiate the failure modes.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Allow type ANY to be the target of the Scope operator.
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Allow type ANY to be the target of the Scope operator.

Useful during disassembly where the target may
be in a different table and thus the type is unknown.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: re-factor table init routines for benefit of iASL
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: re-factor table init routines for benefit of iASL

Required new table init interface since iASL does not use RSDP/XSDT.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: add ASF comment
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: add ASF comment

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update comments in tbfadt.c
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Update comments in tbfadt.c

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Delete stale FADT functions outside tbfadt.c.
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Delete stale FADT functions outside tbfadt.c.

Moved all FADT-related functions to a new file, tbfadt.c.
Eliminated the acpi_hw_initialize function - the
FADT registers are now validated when the table is loaded.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Re-implement interpreters' "serialized mode"
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Re-implement interpreters' "serialized mode"

Enhanced the implementation of the interpreters'
serialized mode (boot with "acpi_serialize" to set
acpi_glb_all_methods_serialized flag.)
When this mode is specified, instead of creating a serialization
semaphore per control method, the interpreter lock is
simply no longer released before a blocking operation
during control method execution. This effectively makes
the AML Interpreter single-threaded. The overhead of a
semaphore per-method is eliminated.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Create tbfadt.c to hold all FADT-related functions
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Create tbfadt.c to hold all FADT-related functions

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Cleanup of FADT verification function.
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Cleanup of FADT verification function.

Removed offset display, not needed.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20060831
Bob Moore [Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)]
ACPICA: Update version to 20060831

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Split acpi_format_exception into two parts
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Split acpi_format_exception into two parts

Split acpi_format_exception into two parts. New
function is acpi_ut_verify_exception and will be used to
verify exception codes returned by user.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Store GPE number instead of bitmask
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Store GPE number instead of bitmask

Update internal GPE data structure to simplify
debug, use gpe_number instead of register bitmask.

Signed-off-by: Bob Moore <bob.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix unalignment in acpi_ut_repair_name
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Fix unalignment in acpi_ut_repair_name

Update interface to acpi_ut_repair_name() to avoid
alignment issues on IA64

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Disable all wake GPEs after first one recieved
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Disable all wake GPEs after first one recieved

Change for GPE support: when a wake GPE is
received, now all wake GPEs are immediately disabled to
prevent the waking GPE from firing again, and to prevent
other wake GPEs from interrupting the wake process.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add acpi_gpe_count global to track the number of GPE events
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Add acpi_gpe_count global to track the number of GPE events

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Add support for DMAR table
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Add support for DMAR table

Implement support for ACPI DMAR table (DMA
Remapping Table) in header files and disassembler.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: minimal patch to integrate new tables into Linux
Alexey Starikovskiy [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: minimal patch to integrate new tables into Linux

Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Lint changes
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Lint changes

Lint changes
Move RSDT/XSDT pointer extraction to separate function
Warning on 32-bit platforms if XSDT pointers use more than 32 bits.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Fix for FADT conversion in 64-bit mode
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Fix for FADT conversion in 64-bit mode

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update comments for individual table fields
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: Update comments for individual table fields

comments only

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: misc fixes for new Table Manager:
Bob Moore [Fri, 2 Feb 2007 16:48:19 +0000 (19:48 +0300)]
ACPICA: misc fixes for new Table Manager:

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Implement simplified Table Manager
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Implement simplified Table Manager

The Table Manager component has been completely
redesigned and reimplemented. The new design is much
simpler, and reduces the overall code and data size of
the kernel-resident ACPICA by approximately 5%. Also,
it is now possible to obtain the ACPI tables very early
during kernel initialization, even before dynamic memory
management is initialized.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update debug output
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Update debug output

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update version to 20060721
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Update version to 20060721

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Temporary fix for BankValue parameter
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Temporary fix for BankValue parameter

Temporary fix for BankValue parameter of a Bank
Field to support all constant values, including Zero
and One. Must eventually be converted to a full TermArg
evaluation.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: fix for object premature deletion
Fiodor Suietov [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: fix for object premature deletion

Fix for object premature deletion after CopyObject
on Operation Region (BZ 350)

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Cast acpi_thread_id to UINT32 for debug output only
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Cast acpi_thread_id to UINT32 for debug output only

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Release global lock from interrupt handler
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Release global lock from interrupt handler

The ACPI Global Lock interrupt handler no longer
queues the execution of a separate thread to signal the
global lock semaphore. Instead, the semaphore is signaled
directly from the interrupt handler.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Delete recursive feature of ACPI Global Lock
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Delete recursive feature of ACPI Global Lock

Completed a new design and implementation for
the ACPI Global Lock support. On the OS side, the global
lock is now treated as a standard AML mutex. Previously,
multiple OS threads could acquire the global lock
simultaneously, but this could cause the BIOS to be starved
by the lock in cases such as the Embedded Controller driver,
where there is a tight coupling between the OS and the BIOS.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Handle case NumElements > Package length
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Handle case NumElements > Package length

Additional update for NumElements fix. Must handle
case where NumElements > Package list length, pad package
with null elements.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Handle mis-matched package length
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Handle mis-matched package length

Implement support within the AML interpreter for
package objects that contain a mismatch between the AML
length and package element count. In this case, the lesser
of the two is used. Some BIOS code apparently modifies
the package length on the fly, and this change supports
this. Provides compatibility with the MS AML interpreter.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoACPICA: Update function header
Bob Moore [Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)]
ACPICA: Update function header

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
17 years agoMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
Linus Torvalds [Fri, 2 Feb 2007 17:14:48 +0000 (09:14 -0800)]
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
  libata: Initialize nbytes for internal sg commands
  libata: Fix ata_busy_wait() kernel docs
  pata_via: Correct missing comments
  pata_atiixp: propogate cable detection hack from drivers/ide to the new driver
  ahci/pata_jmicron: fix JMicron quirk

17 years agolibata: Initialize nbytes for internal sg commands
Brian King [Tue, 30 Jan 2007 17:32:26 +0000 (11:32 -0600)]
libata: Initialize nbytes for internal sg commands

Some LLDDs, like ipr, use nbytes and pad_len to determine
the total data transfer length of a command. Make sure
nbytes gets initialized for internally generated commands.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agolibata: Fix ata_busy_wait() kernel docs
Alan [Wed, 31 Jan 2007 17:47:24 +0000 (17:47 +0000)]
libata: Fix ata_busy_wait() kernel docs

> Looks like you should use ata_busy_wait() here, rather than reproducing
> the same code again.

It waits in 10uS chunks while 1uS chunks were used in the workaround.
Could indeed do that once I know the fix is right. While I'm at it the
ata_busy_wait kerneldoc is borked so here's a fix

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agopata_via: Correct missing comments
Alan [Wed, 31 Jan 2007 17:14:38 +0000 (17:14 +0000)]
pata_via: Correct missing comments

The 8237S was added to the chipsets but not to the comments. Fix this

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agopata_atiixp: propogate cable detection hack from drivers/ide to the new driver
Alan [Wed, 31 Jan 2007 17:10:46 +0000 (17:10 +0000)]
pata_atiixp: propogate cable detection hack from drivers/ide to the new driver

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoahci/pata_jmicron: fix JMicron quirk
Tejun Heo [Fri, 2 Feb 2007 05:51:09 +0000 (14:51 +0900)]
ahci/pata_jmicron: fix JMicron quirk

For all JMicrons except for 361 and 368, AHCI mode enable bits in the
Control(1) should be set.  This used to be done in both ahci and
pata_jmicron but while moving programming to PCI quirk, it was removed
from ahci part while still left in pata_jmicron.

The implemented JMicron PCI quirk was incorrect in that it didn't
program AHCI mode enable bits.  If pata_jmicron is loaded first and
programs those bits, the ahci ports work; otherwise, ahci device
detection fails miserably.

This patch makes JMicron PCI quirk clear SATA IDE mode bits and set
AHCI mode bits and remove the respective part from pata_jmicron.
Tested on JMB361, 363 and 368.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
Linus Torvalds [Fri, 2 Feb 2007 16:13:23 +0000 (08:13 -0800)]
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
  spidernet : fix memory leak in spider_net_stop
  e100: fix napi ifdefs removing needed code
  netxen patches

17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/bnx2-2.6
Linus Torvalds [Fri, 2 Feb 2007 16:10:58 +0000 (08:10 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/bnx2-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/bnx2-2.6:
  [BNX2]: PHY workaround for 5709 A0.

17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Fri, 2 Feb 2007 16:10:30 +0000 (08:10 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
  [NET_SCHED]: act_ipt: fix regression in ipt action

17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Fri, 2 Feb 2007 16:10:17 +0000 (08:10 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
  [SPARC32]: Fix over-optimization by GCC near ip_fast_csum.

17 years ago[PATCH] MAINTAINERS: ufs entry
Evgeniy Dushistov [Fri, 2 Feb 2007 08:36:34 +0000 (11:36 +0300)]
[PATCH] MAINTAINERS: ufs entry

Mark ufs file system as maintainable, and add me as maintainer,
to help people find appropriate person to assign bugs.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years agoRevert "[PATCH] fix typo in geode_configre()@cyrix.c"
Linus Torvalds [Fri, 2 Feb 2007 16:07:42 +0000 (08:07 -0800)]
Revert "[PATCH] fix typo in geode_configre()@cyrix.c"

This reverts commit e4f0ae0ea63caceff37a13f281a72652b7ea71ba.

It's not wrong, but it's not right either, and everybody seems to agree
that the right fix is probably to do the ccr3 write after the ccr4 one
(and that we also should clean it up a bit).  And after that we need to
really validate that all the bits that we write to ccr4 actually do
work.

The old 2.6.19 code was insane, and basically didn't change ccr4 at all
(even though it certainly looks like it was the *intent* to do so).  So
let's revert the change that may fix things, just because it's not what
was actually ever tested when the code was written, even if it _was_ the
intent.

There's a discussion on http://lkml.org/lkml/2007/1/9/63 that was
started by the patch that now gets reverted, and that discussion may
well contain the proper long-term fix.

Suggested-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years agospidernet : fix memory leak in spider_net_stop
Jens Osterkamp [Thu, 1 Feb 2007 11:07:47 +0000 (12:07 +0100)]
spidernet : fix memory leak in spider_net_stop

We forget to call spider_net_free_rx_chain_contents which does the
actual dev_kfree_skb. New skbs are allocated from skbuff_head_cache
on each "ifconfig up" letting the cache grow infinitely.

This patch fixes it.

Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoe100: fix napi ifdefs removing needed code
Auke Kok [Wed, 31 Jan 2007 19:02:46 +0000 (11:02 -0800)]
e100: fix napi ifdefs removing needed code

e100: fix napi ifdefs removing needed code

From: Auke Kok <auke-jan.h.kok@intel.com>

The e100 driver is NAPI mode only. We need to netif_poll_disable
during suspend and shutdown. The non-NAPI driver code was removed
and is only avaiable in the out-of-tree e100 kernel driver.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoMerge ../linux-2.6
Jeff Garzik [Fri, 2 Feb 2007 13:31:55 +0000 (08:31 -0500)]
Merge ../linux-2.6

17 years ago[BNX2]: PHY workaround for 5709 A0.
Michael Chan [Fri, 2 Feb 2007 08:46:35 +0000 (00:46 -0800)]
[BNX2]: PHY workaround for 5709 A0.

5709 A0 copper devices will not link up with some link partners
without this workaround.

Update driver to 1.5.5.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[NET_SCHED]: act_ipt: fix regression in ipt action
Patrick McHardy [Fri, 2 Feb 2007 08:40:36 +0000 (00:40 -0800)]
[NET_SCHED]: act_ipt: fix regression in ipt action

The x_tables patch broke target module autoloading in the ipt action
by replacing the ipt_find_target call (which does autoloading) by
xt_find_target (which doesn't do autoloading). Additionally xt_find_target
may return ERR_PTR values in case of an error, which are not handled.

Use xt_request_find_target, which does both autoloading and ERR_PTR
handling properly. Also don't forget to drop the target module reference
again when xt_check_target fails.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC32]: Fix over-optimization by GCC near ip_fast_csum.
Bob Breuer [Fri, 2 Feb 2007 04:24:35 +0000 (20:24 -0800)]
[SPARC32]: Fix over-optimization by GCC near ip_fast_csum.

In some cases such as:
iph->check = 0;
iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
GCC may optimize out the previous store.

Observed as a failure of NFS over udp (bad checksums on ip fragments)
when compiled with GCC 3.4.2.

Signed-off-by: Bob Breuer <breuerr@mc.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[PATCH] Remove avr32@atmel.com from MAINTAINERS
Haavard Skinnemoen [Thu, 1 Feb 2007 15:49:31 +0000 (16:49 +0100)]
[PATCH] Remove avr32@atmel.com from MAINTAINERS

avr32@atmel.com is a technical support address and is not really
appropriate for sending patches. Lots of annoying automatics getting
in the way.

I'm still the maintainer of all the entries touched by this patch, so
nothing changes with regard to the "Supported" status of the AVR32
architecture or the macb driver.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago[PATCH] via82cxxx: fix typo ("cx7000" should be corrected to "cx700")
Bartlomiej Zolnierkiewicz [Thu, 1 Feb 2007 13:12:27 +0000 (14:12 +0100)]
[PATCH] via82cxxx: fix typo ("cx7000" should be corrected to "cx700")

Noticed by JosephChan@via.com.tw.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago[PATCH] sysrq: showBlockedTasks is sysrq-W
Randy Dunlap [Thu, 1 Feb 2007 07:48:17 +0000 (23:48 -0800)]
[PATCH] sysrq: showBlockedTasks is sysrq-W

Change SysRq showBlockedTasks from sysrq-X to sysrq-W and show that in the
Help message.

It was previously done via X, but X is already used for Xmon on ppc & powerpc
platforms and this collision needs to be avoided.

All callers of register_sysrq_key() are now marked in the sysrq op/key table.
I didn't mark 'h' as Help because Help is just printed for any unknown key,
such as '?'.

Added some omitted sysrq key entries in the sysrq.txt file.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago[PATCH] procfs: Fix listing of /proc/NOT_A_TGID/task
Guillaume Chazarain [Thu, 1 Feb 2007 07:48:14 +0000 (23:48 -0800)]
[PATCH] procfs: Fix listing of /proc/NOT_A_TGID/task

Listing /proc/PID/task were PID is not a TGID should not result in
duplicated entries.

[g ~]$ pidof thunderbird-bin
2751
[g ~]$ ls /proc/2751/task
2751  2770  2771  2824  2826  2834  2835  2851  2853
[g ~]$ ls /proc/2770/task
2751  2770  2771  2824  2826  2834  2835  2851  2853
2770  2771  2824  2826  2834  2835  2851  2853
[g ~]$

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago[PATCH] KVM: fix lockup on 32-bit intel hosts with nx disabled in the bios
Avi Kivity [Thu, 1 Feb 2007 07:48:13 +0000 (23:48 -0800)]
[PATCH] KVM: fix lockup on 32-bit intel hosts with nx disabled in the bios

Intel hosts, without long mode, and with nx support disabled in the bios
have an efer that is readable but not writable.  This causes a lockup on
switch to guest mode (even though it should exit with reason 34 according
to the documentation).

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>