From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756670AbcIGIuL (ORCPT ); Wed, 7 Sep 2016 04:50:11 -0400 Received: from mga04.intel.com ([192.55.52.120]:2057 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754707AbcIGIuH (ORCPT ); Wed, 7 Sep 2016 04:50:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,295,1470726000"; d="scan'208";a="1052484790" From: Lv Zheng To: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org Subject: [PATCH v2 0/4] ACPI / EC: Fix ECDT and boot_ec support Date: Wed, 7 Sep 2016 16:49:59 +0800 Message-Id: X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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. 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(-) -- 1.7.10