intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acopcode.h |4 ++--
drivers/acpi/acpica/amlcode.h |2 +-
drivers/acpi/acpica/exoparg1.c |2 +-
drivers/acpi/acpica/psopcode.c |2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --
erName, the lone argument now requires a new ARGP_ type.
Link: https://github.com/acpica/acpica/commit/67953304
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acopcode.h |2 +-
drivers/acpi/acpica/amlcode.h |
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit 0d784a90bc3aac75227c4459c3553de18b9ebe7a
Document one of the option string operators.
Link: https://github.com/acpica/acpica/commit/0d784a90
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.
methods on some platforms. This patch implements a
workaround to correct it. Reported by Bastien Nocera. Fixed by Lv Zheng.
Link: https://github.com/acpica/acpica/commit/80e60d72
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=106231
Reported-and-tested-by: Bastien Nocera <bugzi...@hadess.
large
Switch statements.
This patch only applies to iasl, and is no-op for Linux kernel.
Link: https://github.com/acpica/acpica/commit/918a840d
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/aclocal.h |1 +
intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
include/acpi/acexcep.h |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h
index 204f581..cd84b12 100644
--- a/include/acpi/acexcep.h
+++ b/include/acpi/acexcep.
rom 18
to 20 characters in the ACPI_OPTION macro.
Link: https://github.com/acpica/acpica/commit/e7c8ffbb
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpi
ert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acparser.h |8 +++-
drivers/acpi/acpica/psargs.c |4 ++--
drivers/acpi/acpica/psloop.c |8
3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/drivers/acpi/acpi
ACPICA commit 51cbd324420ca5e381cb2c57ce95139053518a35
The acpi_object_converter callbacks are lack in scope information to
convert name_string. This patch fixes this issue by passing the evaluation
method/object node to the converter callbacks. Lv Zheng.
Link: https://github.com/acpica/acpica
onents/utilities/utids.c
source/include/acnames.h
source/include/actypes.h
source/tools/acpinames/anstubs.c
Link: https://github.com/acpica/acpica/commit/e4743959
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
d
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit 5bdfb4f43f4d315d23b31b39bac5a0b1ca420c2b
Standardize naming, deploy in common header.
Link: https://github.com/acpica/acpica/commit/5bdfb4f4
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.
y: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acopcode.h |2 +-
drivers/acpi/acpica/exmisc.c | 41 +++-
2 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/a
robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/exdebug.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpica/exdebug.c b/drivers/acpi/acpica/exdebug.c
index ca6e379..b223090 100644
--- a/d
a89968
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/nsxfname.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c
index 0e4e6b7..669e0f1 10
no-op chage for Linux kernel.
Link: https://github.com/acpica/acpica/commit/3a6f2a51
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acapps.h | 10 +++---
drivers/acpi/acpica/dbinput.c |7 +++
d
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit e4414f067c726ef746dac990c0bae7f433045843
Was broken by addition of "null string" feature to emit
simple blank lines.
Link: https://github.com/acpica/acpica/commit/e4414f06
Signed-off-by: Bob Moore <robert.mo...@intel.com
Link: https://github.com/acpica/acpica/commit/05492c4a
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/exdebug.c | 67 +
include/acpi/acpixf.h |4 +++
2 files chan
There is one line of code, executed out of locking due to rebase mistakes.
This patch fixes this issue.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpi_dbg.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_dbg.c b/driver
eadable() support.
v3:
1. Remove acpi_os_readable() support from this patchset. It's sent separately.
2. Delete some deprecated comments.
Colin Ian King (1):
ACPICA: Debugger: Remove unnecessary status check
Lv Zheng (5):
ACPICA: Debugger: Convert some mechanisms to OSPM specific
ACPICA: D
print messages logged into OSPMs' kernel logs when a debugger
driver is not loaded to enable the debugger during runtime.
This patch fixes this issue by introducing new stub mechanism instead of
ACPI_DEBUGGER_EXEC. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/
. This patch also implements acpiexec batch mode in a
multi-threading mode comaptible style as a demo (this can be confirmed by
configuring acpiexec into DEBUGGER_MULTI_THREADED mode where the batch mode
is still working). Lv Zheng.
Note that the OSPM specific command handshake mechanism
t;colin.k...@canonical.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/dbinput.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/acpi/acpica/dbinput.c b/drivers/acpi/acpica/dbinput.c
index 0480254..fe93f67 1
() filesystem operation.
While this patch doesn't go that far. It then becomes userspace tool's
duty now to flush old commands before executing new batch mode commands.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/Kconfig |3 +-
drivers/acpi/Ma
From: Chen Yu <yu.c.c...@intel.com>
This patch implements acpi_os_readable(). The function is used by ACPICA
AML debugger to validate user specified pointers for dumping the memory as
ACPICA descriptor objects.
Signed-off-by: Chen Yu <yu.c.c...@intel.com>
Tested-by: Lv Zheng <lv.
blocked.
To exit the utility, currently "exit/quit" commands are recommended, but
ctrl-C" can also be used.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
tools/power/acpi/Makefile| 16 +-
tools/power/acpi/tools/acpidbg/Makefile | 27 ++
tools/pow
This patch converts AML debugger into a loadable module.
Note that, it implements driver unloading at the level dependent on the
module reference count. Which means if ACPI debugger is being used by a
userspace program, "rmmod acpi_dbg" should result in failure.
Signed-off-by: Lv Zh
switched the "table loading"/"ECDT support" to be ACPI spec 2.0 compliant.
Fixes: 59f0aa9480cf ("ACPI 2.0 / ECDT: Remove early namespace reference from
EC")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=119261
Reported-and-tested-by: Gabriele Mazzotta <gabriele
An error was captured by the static checker. This patch fixes the issue.
introduced in:
Subject: ACPICA: ACPI 2.0, Interpreter: Fix MLC issues by switching to
new TermList grammar for table loading
Reported-by: Dan Carpenter <dan.carpen...@oracle.com>
Signed-off-by: Lv Zheng
: Mike Marshall <hub...@omnibond.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/hwregs.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/drivers/acpi/acpica/hwregs.c
mnibond.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/hwregs.c | 23 +--
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica
The address check in acpi_hw_get_access_bit_width() should be byte size
based, not bit width based. This patch fixes this mistake.
Reported-by: Boris Ostrovsky <boris.ostrov...@oracle.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
This patch simplies the code by merging the redundant code. No functional
changes.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/button.c | 92 +++--
1 file changed, 50 insertions(+), 42 deletions(-)
diff --git a/driver
to this fact.
Lv Zheng (3):
ACPI / button: Remove initial lid state notification
ACPI / button: Refactor functions to eliminate redundant code
ACPI / button: Send "open" state after boot/resume
drivers/acpi/button.c | 96 ++---
1 file c
k 1: https://lkml.org/2016/3/7/460
Link 2: https://github.com/systemd/systemd/issues/2087
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Cc: Bastien Nocera: <had...@hadess.net>
---
drivers/acpi/button.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/acpi/button.c b/drive
: send initial lid state after add and resume
Link 1: https://bugzilla.kernel.org/show_bug.cgi?id=89211
https://bugzilla.kernel.org/show_bug.cgi?id=106151
https://bugzilla.kernel.org/show_bug.cgi?id=106941
Link 2: https://bugzilla.novell.com/show_bug.cgi?id=326814
Signed-off-by
m
EC")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=119261
Reported-and-tested-by: Gabriele Mazzotta <m...@gmail.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
Index: linux-acpica/drivers/acpi/ec.c
===
be making
button.lid_init_state=ignore the default behavior. This patch implements
the 2 options and keep the old behavior (button.lid_init_state=method).
Link 1: https://lkml.org/2016/3/7/460
Link 2: https://github.com/systemd/systemd/issues/2087
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Cc: Bast
: send initial lid state after add and resume
Link 1: https://bugzilla.kernel.org/show_bug.cgi?id=89211
https://bugzilla.kernel.org/show_bug.cgi?id=106151
https://bugzilla.kernel.org/show_bug.cgi?id=106941
Link 2: https://bugzilla.novell.com/show_bug.cgi?id=326814
Signed-off-by
(Correct a wrong macro usage.)
This patch simplies the code by merging the redundant code. No functional
changes.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/button.c | 91 ++---
1 file changed, 49 insertions(+), 42 del
Failure handling of the boot EC code is not tidy. This patch cleans
them up with acpi_ec_alloc().
This patch also changes acpi_ec_dsdt_probe(), always switches the boot EC
from the ECDT one to the DSDT one in this function.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acp
quirk. In this table, EC._REG flags a named object whose default
value is One, thus BAT1._STA surely should invoke EC accesses whatever we
invoke EC._REG or not. We have to keep the quirk for it before we can root
cause the issue.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi
This patchset adds a new mechanism that can be used to mask/unmask GPEs.
Lv Zheng (3):
ACPICA: Events: Introduce acpi_mask_gpe()/acpi_unmask_gpe() to
implement GPE masking mechanism
ACPI / sys: Update /sys/firmware/acpi/interrupts/gpexx using new GPE
masking mechanism
ACPI / sysfs
()/acpi_unmask_gpe() are provided to the
OSPMs to mask/unmask GPEs in the above mentioned situation instead of
acpi_enable_gpe()/acpi_disable_gpe(). ACPICA BZ 1102. Lv Zheng.
Link: https://bugs.acpica.org/show_bug.cgi?id=1102
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acev
re register's EN/STS bits are flagged, and new "masked/unmasked"
attribute to indicate the status of the masking mechanism.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/sleep.c |2 +-
drivers/acpi/sysfs.c | 33 +
2 files ch
/linux/+bug/887793
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
Documentation/kernel-parameters.txt | 10 +++
drivers/acpi/internal.h |1 +
drivers/acpi/scan.c |1 +
drivers/acpi/sysfs.c| 56 +++
4
the table and execute the module level AML opcodes instantly.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/bus.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 262ca31..4582db3 100644
--- a/driver
invoking MLC. However the unlocking is done to the acpi_ns_load_table(), in
which, the interpreter lock should be locked by acpi_ns_parse_table() but
wasn't. Reported by Mika Westerberg. Fixed by Lv Zheng.
Fixes: 2785ce8d0da1 ("ACPICA: Add per-table execution of module-level code"
patch also prepares
a global option to be used to roll back to the old grammar during the
period between a regression is reported and the regression is
root-cause-fixed. ACPICA BZ 963, fixed by Lv Zheng.
Link 1: https://bugzilla.kernel.org/show_bug.cgi?id=112911
Link 2: https://bugs.acpica.org/show_b
ammar
switch released from the Linux upstream. It's safe to do so because we have
implemented regression protection (acpi_gbl_parse_table_as_term_list) in
the fixes. The earlier the fix is tested by more real users, the better
quality can be achieved by knowing the unknown cases (if any).
Lv Zheng (5):
ACPICA: Namespace: F
Operation regions created by MLC were not tracked by
acpi_check_address_range(), this patch fixes this issue. ACPICA BZ 1279. Fixed
by Lv Zheng.
Link: https://bugs.acpica.org/show_bug.cgi?id=1279
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/dsopcode.c |6 +++
. Please report
the regressions to the kernel bugzilla for further root causing.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
include/acpi/acpixf.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 22b0397..e
Currently _PTS/_WAK are invoked during noirq stages, while in _PTS/_WAK,
there can be EC transactions. Though the EC driver is able to handle
transactions using polling mode, for the performance reason, it is better
to move _PTS/_WAK out of the noirq stage.
Lv Zheng (3):
PM: Rename prepare_late
Rename the names of the PM callbacks, making them consistent with their
caller names. Particularly:
.prepare_late -> .prepare_noirq
.wake -> .finish_noirq
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
arch/powerpc/platforms/pseries/suspend.c |6 +++---
drivers/
_PTS/_WAK may contain EC transactions, it is better to have them handled
with IRQ enabled. This patch moves the 2 suspend PM ops from noirq stage
to late/early stage.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/sleep.c |5 +++--
1 file changed, 3 insertions(+), 2 del
This patch adds prepare_late/finish_early callbacks for suspend_ops.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
include/linux/suspend.h | 34 +++---
kernel/power/suspend.c | 10 --
2 files changed, 35 insertions(+), 9 deletions(-)
diff
This patch cleans up initrd table override code, merging redundant logics
and re-ordering code blocks. No functional changes.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/osl.c | 114
1 file changed, 52 insertions(
.
Since acpi_ec_start()/acpi_ec_stop() will be entered multiple times after
applying this change, it is also required to protect acpi_enable_gpe()/
acpi_disable_gpe() invocations.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/ec.c
bug.cgi?id=11880
Link 3: https://bugzilla.kernel.org/show_bug.cgi?id=11884
https://bugzilla.kernel.org/show_bug.cgi?id=14081
https://bugzilla.kernel.org/show_bug.cgi?id=14086
https://bugzilla.kernel.org/show_bug.cgi?id=14446
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
nd GPEs/EC events are correctly handled.
PATCH 01-02: The initrd installation testing facility.
PATCH 03-07: Entropy reduction stuff in ACPICA.
PATCH 08-10: Entropy reduction stuff in EC driver and ACPI subsystem's
initialization order.
PATCH 12:The first step enabling.
PATCH
the regressions to the
kernel bugzilla for further root causing.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
include/acpi/acpixf.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 19c98a3..fd07392 100644
--- a/includ
important the root cause why
ACPICA table loading is split into 2 load passes. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acevents.h |2 --
drivers/acpi/acpica/evregion.c | 71 ++--
drivers/acpi/acpica/evrgnini.c
the table and execute the module level AML opcodes instantly.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/bus.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 8752860..0d6bb22 100644
--- a/driver
ACPICA commit 4be3b82cf45d324366ea8567102d5108c5ef47cb
The global variable actually means the availability of the namespace, and
control methods evaluations should happen after namespace readiness. Thus
this patch renames the global variable to reflect this logic. Lv Zheng.
Link: https
when all
necessary corrections are upstreamed.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/bus.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/drivers/
objects created by
loading the table should only be freed after the table is unloaded.
So this patch follows the spec and the de-facto standard behavior, enables
TermList evaluations when the table is loaded. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acna
This experiment moves module level If/Else/While executions to per-table
basis.
If regressions are found against the enabling of this improvement, this
patch is the only one should get bisected. Please report the regressions
to the kernel bugzilla for further root causing.
Signed-off-by: Lv
.
Before revealing Windows true behavior by more validations, this patch only
ensures \_SB._INI evaluated before any _REG control methods. This can help
to make progress to other initialization order fixes. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/8ae25b8d
Link: https://github.com/acpica
ed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/internal.h |1 +
drivers/acpi/osl.c | 50 ++-
drivers/acpi/tables.c |2 ++
3 files changed, 52 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/internal.h b/drivers/acp
acpi_install_address_space_handler() return value to determine if
acpi_remove_address_space_handler() should be invoked before installing new
address space handler. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/016b2a09
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/tbxfload.c
this in a deferred
way.
Control method evaluation should happen after loading the tables. So this
patch changes the order of _REG evaluation when
acpi_gbl_group_module_level_code experiment is enabled. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/77e0c7a4
Signed-off-by: Lv Zheng <lv
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit e9622aa824e00997dc92e8638733b7553a4dba26
Was defined as stroul64 in some places.
Link: https://github.com/acpica/acpica/commit/e9622aa8
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.
ed-off-by: waddlesplash <waddlespl...@gmail.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/aclocal.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpica/aclocal
intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acpredef.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h
index 52f6bee..5faeab4 100644
--- a/drivers/acpi/acpica/acpred
robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/utnonansi.c | 244 +--
1 file changed, 206 insertions(+), 38 deletions(-)
diff --git a/drivers/acpi/acpica/utnonansi.c b/drivers/acpi/acpica/utnonansi.c
index d1f4a
dbconvert: free pld_info on error return path
David E. Box (1):
ACPICA: ACPI 6.0/iASL: Add support for the External AML opcode
Lv Zheng (4):
ACPICA: Tables: make default region accessible during the table load
ACPICA: ACPICA: Tune _REG evaluations order in the initialization
steps
to reflect this logic. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/4be3b82c
Link: https://github.com/acpica/acpica/commit/19f84c24
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
---
drivers/acpi/acpica/acglobal.h |2 +-
intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/acpredef.h |9 +
drivers/acpi/acpica/utdecode.c | 30 +-
include/acpi/actbl.h |2 +-
include/acpi/actbl1.h | 29 ++---
incl
ithub.com/acpica/acpica/commit/882892fe
Signed-off-by: David E. Box <david.e@linux.intel.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/exoparg3.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
acpi_install_address_space_handler() return value to determine if
acpi_remove_address_space_handler() should be invoked before installing new
address space handler. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/016b2a09
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Signed-off-by: Bob Moore <robert.mo...@
validations, this patch only
ensures \_SB._INI evaluated before any _REG control methods. This can help
to make progress to other initialization order fixes. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/8ae25b8d
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Signed-off-by: Bob Moore <
ACPICA BZ 872.
Link: https://github.com/acpica/acpica/commit/181f5660
Link: https://bugs.acpica.org/show_bug.cgi?id=872
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/dbcmds.c|2 +-
drivers/acpi/acpica/
acpica/acpica/commit/23e64467
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/dbconvert.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
d
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit 0824ab90e03c2e4239e890615f447e7962b1daa2
Was not using the correct macro. Updated a comment in
acoutput.h
Link: https://github.com/acpica/acpica/commit/0824ab90
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-
From: Bob Moore <robert.mo...@intel.com>
ACPICA commit 6b06645ea778cc054f48b03dd1842260a1606532
Version 20160212
Link: https://github.com/acpica/acpica/commit/6b06645e
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
inc
pports it.
Link: https://github.com/acpica/acpica/commit/eade8f78
Signed-off-by: Bob Moore <robert.mo...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/psargs.c |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/acpi
this in a deferred
way.
Control method evaluation should happen after loading the tables. So this
patch changes the order of _REG evaluation when
acpi_gbl_group_module_level_code experiment is enabled. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/77e0c7a4
Signed-off-by: Lv Zheng <lv
es useless
acpi_gbl_group_module_level_code check accordingly. Reported by Chris
Bainbridge, Fixed by Lv Zheng.
Reported-and-tested-by: Chris Bainbridge <chris.bainbri...@gmail.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
drivers/acpi/acpica/nsinit.c |2 ++
drivers/acpi/ac
() -> renamed to early_acpi_table_init(), which
invokes acpi_table_initrd_init()
2. acpi_os_physical_table_override() -> which invokes
acpi_table_initrd_override()
3. acpi_initialize_initrd_tables() -> renamed to acpi_table_initrd_scan()
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
, early_initrd_acpi_init() is
still a stub because of the stub prepared for early_acpi_table_init().
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
arch/x86/kernel/setup.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
Purdila <octavian.purd...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
Documentation/acpi/initrd_table_override.txt | 65 +++---
drivers/acpi/Kconfig |8 ++--
drivers/acpi/tables.c
This patch introduces a table upgrade mechanism based on the existing
initrd table override mechanism.
Lv Zheng (3):
ACPI / tables: Move table override mechanisms to tables.c
ACPI / x86: Cleanup initrd related code
ACPI / tables: Convert the initrd table override mechanisms to the
table
Purdila <octavian.purd...@intel.com>
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
Documentation/acpi/initrd_table_override.txt | 65 +++---
drivers/acpi/Kconfig |8 ++--
drivers/acpi/tables.c| 48 ++
() -> renamed to early_acpi_table_init(), which
invokes acpi_table_initrd_init()
2. acpi_os_physical_table_override() -> which invokes
acpi_table_initrd_override()
3. acpi_initialize_initrd_tables() -> renamed to acpi_table_initrd_scan()
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
This patch introduces a table upgrade mechanism based on the existing
initrd table override mechanism.
Updated due to a build error reported against early_acpi_table_init()
stub.
Lv Zheng (3):
ACPI / tables: Move table override mechanisms to tables.c
ACPI / x86: Cleanup initrd related code
, early_initrd_acpi_init() is
still a stub because of the stub prepared for early_acpi_table_init().
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
---
arch/x86/kernel/setup.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
it later when all
necessary corrections are upstreamed.
Link 4: https://bugzilla.kernel.org/show_bug.cgi?id=112911
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Tested-by: Chris Bainbridge <chris.bainbri...@gmail.com>
---
drivers/acpi/bus.c | 39 +--
1
gi?id=112911
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Tested-by: Chris Bainbridge <chris.bainbri...@gmail.com>
---
drivers/acpi/ec.c | 145 -
1 file changed, 54 insertions(+), 91 deletions(-)
diff --git a/drivers/acpi/ec.c b/drive
.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=112911
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Tested-by: Chris Bainbridge <chris.bainbri...@gmail.com>
---
include/acpi/acpixf.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/acpixf.h b/
.
Since acpi_ec_start()/acpi_ec_stop() will be entered multiple times after
applying this change, it is also required to protect acpi_enable_gpe()/
acpi_disable_gpe() invocations.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=112911
Signed-off-by: Lv Zheng <lv.zh...@intel.com>
Tested-by:
to the evaluation of _REG/_GPE/_CRS
and namespace walk before executing the module level AML opcodes. And the
fixes in fact finally disable early EC usages (used during table loading
and early device enumeration processes).
Lv Zheng (4):
ACPI 2.0 / ECDT: Split EC_FLAGS_HANDLERS_INSTALLED
ACPI 2.0 / ECDT
601 - 700 of 2002 matches
Mail list logo