Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751950AbdHKGg1 (ORCPT ); Fri, 11 Aug 2017 02:36:27 -0400 Received: from mga04.intel.com ([192.55.52.120]:30813 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359AbdHKGgZ (ORCPT ); Fri, 11 Aug 2017 02:36:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,356,1498546800"; d="scan'208";a="888896461" From: Lv Zheng To: "Rafael J . Wysocki" , "Rafael J . Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH v3 0/4] ACPI / EC: Poll more EC events during suspend/resume Date: Fri, 11 Aug 2017 14:36:22 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: <99f23db65bbe89ee856018629654584a96734c84.1501141963.git.lv.zheng@intel.com> References: <99f23db65bbe89ee856018629654584a96734c84.1501141963.git.lv.zheng@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 23 EC events are special, required to be handled during suspend/resume. But there is a problem preventing EC events from being detected during noirq stages. This patchset fixes this issue by polling EC IRQs timely during suspend/resume noirq stages. With this issue fixed, we should be able to handler EC events earlier during resume, and have great opportunities to fix some driver order issues caused by the deferred detected EC events. v3 of this patch series only contains patch description updates. Lv Zheng (4): ACPI / EC: Cleanup EC GPE mask flag ACPI / EC: Add IRQ polling support for noirq stages ACPI / EC: Add support to handle EC events earlier ACPI / EC: Enable noirq stage GPE polling drivers/acpi/ec.c | 157 ++++++++++++++++++++++++++++++++++++++++++++---- drivers/acpi/internal.h | 1 + 2 files changed, 145 insertions(+), 13 deletions(-) -- 2.7.4