Skip to content

ACPICA: Events: Fix GPE enabling issues related to edge-triggered GPEs

Lv Zheng acpica-devel linux-acpi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPICA: Events: Stop unconditionally clearing ACPI IRQs during suspend/resumedrivers/acpi/acpica/evgpe.c drivers/acpi/acpica/hwgpe.c drivers/acpi/acpica/hwsleep.c +1 more+3 -180 replies
2/2ACPICA: Events: Dispatch GPEs after enabling for the first timedrivers/acpi/acpica/evxfgpe.c+22 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchEric Bakula-DavisMika WesterbergRafael J. Wysocki
1/2Reported-and-tested-by T-b
2/2T-b Original-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] ACPICA: Events: Fix GPE enabling issues related to edge-triggered GPEs

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(-)
Signature · 1 line
2.7.4