Skip to content

ACPI 2.0 / ECDT: Enable ECDT support

Lv Zheng linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI 2.0 / ECDT: Split EC_FLAGS_HANDLERS_INSTALLEDdrivers/acpi/ec.c+55 -410 replies
2/4ACPI 2.0 / ECDT: Remove early namespace reference from ECdrivers/acpi/ec.c+54 -910 replies
3/4ACPI 2.0 / ECDT: Enable correct ECDT initialization orderdrivers/acpi/bus.c+25 -140 replies
4/4ACPI 2.0 / AML: Improve module level execution by moving the If/Else/While execution to per-table basisinclude/acpi/acpixf.h+1 -10 replies

Reviews trailers per patch

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

PatchChris Bainbridge
1/4T-b
2/4T-b
3/4T-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ACPI 2.0 / ECDT: Enable ECDT support

ECDT support in Linux is broken.

In fact, the original EC driver was correct, but devlopers started to use the namespace EC instead of ECDT just because several broken ECDT tables were reported on the bugzilla. They trusted the namespace EC settings rather than the ECDT ones, this led to the evaluation of _REG/_GPE/_CRS and namespace walk before executing the module level AML opcodes. And the fixes in fact finally disable early EC usages (used during table loading and early device enumeration processes).

Lv Zheng (4):
ACPI 2.0 / ECDT: Split EC_FLAGS_HANDLERS_INSTALLED ACPI 2.0 / ECDT: Remove early namespace reference from EC ACPI 2.0 / ECDT: Enable correct ECDT initialization order ACPI 2.0 / AML: Improve module level execution by moving the
If/Else/While execution to per-table basis

 drivers/acpi/bus.c    |   39 +++++---
 drivers/acpi/ec.c     |  241 ++++++++++++++++++++++---------------------------
 include/acpi/acpixf.h |    2 +-
 3 files changed, 135 insertions(+), 147 deletions(-)
Signature · 1 line
1.7.10