.
If Linux EC driver started to detect events during early OS S3-exit, it
need to timely poll EC events during noirq stages as in this stage there is
no EC event triggering source.
This patchset implements earlier EC event handling for Linux.
Lv Zheng (3):
ACPI / EC: Fix possible driver order
event handling is enabled and the noirq stage is ended.
Known issue:
1. Event ocurred between acpi_ec_unblock_transactions() and
acpi_ec_resume() may still lead to the order issue. This can only be
fixed by adding a periodic detection mechanism during the noirq stage.
Signed-off-by: Lv Zheng
dropped, and the
events occurred in early S3-exit could be deferred to acpi_ec_resume().
This patch solves event losses in S3-entry and resume order in S3-exit by
timely polling EC events during these periods.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129 [#1]
Signed-off-by: Lv Zheng
handle special BIOS
requirements.
If this commit is bisected to be a regression culprit, please report this
to bugzilla.kernel.org for further investigation.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 2 +-
1
d,resume,bind.
Fixes: c2b46d679b30 (ACPI / EC: Add PM operations to improve event handling for
resume process)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196847
Reported-by: Luya Tshimbalanga
Tested-by: Luya Tshimbalanga
Cc: 4.9+ # 4.9+
Signed-off-by: Lv Zheng
--
irk)
Fixes: 9c40f956ce9b (Revert "ACPI / EC: Enable event freeze mode..." to fix a
regression)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196833
Signed-off-by: Lv Zheng
Reported-by: Alistair Hamilton
Tested-by: Alistair Hamilton
Cc: 4.11+ # 4.11+
---
drivers/acpi/ec.c | 12 +++-
uning acpi.ec_freeze_events=Y. Note that PATCH 02
depends on PATCH 01 to be safe for driver unbind.
Lv Zheng (2):
ACPI / EC: Fix a regression related to the triggering source of the EC
event handling
ACPI / EC: Fix a regression related to the PM ops support of ECDT
device
drivers/acpi
PI EC loads:
sudo tools/power/acpi/acpimt.sh \
-t 10 \
-d tools/power/acpi/acpidbg \
-f /proc/acpi/button/lid/LID0/state \
-f /sys/class/power_supply/AC0/online \
-f /sys/class/power_supply/BAT0/status
Signed-off-by: Lv Zheng
---
tools/power/acpi/acpimt.sh
ttps://bugzilla.kernel.org/show_bug.cgi?id=196129 [#1]
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 93 +++--
drivers/acpi/internal.h | 1 +
2 files changed, 92 insertions(+), 2 deletions(-)
diff --git a/drivers/
handle special BIOS
requirements.
If this commit is bisected to be a regression culprit, please report this
to bugzilla.kernel.org for further investigation.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 2 +-
1
acpi_ec_unblock_transactions() and
acpi_ec_resume() may still lead to the order issue. This can only be
fixed by adding a periodic detection mechanism during the noirq stage.
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 23 +++
1 file changed, 19 insertions(+), 4
handling may stuck.
This patchset fixes these issues.
v4 of this patch series re-orders the fixes so that the fix of the problem
2 could be independent against the fix of the problem 1, this is done by
refining the fix of the problem 2, making it immune to the problem 3.
Lv Zheng (3):
ACPI / EC: Fix
regression culprit, please report this
to bugzilla.kernel.org for further investigation.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi
e problem 1 and problem 2.
This patch has been validated to be able to improve situation related to
the reported bug (see Link #1) which requires to handle EC GPEs longer
during suspend.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129 [#1]
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ive
EC events earlier
during resume, and have great opportunities to fix some driver order
issues caused by the deferred detected EC events.
v3 of this patch series only contains patch description updates.
Lv Zheng (4):
ACPI / EC: Cleanup EC GPE mask flag
ACPI / EC: Add IRQ polling support for
Now as GPE poller is implemented, EC driver is able to detect EC events
during suspend/resume noirq stages, we can try to move EC event handling
earlier without being worried about post-resume event stuck. This may help
to solve driver order issues during resume.
Signed-off-by: Lv Zheng
Tested
EC_FLAGS_COMMAND_STORM is actually used to mask GPE during IRQ processing.
This patch cleans it up using more readable flag/function names.
Signed-off-by: Lv Zheng
Tested-by: Tomislav Ivek
---
drivers/acpi/ec.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions
a's report and Rafael's original Linux based fix. Based on Linux
commit originated from Rafael J. Wysocki, fixed by Lv Zheng, tested by Mika
Westerberg.
Original-by: Rafael J. Wysocki
Signed-off-by: Lv Zheng
Tested-by: Mika Westerberg
---
drivers/acpi/acpica/evxfgpe.c | 22 ++
it is enabled.
This patchset fixes these 2 problems.
Lv Zheng (2):
ACPICA: Events: Stop unconditionally clearing ACPI IRQs during
suspend/resume
ACPICA: Events: Dispatch GPEs after enabling for the first time
drivers/acpi/acpica/evgpe.c | 7 ---
drivers/acpi/acpica/evxfgpe.c
as
no-ops. Please report any regression related to this commit to the ACPI
component on kernel bugzilla. Reported by Eric Bakula-Davis, fixed by Lv
Zheng.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196249
Signed-off-by: Lv Zheng
Reported-and-tested-by: Eric Bakula-Davis
Tested-by: Mika
regression culprit, please report this
to bugzilla.kernel.org for further investigation.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 5f951ba..f5d629b 100644
--- a/drivers/acpi/ec.c
+++ b
Now as GPE poller is implemented, EC driver is able to detect EC events
during suspend/resume noirq stages, we can try to move EC event handling
earlier without being worried about post-resume event stuck.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 4 +++-
1 file changed, 3 insertions
ost of the platforms may not require this, this patch prepares an
option to make this behavior configurable.
Note that this solution can also solve problem 2.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196129 [#1]
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 130 ++
EC_FLAGS_COMMAND_STORM is actually used to mask GPE during IRQ processing.
This patch cleans it up using more readable flag/function names.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/drivers/acpi
noirq stage to poll EC GPEs. In this newest timer version,
timer running period is shortened and thus is safer for s2idle mode.
After adding such a mechanism, we can try to handle EC events earlier after
resume, this may be able to solve some driver order issues.
Lv Zheng (4):
ACPI / EC: Cleanup EC
regression culprit, please report this
to bugzilla.kernel.org for further investigation.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 47f900c..12e0c8a 100644
--- a/drivers/acpi/ec.c
+++ b
EC_FLAGS_COMMAND_STORM is actually used to mask GPE during IRQ processing.
This patch cleans it up using more readable flag/function names.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/drivers/acpi
how_bug.cgi?id=196129 [#1]
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 135
drivers/acpi/internal.h | 1 +
2 files changed, 136 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 54879c7..47f900c 100644
--- a/driver
Tested-by: Damjan Georgievski
Signed-off-by: Lv Zheng
Cc: Stable # 4.9+
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 05e4eb5..ddb01e9 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -147,7 +147,7
P.
Signed-off-by: Lv Zheng
Cc: Stable # all applicable
---
drivers/acpi/ec.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 854d428..05e4eb5 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1870,24 +1870,6 @@
dynamic creation/destruction of the input node.
Signed-off-by: Benjamin Tissoires
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 86 +++
1 file changed, 53 insertions(+), 33 deletions(-)
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
tate=ignore ABI change solution is now too
complicated if its purpose is to only solve this final incompliant use
case. This patch re-works it by unconditionally prepending "open"
complement events.
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers
left to userspace to handle with a
hwdb file and a udev rule.
Reworked by Lv to make this solution optional, code based on top of old
"ignore" mode and make lid_reliable configurable to all lid devices to
eliminate the difficulties of synchronously handling global lid_device.
S
way, this patch prepares an option for users to enable on
failure platforms for old userspace programs.
Users can configure update interval via button.lid_update_interval.
This should be configured to a smaller value than HoldoffTimeoutSec in
/etc/systemd/logind.conf.
Cc:
Cc: Benjamin Tissoires
hus systemd still considers the last state as "close" and
suspends the platform after the HoldoffTimeoutSec times out.
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 36 ++--
1 file changed, 34 inser
only adds complement open events.
3.2. lid_unreliable=1: dymamically adds/removes input node.
Benjamin Tissoires (2):
ACPI: button: extract input creation/destruction helpers
ACPI: button: Add an optional workaround to fix a persistent close
issue for old userspace
Lv Zheng (3):
ACP
g.cgi?id=195651 [#3]
Tested-by: Daniel Drake
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index c1f480b..44b973e 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1667,12 +
y: Lv Zheng
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 49 +++--
1 file changed, 43 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 44b973e..2189048 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -
From: Carlo Caione
ASUS GL720VMK is also affected by the EC GPE preference issue.
Signed-off-by: Carlo Caione
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2189048..ab04f0c
l.org/show_bug.cgi?id=195651
Tested-by: Daniel Drake
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index c24235d..c1f480b 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1362,6 +1362,8 @@ ec_parse_d
ACPI / EC: Fix media keys not working problem on some Asus laptops
Lv Zheng (2):
ACPI / EC: Enhance boot EC sanity check
ACPI / EC: Add support to skip boot stage DSDT probe
drivers/acpi/ec.c | 77 ++-
1 file changed, 71 insertions(+), 6
s affects bugzilla triage work.
This patch fixes this issue by enabling acpi_ec_cmd_string() for
CONFIG_DYNAMIC_DEBUG.
Tested-by: Wang Wendy
Tested-by: Feng Chenzhou
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/
d-off-by: Lv Zheng
---
drivers/acpi/ec.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index f3ff591..de5dde6 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -151,6 +151,10 @@ static bool ec_freeze_e
ink: https://jira01.devtools.intel.com/browse/LCK-4004 [#1]
Tested-by: Wang Wendy
Tested-by: Feng Chenzhou
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index c24235d..30d7f82 10
nously updating lid state. Thus
this patch doesn't kill the timer after seeing the BIOS notification, but
continously sending _LID return value to the input layer for
button.lid_init_state=method mode.
The users can configure update interval via button.lid_update_interval.
Cc:
Cc: Benjamin Ti
Since
such platform only sends "close", old complicated "open" complement event
mechanism is replaced by a simpler one of always prepending "open" before
any events.
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-
change again is unnecessary for such platforms, so this patch
simply converts "lid_unreliable" into
"button.lid_init_state=ignore".
This material is just sent to demonstrate solutions and issues, the
final solution is not determined yet. So marking them a
nce message. Lv Zheng.
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c | 36 +++-
include/acpi/actbl.h | 13 +
2 files changed, 40 insertions(+), 9 deletions(-)
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.
Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
Index: linux-acpica/drivers/acpi/button.c
===
--- linux-acpica.orig/drivers/acpi/button.c
+++ linux
sing new indication: generating complement switch event for BIOS notified
"close". So that when button driver is reverted back to "method" mode, it
won't act worse than "ignore" mode on fixed systemd.
Tested with systemd 233, all modes worked fine (no suspend/res
to raw notifier in order not to
have events lost.
Cc: Peter Hutterer
Cc: Benjamin Tissoires
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 53 ---
1 file changed, 29 insertions(+), 24 deletions(-)
diff --git a/drivers/acpi/button.c b
This patch adds very useful debugging information to lid events.
These messages and with ec_log_drv() can be used to demonstrate the order
between acpi_ec_resume() and acpi_button_resume().
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 5
This patch adds a parameter to acpi_lid_notify_state() so that it can act
differently against BIOS notification and kernel faked events.
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 14 --
1 file changed, 8 insertions(+), 6
This patch adds a parameter to acpi_lid_notify_state() so that it can act
differently against BIOS notification and kernel faked events.
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 14 --
1 file changed, 8 insertions(+), 6
sing new indication: generating complement switch event for BIOS notified
"close". So that when button driver is reverted back to "method" mode, it
won't act worse than "ignore" mode on fixed systemd.
Tested with systemd 233, all mode
to raw notifier in order not to
have events lost.
Cc: Peter Hutterer
Cc: Benjamin Tissoires
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 53 ---
1 file changed, 29 insertions(+), 24 deletions(-)
diff --git a/drivers/acpi/button.c b
.
This is a no-op cleanup, but facilitates administrators to configure to
notify kernel drivers with faked lid init states via command line
"button.lid_notify_init_state=Y".
Cc:
Cc:
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c
This patch adds very useful debugging information to lid events.
These messages and with ec_log_drv() can be used to demonstrate the order
between acpi_ec_resume() and acpi_button_resume().
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Signed-off-by: Lv Zheng
---
drivers/acpi/button.c | 5
l.org/show_bug.cgi?id=195651
Tested-by: Daniel Drake
Signed-off-by: Chris Chiu
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 50 --
1 file changed, 44 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index e2
avior less effective.
Link: http://bugzilla.kernel.org/show_bug.cgi?id=11880 [#1]
Link: http://bugzilla.kernel.org/show_bug.cgi?id=119261 [#2]
Link: http://bugzilla.kernel.org/show_bug.cgi?id=195651 [#3]
Tested-by: Daniel Drake
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 8
1 file c
a keys not working problem on some Asus laptops
Lv Zheng (2):
ACPI / EC: Enhance boot EC sanity check
ACPI / EC: Add support to skip boot stage DSDT probe
drivers/acpi/ec.c | 66 ++-
1 file changed, 60 insertions(+), 6 deletions(-)
--
2.7.4
bing wrong
namespace ECs.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=195651
Tested-by: Daniel Drake
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index c24235d..a920db6 100644
--- a/drivers/acpi/
er be incremented/decremented to invalidate the
table descriptor (means preventing table unmappings) so that acpi_put_table()
balance changes can be done independently to each others. Lv Zheng.
Cc: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c
table ->validation_count is
decremented after each read.
Reported-by: Anush Seetharaman
Signed-off-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/sysfs.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index 1b5e
acpidump execution, potentially causing problem on server
platforms. With the new APIs, it is possible to release such useless table
mappings.
Signed-off-by: Lv Zheng
---
drivers/acpi/sysfs.c | 41 +++--
1 file changed, 31 insertions(+), 10 deletions(-)
diff
by Lv Zheng.
Fixes: 174cc7187e6f ("ACPICA: Tables: Back port acpi_get_table_with_size() and
early_acpi_os_unmap_memory() from Linux kernel")
Cc:
Reported-by: Anush Seetharaman
Reported-by: Dan Williams
Cc: Anush Seetharaman
Cc: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/a
acpidump execution, potentially causing problem on server
platforms. With the new APIs, it is possible to release such useless table
mappings.
Signed-off-by: Lv Zheng
---
drivers/acpi/sysfs.c | 41 +++--
1 file changed, 31 insertions(+), 10 deletions(-)
diff
by Lv Zheng.
Fixes: 174cc7187e6f ("ACPICA: Tables: Back port acpi_get_table_with_size() and
early_acpi_os_unmap_memory() from Linux kernel")
Cc: Anush Seetharaman
Cc: Dan Williams
Reported-by: Anush Seetharaman
Reported-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpic
to each others.
Cc: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c
index 7abe665..b517bd0 100644
--- a/drivers/acpi/acpica
table ->validation_count is
decremented after each read.
Reported-by: Anush Seetharaman
Signed-off-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/sysfs.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index 1b5e
by Lv Zheng.
Fixes: 174cc7187e6f ("ACPICA: Tables: Back port acpi_get_table_with_size() and
early_acpi_os_unmap_memory() from Linux kernel")
Cc: Dan Williams
Reported-by: Anush Seetharaman
Reported-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c | 4
1
original sysfs dumpable ACPI table implementation forces tables to be
mapped after a read operation and never unmaps them again whatever there
are no users in the kernel interested in these tables. With new balanced
table handling APIs, tables are unmapped after the read operation.
Signed-off-by: Lv
orted by Dan Williams, fixed by Lv Zheng.
Fixes: 174cc7187e6f ("ACPICA: Tables: Back port acpi_get_table_with_size() and
early_acpi_os_unmap_memory() from Linux kernel")
Reported-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c | 4 +++-
1 file changed, 3 i
moves the fatal error but leaves the error report to
indicate the leak so that developers can notice the required engineering
change. Reported by Dan Williams, fixed by Lv Zheng.
Reported-by: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/tbutils.c | 1 -
1 file changed, 1 del
Tested-by: Stepan M Mishura
Signed-off-by: Lv Zheng
---
include/acpi/platform/acenv.h | 2 +-
include/acpi/platform/acintel.h | 87 +
2 files changed, 88 insertions(+), 1 deletion(-)
create mode 100644 include/acpi/platform/acintel.h
diff --git a/in
From: Bob Moore
ACPICA commit 711a8c19d3c646fdc069c38912d9037c7fa5e718
Version 20170119.
Link: https://github.com/acpica/acpica/commit/711a8c19
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
include/acpi/acpixf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
ica/acpica/commit/43e04e75
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/acapps.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/acpi/acpica/acapps.h b/drivers/acpi/acpica/acapps.h
index c32bbe4..b65f273 100644
--- a/drivers/acpi/acpic
From: Bob Moore
ACPICA commit 16577e5265923f4999b4d2c0addb2343b18135e1
Affects all files.
Link: https://github.com/acpica/acpica/commit/16577e52
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/acapps.h | 4 ++--
drivers/acpi/acpica
0119 Release):
369 lines
Bob Moore (3):
ACPICA: Source tree: Update copyright notices to 2017
ACPICA: Tools: Update common signon, remove compilation bit width
ACPICA: Update version to 20170119
Lv Zheng (1):
ACPICA: Linuxize: Restore and fix intel compiler build
drivers/acpi/acpica/acapps.h
acpi_os_map_generic_address(). So before it is invoked, there is no need to
invoke synchronize_rcu_expedited().
Suggested-by: Huang Ying
Signed-off-by: Lv Zheng
Cc: Huang Ying
Cc: Borislav Petkov
---
drivers/acpi/osl.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a
CLEAR_ON_RESUME quirk to let the users
to try the newer approach.
More statements can be found at Link #1.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=191211 [#1]
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 53 -
1 file changed,
requested by ACPICA to use expected OSL
names. Suggested by Bob Moore, Fixed by Lv Zheng.
Linux is not affected by this patch.
Link: https://github.com/acpica/acpica/commit/e76eb8b3
Signed-off-by: Lv Zheng
Signed-off-by: Bob Moore
---
drivers/acpi/acpica/dbxface.c | 4 ++--
include/acpi/acpiosxf.h
(W1C, W0C);
2. Normally a mask value will be provided for region format GAS.
So actually the callers are the only ones having the knowledge of masking
the register values. Suggested by Bob Moore, Fixed by Lv Zheng.
Link: https://github.com/acpica/acpica/commit/bc7c5291
Signed-off-by: Lv Zheng
Signed
From: Colin Ian King
ACPICA commit ecac9504e32d3b501c8cb021afb253b4a83fc82f
Adds s390x as a 64-bit architecture.
Link: https://github.com/acpica/acpica/commit/ecac9504
Signed-off-by: Colin Ian King
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
include/acpi/platform/aclinux.h | 3
From: Bob Moore
ACPICA commit efc97d1d209947d6990ec81a192c6b2589d3e368
Link: https://github.com/acpica/acpica/commit/efc97d1
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/acmacros.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a
ACPICA commit 365b321a31cb701957c055cae2d2161577147252
GAS can be in register or register region format, so we need to improve our
"register" format detection code in order not to regress.
Such detection may be still experimental, and is generated according to the
current known facts
.
This support may not be performance friendly, so the APIs might be
overridden by the hosts implementations with ACPI_USE_NATIVE_BIT_FINDER
defined. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/cbb02946
Signed-off-by: Lv Zheng
Signed-off-by: Bob Moore
---
drivers/acpi/acpica/acmacros.h
://github.com/acpica/acpica/commit/b7dae343
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/psargs.c | 25 -
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c
index 4e1065e
/fa068003
Signed-off-by: Lv Zheng
Signed-off-by: Bob Moore
---
include/acpi/platform/acenv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index 34cce72..cf93b66 100644
--- a/include/acpi/platform/acenv.h
+++ b
OSL to reduce the divergences. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/ba665dc8
Signed-off-by: Lv Zheng
Signed-off-by: Bob Moore
---
drivers/acpi/acpica/hwesleep.c | 35 ++
drivers/acpi/acpica/hwsleep.c | 11
for s390x compilation.
David E. Box (1):
ACPICA: Disassembler: Add Switch/Case disassembly support
Lv Zheng (8):
ACPICA: Debugger: Rename debugger OSL names
ACPICA: Hardware: Remove bit_offset masking support
ACPICA: Hardware: Add access_width/bit_offset support in
acpi_hw_write()
ACPI
ACPICA commit 1ecab20bbe69a176dfb6da7210fe77aa6b3ad680
This patch adds access_width/bit_offset support in acpi_hw_write().
Lv Zheng.
Link: https://github.com/acpica/acpica/commit/1ecab20b
Signed-off-by: Lv Zheng
Signed-off-by: Bob Moore
---
drivers/acpi/acpica/hwregs.c | 62
: Lv Zheng
---
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 f5e10dd..12f4266 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -46,7 +46,7 @@
/* Current ACPICA subsystem version in
://github.com/acpica/acpica/commit/a6cca7a4
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/psargs.c | 86 --
drivers/acpi/acpica/psloop.c | 4 ++
drivers/acpi/acpica/psobject.c | 10 -
drivers/acpi/acpica/pstree.c | 10
From: Bob Moore
ACPICA commit b90e39948954ff400cff1a3f8effddb67f15460b
Operand for deref_of should not have been a term_arg, should be super_name.
Rename NAME_OR_REF to SIMPLENAME.
Link: https://github.com/acpica/acpica/commit/b90e3994
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
resource descriptor.
Link: https://github.com/acpica/acpica/commit/9f76de2d
Link: https://github.com/acpica/acpica/commit/b2e89d72
Link: https://github.com/acpica/acpica/commit/23b5bbe6
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/utresrc.c | 17 -
1 file
From: Bob Moore
ACPICA commit 082b5b3ee31f74735e166858eeda025288604a5a
Enhancement of miscellaneous debug output.
Link: https://github.com/acpica/acpica/commit/082b5b3e
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/utdecode.c | 4 ++--
drivers/acpi/acpica
ACPICA commit 3fcc59f4755607dd066ac8ef869f0aa95e871b84
This patch adds a demo EFI application for stdin/stdout testing. This
utility can be used to narrow down root causes of porting issues. Lv Zheng.
Linux is not affected by this patch.
Link: https://github.com/acpica/acpica/commit/3fcc59f4
nal
Switch statement.
Linux kernel is not affected by this patch.
Link: https://github.com/acpica/acpica/commit/0f6cc80e
Signed-off-by: David E. Box
Signed-off-by: Bob Moore
Signed-off-by: Lv Zheng
---
drivers/acpi/acpica/aclocal.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
di
The returned size is still used by the drivers.
Reported-by: Dan Williams
Cc: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/osl.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 5bef0f65..adf1ec4 100644
--- a
1 - 100 of 1001 matches
Mail list logo