| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Version 20140926.
|
|
|
|
| |
Version 20140926.
|
|
|
|
|
| |
Eliminate an error message for batch-mode processing on unix
systems. ACPICA BZ 1114.
|
|
|
|
| |
-lm option: create mapfile for GPIO/etc. hardware connections.
|
|
|
|
|
| |
New flag for the Event/GPE interfaces.
Changes to GPIO op region interface.
|
|
|
|
|
|
| |
This error was found to cause regressions/problems with some ASL
code. It is removed temporarily until the problem can be investigated
and fixed.
|
|
|
|
|
|
| |
This error was found to cause regressions/problems with some ASL
code. It is removed for now until it can be investigated further
and fixed.
|
|
|
|
|
|
|
|
| |
Update the main makefile to ensure that iASL compile failures are
correctly reported. Also fix a missing semicolon.
ACPICA BZ 1106. Reported by Dean Nelson <dnelson@redhat.com>,
fixed by Lv Zheng. Independently validated by David Box.
|
|
|
|
| |
From Jung-uk Kim (jkim@FreeBSD.org>
|
|
|
|
| |
644.
|
|
|
|
|
| |
Adds support for both iASL and the disassembler to create a hardware
and connection summary mapfile (via the -lm option.)
|
|
|
|
|
| |
Update .y file dependencies to correctly build iASL for any .y
file changes.
|
|
|
|
|
| |
This is a regression that was introduced in version 20140828.
ACPICA BZ 1111.
|
|
|
|
|
| |
Prevent a "possible" null pointer dereference.
Reported by Bonnie Zhang <bonnie.zhang@oracle.com>
|
|
|
|
|
|
|
| |
This change adds a new flag, ACPI_EVENT_FLAGS_HAS_HANDLER to the
AcpiGetEventStatus and AcpiGetGpeStatus external interfaces. It
is set if the event/gpe currently has a handler associated with it.
Lv Zheng.
|
|
|
|
|
|
| |
The OriginallyEnabled check is not paired between AcpiInstallGpeHandler()
and AcpiRemoveGpeHandler(). This patch contains the code that is already in
the Linux kernel upstream. Lv Zheng.
|
|
|
|
|
|
|
| |
GPEs with corresponding _Lxx/_Exx control methods need to be disabled
during initialization in case they have been enabled by the BIOS, so that
they don't fire up until they are enabled by AcpiUpdateAllGpes().
Rafael J. Wysocki.
|
|
|
|
|
|
| |
The acpidump currently always uses ACPI 2.0 format to dump RSDP, this patch
adds ACPI 1.0 RSDP support.
ACPICA BZ 1097. Reported by Rudolf Marek, fixed by Lv Zheng.
|
|
|
|
|
| |
Was using "EXAMPLES" instead of "ACPIEXAMPLES". Dean Nelson,
dnelson@redhat.com. ACPICA BZ 1105.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to correct several GPIO issues:
1) The UpdateRule in a GPIO field definition is now ignored;
a read-modify-write operation is never performed for GPIO fields.
(Internally, this means that the field assembly/disassembly
code is completely bypassed for GPIO.)
2) The Address parameter passed to a GPIO region handler is
now the bit offset of the field from a previous Connection()
operator. Thus, it becomes a "Pin Number Index" into the
Connection() resource descriptor.
3) The BitWidth parameter passed to a GPIO region handler is
now the exact bit width of the GPIO field. Thus, it can be
interpreted as "number of pins".
Overall, we can now say that the region handler interface
to GPIO handlers is a raw "bit/pin" addressed interface, not
a byte-addressed interface like the SystemMemory handler interface.
For Linux, this patch will need to be applied simultaneously
with the Linux GPIO handler patch that supports it.
|
|
|
|
| |
The _DDN method will be used internally.
|
|
|
|
|
| |
Added some new _HIDs that are recognized, along with their
description strings.
|
|
|
|
|
| |
Late handler installation function was returning bad status
incorrectly.
|
|
|
|
| |
aeregion.c
|
|
|
|
| |
new file, aeregion.c
|
|
|
|
|
| |
Split aehandlers.c into two files. The new file is aeregion.c, which
contains the operation region handlers.
|
|
|
|
| |
Version 20140828.
|
|
|
|
| |
Version 20140828.
|
|
|
|
|
|
| |
Adds ACPICA kernel runtime support to validate contents/format
of the _DSD package, similar to the iASL support. Ported by
Mika Westerberg.
|
|
|
|
| |
The field is actually 2 bits, not 1.
|
|
|
|
|
| |
_DSD no longer has a requirement for a _HID.
However, a Device() object is required to have a _HID, a _ADR, or both.
|
|
|
|
| |
Mostly by Hanjun Guo <hanjun.guo@linaro.org>
|
|
|
|
|
|
|
| |
Update template for SRAT.
Add ClockDomain to standard CPU affinity subtable.
Mostly by: Hanjun Guo <hanjun.guo@linaro.org>
|
|
|
|
|
| |
From acpisrc execution -- the utility now ensures that there is
exactly one blank line after the header.
|
|
|
|
|
| |
Now will ensure that there is exactly one blank line after the
header -- no more, no less.
|
|
|
|
|
| |
Add object caches for the field and subtable objects, to improve
performance and to simplify memory management.
|
|
|
|
|
|
|
|
| |
Ensure that the parse tree is deleted for each compile.
Fix other miscellaneous memory leaks per-compile.
Consistently deploy the use of the string cache.
Add tracking for multiple buffers within caches.
Ensure the cache buffers are always deleted.
|
|
|
|
|
|
|
|
|
|
| |
Fixes a problem where the original terminal state for the unix
version was restored in these cases:
acpiexec
acpiexec -v
ACPICA BZ 1104.
|
|
|
|
| |
644
|
|
|
|
|
|
|
|
|
|
|
| |
Split the main aslcompiler.y file into a master file and 4 included
subfiles, using the M4 macro processor to perform the actual include,
since Bison does not provide this function.
Makefiles/project files updated.
M4 is typically included in the Bison package, for both Windows
and Unix.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check for an illegal reference to a named object:
1) References from one control method to another, non-parent
method are not allowed, they will fail at runtime.
2) Forward references within a control method are not allowed.
AML interpreters use a one-pass parse of control methods
so these forward references will fail at runtime.
ACPICA BZ 1008.
|
|
|
|
| |
For ascii support routines.
|
|
|
|
| |
New file is aslascii.c
|
|\ |
|
| |\
| | |
| | | |
Acpica 1407
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
generation.
ACPICA should not use 64-bit division directly. This triggers the following
build error on Linux i386 kernel builds:
drivers/built-in.o: In function `acpi_ex_do_debug_object':
(.text+0x4e1a4): undefined reference to `__udivdi3'
This is introduced by the following commit:
Commit: a4060d7fcfffff15a3e1d3aee7ccfd5cf00b50a0
Subject: Debug object: Add current value of Timer() to debug line prefix.
Since the following 2 statements are equivalent as 0x03FFFFFF masking
keeps lower bits of num/12, and num/10 should have contained all valid bits
for 0x03FFFFFF masking no matter whether num is 32-bit or 64-bit:
(UINT32) (num64 / 10) & 0x03FFFFFF;
((UINT32) num64 / 10) & 0x03FFFFFF;
This patch fixes this using the latter form statement to avoid 64-bit
division. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As there is only CONFIG_ACPI=n processing in the <linux/acpi.h>, it is not
safe to include <acpi/acpi.h> directly for source out of Linux ACPI
subsystems.
This patch adds error messaging to warn developers of such wrong
inclusions. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The forthcoming patch will make <acpi/acpi.h> to be visible to all kernel
source code. Thus for the architectures that do not support ACPI and
haven't implemented <asm/acenv.h>, we need to make it excluded. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds default 64-bit mathematics in aclinux.h using do_div(). As
do_div() can be used for all Linux architectures, this can also be used as
stub macros for ACPICA 64-bit mathematics.
But this is not a performance friendly way, as ACPICA's architecture
specific division OSL only requires a dividing 64-bit number with a 32-bit
number implementation, while Linux __div64_32() is not available for all
build environments. So currently, if an architecture really wants to
support ACPICA, it must implement its own division OSL.
This is required by the ACPICA header stub support. ACPICA header stubs are
useful to protect CONFIG_ACPI=n Linux kernel builds where ACPICA headers
are included. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check to ensure the following are true:
1) _PS0 - One of these must exist: _PS1, _PS2, _PS3
2) _PS1/_PS2/_PS3: A _PS0 must exist
|