Skip to content

ACPI / EC: Fix ECDT and boot_ec support

Lv Zheng linux-acpi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

Rebased on top of recent linux-pm.git/linux-next. Addressed 1 comment from Peter Wu.
Update patch SOBs.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI / EC: Cleanup first_ec/boot_ec codedrivers/acpi/ec.c+63 -330 replies
2/4ACPI / EC: Fix a memory leakage issue in acpi_ec_add()drivers/acpi/ec.c+12 -40 replies
3/4ACPI / EC: Fix a gap that ECDT EC cannot handle EC eventsdrivers/acpi/ec.c drivers/acpi/internal.h drivers/acpi/scan.c+98 -230 replies
4/4ACPI / EC: Fix issues related to boot_ecdrivers/acpi/ec.c+49 -140 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLuya TshimbalangaJonh HendersonPeter Wu
1/4Reported-and-tested-by T-b
2/4Reported-and-tested-by T-b
3/4Reported-and-tested-by T-b R-b
4/4Reported-and-tested-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 v2 thread

Cover letter [PATCH v2 0/4] ACPI / EC: Fix ECDT and boot_ec support

Linux uses ECDT only in boot stage (before the namespace is fully initialized), but there are cases reported that Windows allows ECDT to be used for OSPM runtime, responding EC events by evaluating _Qxx methods under the device node indicated in the ECDT.

This patchset changes Linux ECDT support to follow Windows behavior and also fixes related boot_ec support.

v2:
Rebased on top of recent linux-pm.git/linux-next. Addressed 1 comment from Peter Wu.
Update patch SOBs.

Lv Zheng (4):
ACPI / EC: Cleanup first_ec/boot_ec code
ACPI / EC: Fix a memory leakage issue in acpi_ec_add() ACPI / EC: Fix a gap that ECDT EC cannot handle EC events ACPI / EC: Fix issues related to boot_ec

 drivers/acpi/ec.c       |  240 +++++++++++++++++++++++++++++++++++++----------
 drivers/acpi/internal.h |    1 +
 drivers/acpi/scan.c     |    1 +
 3 files changed, 195 insertions(+), 47 deletions(-)
Signature · 1 line
1.7.10