public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPICA: Events: Fix GPE enabling issues related to edge-triggered GPEs
@ 2017-08-11  5:57 Lv Zheng
  2017-08-11  5:57 ` [PATCH 1/2] ACPICA: Events: Stop unconditionally clearing ACPI IRQs during suspend/resume Lv Zheng
  2017-08-11  5:57 ` [PATCH 2/2] ACPICA: Events: Dispatch GPEs after enabling for the first time Lv Zheng
  0 siblings, 2 replies; 3+ messages in thread
From: Lv Zheng @ 2017-08-11  5:57 UTC (permalink / raw)
  To: Rafael J . Wysocki, Len Brown, Robert Moore, Lv Zheng,
	David E . Box
  Cc: Lv Zheng, linux-kernel, linux-acpi, devel

There are 2 issues related to the enabling of GPEs:
1. Currently, our code clears GPE before enabling it. In case of edge
   triggered GPEs, doing this risks GPE losses.
2. For edge-triggered GPEs, enabling it is not sufficiently to trigger an
   already triggered GPE, we need to poll the GPE once 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   | 22 ++++++++++++++++++++++
 drivers/acpi/acpica/hwgpe.c     |  1 -
 drivers/acpi/acpica/hwsleep.c   | 11 ++---------
 drivers/acpi/acpica/hwxfsleep.c |  2 +-
 5 files changed, 25 insertions(+), 18 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-11  5:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11  5:57 [PATCH 0/2] ACPICA: Events: Fix GPE enabling issues related to edge-triggered GPEs Lv Zheng
2017-08-11  5:57 ` [PATCH 1/2] ACPICA: Events: Stop unconditionally clearing ACPI IRQs during suspend/resume Lv Zheng
2017-08-11  5:57 ` [PATCH 2/2] ACPICA: Events: Dispatch GPEs after enabling for the first time Lv Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox