From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lv Zheng Subject: [PATCH 0/4] ACPI / EC: Fix ECDT and boot_ec support Date: Fri, 2 Sep 2016 15:46:06 +0800 Message-ID: Return-path: Received: from mga01.intel.com ([192.55.52.88]:56579 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbcIBHqb (ORCPT ); Fri, 2 Sep 2016 03:46:31 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , linux-acpi@vger.kernel.org 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. 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, 194 insertions(+), 48 deletions(-) -- 1.7.10