Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739646

RE: [PATCH v4 0/3] ACPI / EC: Fix EC event handling issues

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From "Zheng, Lv" <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH v4 0/3] ACPI / EC: Fix EC event handling issues
Date Tue, 26 Sep 2017 10:00:03 +0200
Message-ID <utSWD-1N5-29@gated-at.bofh.it> (permalink)
References <u7LS9-3l2-5@gated-at.bofh.it> <uksRH-3bX-7@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.42,440,1500966000"; d="scan'208";a="1175843441"
Thread-Topic [PATCH v4 0/3] ACPI / EC: Fix EC event handling issues
Thread-Index AQHTIjCpRLOwzrPnI0GZZjQ8AlUQEqLG85XQ
Accept-Language zh-CN, en-US
Content-Language en-US
X-Titus-Metadata-40 eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTM2NWY5OTctMGE2OC00OWJmLWE4ZDctNTUyMGVjNmM5ZGFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImloK0hLVDVxdXRTY0xcL3FvZ0t4WGloZ1VJMkRIdnZROEx4bGMrNjJrMWhjPSJ9
X-Ctpclassification CTP_IC
Dlp-Product dlpe-windows
Dlp-Version 11.0.0.116
Dlp-Reaction no-action
X-Originating-IP [10.239.127.40]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 8BIT
MIME-Version 1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc Lv Zheng <zetalog@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
X-Original-Date Tue, 26 Sep 2017 07:52:14 +0000
X-Original-Message-ID <1AE640813FDE7649BE1B193DEA596E886CF6BFA7@SHSMSX101.ccr.corp.intel.com>
X-Original-References <99f23db65bbe89ee856018629654584a96734c84.1501141963.git.lv.zheng@intel.com> <cover.1504166863.git.lv.zheng@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1739646

Show key headers only | View raw


Hi, Rafael

I'm now working on v5 of this series.
Which
1. splits root causes in a more detailed way,
2. clarifies root causes in patch description with real bugs, and
3. is safer according to the known EC FW behaviors.
So you can discard v3/v4 from the patchwork site.
And I'll post v5 when everything is cleared to me.

Thanks and best regards
Lv

> From: Zheng, Lv
> Subject: [PATCH v4 0/3] ACPI / EC: Fix EC event handling issues
> 
> EC events are special, required to be handled during suspend/resume. But
> there are special logics in Linux causing several issues related to the EC
> event handling:
> 1. During noirq stage, Linux cannot detect EC events which are target
>    driven.
> 2. When EC event handling is enabled later than the other drivers, order
>    problem could be observed.
> When fixing these problems, care should be taken to not to trigger
> regressions to the following problem which has alredy been fixed using
> different approach):
> 3. When EC event handling is enabled before the end of the noirq stage,
>    EC event handling may stuck.
> This patchset fixes these issues.
> 
> v4 of this patch series re-orders the fixes so that the fix of the problem
> 2 could be independent against the fix of the problem 1, this is done by
> refining the fix of the problem 2, making it immune to the problem 3.
> 
> Lv Zheng (3):
>   ACPI / EC: Fix possible driver order issue by moving EC event handling
>     earlier
>   ACPI / EC: Add event detection support for noirq stages
>   ACPI / EC: Enable noirq stage event detection
> 
>  drivers/acpi/ec.c       | 116 +++++++++++++++++++++++++++++++++++++++++++++---
>  drivers/acpi/internal.h |   1 +
>  2 files changed, 111 insertions(+), 6 deletions(-)
> 
> --
> 2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

RE: [PATCH v4 0/3] ACPI / EC: Fix EC event handling issues "Zheng, Lv" <lv.zheng@intel.com> - 2017-09-26 10:00 +0200

csiph-web