lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] ACPI / EC: Solve EC event handling issues
Date
There is a known issue in EC event handling. This patchset tries to handle
noirq stage EC event polling to fix this known issue.

In the very early version, the EC event polling mechanism is implemented by
a kernel thread to poll EC events. Now the mechanism is implemented by a
timer ticked in noirq stage to poll EC GPEs. In this newest timer version,
timer running period is shortened and thus is safer for s2idle mode.

After adding such a mechanism, we can try to handle EC events earlier after
resume, this may be able to solve some driver order issues.

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

\
 
 \ /
  Last update: 2017-07-31 07:48    [W:0.102 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site