...@alsa-project.org
Cc: ibm-acpi-de...@lists.sourceforge.net
Cc: platform-driver-...@vger.kernel.org
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
sound/pci/hda/patch_conexant.c |2 +-
sound/pci/hda/patch_realtek.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Bob Moore robert.mo...@intel.com
It is already casted to acpi_size by ACPI_PTR_DIFF() macro.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/actypes.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include
for FADT changes.
Lv Zheng (1):
ACPICA: Utilities: Fix local printf issue.
Sascha Wildner (1):
ACPICA: Remove some extraneous printf arguments.
Tomasz Nowicki (2):
ACPICA/ARM: ACPI 5.1: Update for MADT changes.
ACPICA/ARM: ACPI 5.1: Update for GTDT table changes.
drivers/acpi/acpica
.
Since this is a change for disassembler which is not shipped in the
Linux kernel, the Linux kernel is not affected.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/aclocal.h | 13 +++--
include/acpi/acconfig.h
From: Bob Moore robert.mo...@intel.com
Simplifies timing of things like control method execution.
[zetalog: fixing 64-bit division link error]
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/exdebug.c | 11 ++-
1 file
: io...@lists.linux-foundation.org
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/iommu/dmar.c | 28 ++--
include/acpi/actbl2.h | 14 +++---
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/utprint.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpica/utprint.c b/drivers/acpi/acpica/utprint.c
index 1031164..080e22a 100644
--- a/drivers/acpi/acpica/utprint.c
+++ b/drivers
From: Bob Moore robert.mo...@intel.com
Fix some issues detected by acpisrc utility.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/exfield.c | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff
From: Bob Moore robert.mo...@intel.com
Full support for _CCA.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/acpredef.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi
-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/actbl.h | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index 1cc7ef1..bee19d8 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -270,7 +270,8 @@ struct
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/Makefile |8 +++-
drivers/acpi/acpica/aclocal.h |5 ++
drivers/acpi/acpica/acutils.h |9
drivers/acpi/acpica/utdecode.c | 27 ---
drivers/acpi/acpica/uthex.c| 100
From: Bob Moore robert.mo...@intel.com
One new subtable.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/actbl3.h | 25 -
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/include/acpi/actbl3.h b
From: Bob Moore robert.mo...@intel.com
Version 20140724.
Signed-off-by: Bob Moore robert.mo...@intel.com
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
From: Tomasz Nowicki tomasz.nowi...@linaro.org
New fields and new subtables. Tomasz Nowicki.
tomasz.nowi...@linaro.org
Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org
Signed-off-by: Hanjun Guo hanjun@linaro.org
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng
-off-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/actbl1.h | 44 +---
1 file changed, 41 insertions(+), 3 deletions(-)
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index 9613e8e..7626bfe 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi
From: David E. Box david.e@linux.intel.com
Adds full support for _DSD. David Box.
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/acpredef.h | 13
From: Bob Moore robert.mo...@intel.com
New value for the Notify() operator.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/utdecode.c |5 +++--
include/acpi/actypes.h |3 ++-
2 files changed, 5 insertions(+), 3
://bugs.acpica.org/show_bug.cgi?id=1090
Signed-off-by: Sascha Wildner swild...@gmail.com
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/exdump.c |6 +++---
drivers/acpi/acpica/utfileio.c |3 +--
2 files changed, 4 insertions(+), 5
. BZ 1094. Reported by Yizhe Wang, fixed by
Lv Zheng.
Since acpi_ut_vprintf() is only enabled for specific OSPM now, this patch
doesn't affect Linux kernel.
Reference: https://bugs.acpica.org/show_bug.cgi?id=1094
Reported-and-tested-by: Yizhe Wang yizhe.w...@intel.com
Signed-off-by: Lv Zheng lv.zh
configuration and it is
confirmed that the ACPI devices are successfully created under
/sys/bus/acpi/devices when CONFIG_ACPI is enabled.
Lv Zheng (7):
ACPICA: Linux: Add stub support for Linux specific variables and
functions.
ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics
-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/bus.c|3 ---
include/acpi/acpixf.h | 28 +---
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index c5bc8cf..8581f5b 100644
--- a/drivers/acpi/bus.c
+++ b/drivers
This patch removes acpi/acpi.h inclusions from linux/sfi_acpi.h as
linux/acpi.h has already included it for CONFIG_ACPI=n builds.
Cc: Len Brown l...@kernel.org
Cc: sfi-de...@simplefirmware.org
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
include/linux/sfi_acpi.h |3 ---
1 file changed, 3
-by: Lv Zheng lv.zh...@intel.com
---
include/linux/acpi.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 358c01b..5320153 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -29,17 +29,17 @@
#include linux
messages are carefully split into a seperate patch other than the wrong
inclusion cleanups.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/Makefile|2 +-
include/acpi/platform/aclinux.h | 10 ++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git
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.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
arch/ia64/include/asm/acenv.h |4
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.zh...@intel.com
---
include/acpi/platform/aclinuxex.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/include/acpi/platform
The sst-haswell-dsp.c is an ACPI independent file, this patch removes
ACPI header files for it.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Cc: Liam Girdwood lgirdw...@gmail.com
Cc: Mark Brown broo...@kernel.org
Cc: alsa-de...@alsa-project.org
---
sound/soc/intel/sst-haswell-dsp.c |3 ---
1
and PATCH 2 is a useful
improvement.
Lv Zheng (2):
ACPI/EC: Add support to disallow QR_EC to be issued when SCI_EVT
isn't set.
ACPI/EC: Add support to disallow QR_EC to be issued before completing
the previous QR_EC.
drivers/acpi/ec.c | 21 ++---
1 file changed, 18
-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index a66ab65..5e1ed31 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -197,6 +197,8 @@ static bool
when SCI_EVT isn't set.
But this patch is still useful as it can help to reduce the number of
scheduled QR_EC work items.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=82611
Reported-and-tested-by: Alexander Mezin mezin.alexan...@gmail.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
. By
instrumentation, the 2-5 minutes time consumption overhead can be seen to
happen on the synchronize_rcu() invoked in the acpi_os_unmap_memory().
This patchset removes the synchronize_rcu() from the hot path to improve
the performance.
Lv Zheng (6):
ACPI/OSL: Split memory operation region
This patch merges duplicate code to cleanup ACPI memory access
implementations. No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/mem.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git
This patch cleans up system memory functions to make it easier to
understand the meaning of such functions.
No functional cleanup.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/mem.c | 38 ++
1 file
This patch adds acpi_map2virt() so that some duplicated code can be merged.
No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/mem.c | 45 -
1 file changed, 20 insertions(+), 25
a real
case can be seen on bugzilla.kernel.org complaining this, no further
improvements are done in this patch.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Reported-and-tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/mem.c | 87 ++--
1
This patch cleans up trivial branch logics in acpi_os_unmap_iomem() to
eliminate several lines. No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/mem.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff
This patch moves SystemMemory operation region implementations to a
seperate file before doing cleanups. No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Fei Yang fei.y...@intel.com
---
drivers/acpi/Makefile |2 +-
drivers/acpi/mem.c| 395
...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/nsprepkg.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c
index 68f7258..1b13b92 100644
--- a/drivers/acpi
It is reported that the Samsung EC firmware behaves differently than Acer
EC firmware. And then previous 2 commits that fix Acer issues have broken
Samsung hardware.
This patchset fixes the regressions.
Lv Zheng (2):
Revert ACPI / EC: Add support to disallow QR_EC to be issued before
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=44161
Reported-and-tested-by: Ortwin Gl¨¹ck o...@odi.ch
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index
the behaviors to make Acer
behavior only effective for Acer EC firmware so that the breakages on
Samsung EC firmware can be avoided.
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=44161
Reported-and-tested-by: Ortwin Gl¨¹ck o...@odi.ch
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers
the GPE
handler is known to be available, such check isn't needed.
So we can simply remove this duplicated check from acpi_ev_enable_gpe().
Lv Zheng.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
---
drivers/acpi/acpica/evgpe.c
enabling/disabling/clearing operations are bypassed to allow drivers to
perform them at a proper position using the GPE APIs. Lv Zheng.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Cc: Kirill A. Shutemov kir...@shutemov.name
---
arch/x86/platform/olpc/olpc-xo15-sci.c |2 +-
drivers/acpi/acpica
On some platforms, GPE is not disabled by default after ACPI hardware is
enabled. This confuses GPE drivers. This patch adds support to disable GPE
by default for GPE handler drivers.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Cc: Kirill A. Shutemov kir...@shutemov.name
---
drivers/acpi/acpica
From: Bob Moore robert.mo...@intel.com
Will be used by iASL.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/acnames.h |4
1 file changed, 4 insertions(+)
diff --git a/include/acpi/acnames.h b/include/acpi/acnames.h
index
From: Hanjun Guo hanjun@linaro.org
Update template for SRAT.
Add clock_domain to standard CPU affinity subtable.
Mostly by Hanjun Guo hanjun@linaro.org
Signed-off-by: Hanjun Guo hanjun@linaro.org
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh
The 20140828 ACPICA kernel-resident subsystem updates are linuxized based
on the pm/linux-next branch to form this patchset.
The patchset has passed the following build/boot tests.
Build tests are performed as follows:
1. i386 + default + COFNIG_ACPI=y
2. i386 + allyes + CONFIG_ACPI=y
3. i386 +
From: Bob Moore robert.mo...@intel.com
The field is actually 2 bits, not 1.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/utresrc.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica
From: Bob Moore robert.mo...@intel.com
Version 20140828.
Signed-off-by: Bob Moore robert.mo...@intel.com
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
...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/nsprepkg.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c
index 68f7258..1b13b92 100644
--- a/drivers/acpi
From: Hanjun Guo hanjun@linaro.org
Mostly by Hanjun Guo hanjun@linaro.org
Signed-off-by: Hanjun Guo hanjun@linaro.org
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
include/acpi/actbl3.h |9 +++--
1 file changed, 7 insertions
invoking the GPE handler and the internal
enabling/disabling/clearing operations are bypassed to allow drivers to
perform them at a proper position using the GPE APIs. Lv Zheng.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/acevents.h |9 -
drivers/acpi/acpica/aclocal.h
Currently a check is applied to new transactions, but QR_EC transactions
are not included. This patch merges the code path to make the check also
applying to the QR_EC transactions.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi/ec.c |9
wireless switch on/off and plugging power
cord in/out frequently during the suspending/resuming. The above dmesg
shows that the EC driver is stopped during suspending (*) and is restarted
during resuming (#) correctly.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
This patch enhances debugging with the GPE reference count messages added.
No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 7089081..5ac189b
GPE storming prevention enhancement
series. The original discussion can be found at:
http://www.spinics.net/lists/linux-acpi/msg51698.html
Lv Zheng (6):
ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag.
ACPI/EC: Enhance the checks to apply to QR_EC transactions.
ACPI/EC: Add
This patch adds reference counting for query handlers in order to eliminate
kmalloc()/kfree() usage.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Steffen Weber steffen.we...@gmail.com
Tested-by: Ortwin Glück o...@odi.ch
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
---
drivers
. This is reasonable as the GPE
disabling/enabling state should only be determined by the EC driver's state
machine which is protected by the EC spinlock.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi/ec.c | 56
://bugzilla.kernel.org/show_bug.cgi?id=77431
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi/ec.c | 194 ++-
drivers/acpi/internal.h |1 +
2 files changed, 144 insertions(+), 51 deletions(-)
diff
The 20141107 ACPICA kernel-resident subsystem updates are linuxized based
on the pm/linux-next branch to form this patchset.
The patchset has passed the following build/boot tests.
Build tests are performed as follows:
1. i386 + default + COFNIG_ACPI=y
2. i386 + allyes + CONFIG_ACPI=y
3. i386 +
is not in the Linux kernel.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/utxfinit.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/acpi/acpica/utxfinit.c b/drivers/acpi/acpica/utxfinit.c
index 13380d8..b1fd688 100644
From: Bob Moore robert.mo...@intel.com
Version 20141107.
Signed-off-by: Bob Moore robert.mo...@intel.com
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
From: Bob Moore robert.mo...@intel.com
Was stop_bits_none, corrected to stop_bits_zero.
David E. Box.
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/utresrc.c |2 +-
1
From: Bob Moore robert.mo...@intel.com
Add extra set of parens for assignments within an expression.
This patch only affects compiler support which is not in the Linux kernel.
Signed-off-by: Bob Moore robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica
-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/acglobal.h |1 +
drivers/acpi/acpica/aclocal.h |2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h
index ebf02cc..7f60582 100644
--- a/drivers/acpi/acpica
robert.mo...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/utxface.c |4 +++-
include/acpi/acbuffer.h | 14 +++---
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/acpi/acpica/utxface.c b/drivers/acpi/acpica/utxface.c
index
acpi_os_wait_events_complete() hook to achieve this. After the following
commit:
Commit: 69c841b6dd8313c9a673246cc0e2535174272cab
Author: Lv Zheng lv.zh...@intel.com
Subject: ACPICA: Update use of acpi_os_wait_events_complete interface.
The OSL acpi_os_wait_events_complete() is invoked after
this period and the
acpi_ev_valid_gpe_event() to reflect current restriction. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/8823b44f
Signed-off-by: Lv Zheng lv.zh...@intel.com
Acked-by: Rafael J. Wysocki r...@rjwysocki.net
Signed-off-by: David E. Box david.e@linux.intel.com
Signed-off
/2014/11/4/974
https://lkml.org/lkml/2014/11/18/316
https://www.spinics.net/lists/linux-acpi/msg54340.html
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 81 +++--
1 file changed, 73 insertions(+), 8 deletions
a seperate GPE enabling API.
Drivers then are encouraged to use this API when they need to switch
to/from the GPE polling mode.
Note that the acpi_set_gpe()/acpi_finish_gpe() should be first introduced to
Linux using a divergence reduction patch before sending a linuxized version
of this patch. Lv Zheng
. This driver provided lock is safe to be
held in the GPE handler by the driver.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/evxfgpe.c | 105 +
1 file changed, 105 insertions(+)
diff --git a/drivers/acpi/acpica/evxfgpe.c b/drivers/acpi
The bug fixes around GPE races have been done to the EC driver by the
previous commits. This patch increases the revision to 3 to indicate the
behavior differences between the old and the new drivers. The
copyright/authorship notices are also updated.
Signed-off-by: Lv Zheng lv.zh...@intel.com
venkat.raghav...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2540870..e000cf7 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
to prevent such issue from happening in the future, this patch
introduces ACPI_GPE_DISPATCH_TYPE() macro to be used to obtain the GPE
dispatcher types. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/7926d5ca
Signed-off-by: Lv Zheng lv.zh...@intel.com
Acked-by: Rafael J. Wysocki rafael.j.wyso
From: David E. Box david.e@linux.intel.com
ACPICA commit 8990e73ab2aa15d6a0068b860ab54feff25bee36
Link: https://github.com/acpica/acpica/commit/8990e73a
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
://github.com/acpica/acpica/commit/490ec7f7
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/hwgpe.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
-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 f81e530..96e4ef3 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -46,7 +46,7 @@
/* Current ACPICA
-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/evgpe.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c
index
ACPICA commit b2b18bb38045404e253f10787b8a4ae6e94cdee6
This patch prevents acpi_remove_gpe_handler() from leaking the stale
gpe_event_info-Dispatch.Handler to the caller to avoid possible NULL pointer
references. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/b2b18bb3
Signed-off-by: Lv
(). This makes further cleanups
around acpi_ev_gpe_dispatch() simpler. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/04f25acd
Signed-off-by: Lv Zheng lv.zh...@intel.com
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: David E. Box david.e@linux.intel.com
Signed-off
variable
ACPICA: Hardware: Cast GPE enable_mask before storing
ACPICA: Update Copyright headers to 2015.
ACPICA: Update version to 20150204.
Lv Zheng (6):
ACPICA: Events: Back port ACPICA: Save current masks of enabled GPEs
after enable register writes.
ACPICA: Events: Remove duplicated
.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/acpica/evgpeutil.c |4 ++--
drivers/acpi/acpica/evxfgpe.c |1 -
drivers/acpi/acpica/hwgpe.c |4
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpica/evgpeutil.c b/drivers/acpi/acpica
. acpi_set_gpe(): since it is invoked by the OSPM driver where the GPE
handler is known to be available, such check isn't needed.
So we can simply remove this duplicated check from acpi_ev_enable_gpe().
Lv Zheng.
Link: https://github.com/acpica/acpica/commit/ca103247
Signed-off-by: Lv Zheng
, there is no
indication left for it to handle.
This patchset can reduce the number of no-op EC GPE handler invocations
to almost 0 by fixing the races, thus it may have fixed the potential
root cause of the issues that were originally fixed by the storming
condition threshold quirk.
Lv Zheng (6
enabling/disabling operations are
bypassed to allow drivers to perform them at a proper position using the
GPE APIs and ACPI_GPE_DISPATCH_RAW_HANDLER users should invoke acpi_set_gpe()
instead of acpi_enable_gpe()/acpi_disable_gpe() to bypass the internal GPE
clearing code in acpi_enable_gpe(). Lv Zheng
This patch enhances debugging with the GPE reference count messages added.
No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
/show_bug.cgi?id=77431
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi/ec.c | 101 -
1 file changed, 85 insertions(+), 16 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 982b67f
this because of recent ACPICA GPE API enhancement. This is reasonable
as the GPE disabling/enabling state should only be determined by the EC
driver's state machine which is protected by the EC spinlock.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi
quirks should take care of deleting it.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 55 +++--
1 file changed, 36 insertions(+), 19 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 1fa1463..982b67f 100644
messages can be used to detect broken
EC transactions. It should always drop to 1 when the driver is idle during
the runtime.
Note that after flushing before suspending, EC GPE is still enabled to keep
the old behavior.
Lv Zheng (5):
ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag
the
flush operation. The reference increased for such kind of code path is
wrapped by acpi_ec_submit_flushable_request().
Signed-off-by: Lv Zheng lv.zh...@intel.com
Tested-by: Ortwin Glück o...@odi.ch
---
drivers/acpi/ec.c | 68 ---
drivers/acpi
are passed with defconfig/allnoconfig/allyesconfig and
defconfig+CONFIG_ACPI=n.
Original-by: Thomas Gleixner t...@linutronix.de
Original-by: Jiang Liu jiang@linux.intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
arch/ia64/kernel/acpi-ext.c |6 ++--
arch/ia64/pci/pci.c
between
Linux and ACPICA.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Acked-by: Bjorn Helgaas bhelg...@google.com
Cc: Octavian Purdila octavian.purd...@intel.com
Cc: Tony Luck tony.l...@intel.com
Cc: Fenghua Yu fenghua...@intel.com
Cc: linux-...@vger.kernel.org
Cc: linux-i...@vger.kernel.org
, build tests are passed against the following configurations:
1. ia64/i386/x86_64 defconfig
2. ia64/i386/x86_64 allyesconfig
3. ia64/i386/x86_64 allnoconfig
4. ia64/i386/x86_64 defconfig CONFIG_ACPI=n
Lv Zheng (2):
ACPI: Introduce acpi_unload_parent_table() usages in Linux kernel.
ACPICA
This patch enhances debugging with the GPE reference count messages added.
This kind of log entries can be used by the platform validators to validate
if there is an EC transaction broken because of firmware/driver bugs.
No functional changes.
Signed-off-by: Lv Zheng lv.zh...@intel.com
.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 108 -
1 file changed, 74 insertions(+), 34 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index a8dd2f7..07426c8 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi
This patchset enhances logging/debugging support in EC driver.
Lv Zheng (2):
ACPI / EC: Cleanup logging/debugging splitter support.
ACPI / EC: Add GPE reference counting debugging messages.
drivers/acpi/ec.c | 120 +
1 file changed, 84
and can be removed.
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 170d743..20bd43f 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -504,8 +504,7
: e1d4d90fc0313d3d58cbd7912c90f8ef24df45ff
Subject: ACPI / EC: Refine command storm prevention support
So it's time to remove this quirk.
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=45151
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers/acpi/ec.c | 15 ---
1 file changed, 15
+ returned 0 after 131323 usecs
And this patch can significantly reduce the delay:
[ 44.502625] calling PNP0C0B:00+ @ 1308, parent: platform
[ 44.503760] call PNP0C0B:00+ returned 0 after 1103 usecs
Tested-by: Chen Yu yu.c.c...@intel.com
Signed-off-by: Lv Zheng lv.zh...@intel.com
---
drivers
201 - 300 of 2002 matches
Mail list logo