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

From: Rafael J. Wysocki
Date: Wed Apr 20 2016 - 20:16:39 EST


On Thursday, March 24, 2016 10:42:38 AM Lv Zheng wrote:
> 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(-)

All [1-4/4] applied, thanks!