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

From: Rafael J. Wysocki
Date: Mon Sep 12 2016 - 17:49:24 EST


On Wednesday, September 07, 2016 04:49:59 PM Lv Zheng wrote:
> 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(-)

Whole series applied.

Thanks,
Rafael