[PATCH 0/6] ACPI/EC: Cleanups of command flushing and event polling.
From: Lv Zheng
Date: Mon Nov 03 2014 - 00:16:22 EST
This patchset contains 2 cleanups related to the EC driver:
1. Command flushing
This patchset flushes EC commands before suspending/resuming, so that
there won't be timeout for the incomplete commands after resuming.
2. Event polling thread
It is not proper to send QR_EC command using the same work queue as
the _Qxx/_Lxx/_Exx evaluations. This patchset moves the QR_EC issuing to
a seperate thread. This also allows us to extend the EC driver in the
future to be aware of the events even when SCI_EVT is failed to be set
by the firmware.
This patchset is split from an EC GPE storming prevention enhancement
series. The original discussion can be found at:
http://www.spinics.net/lists/linux-acpi/msg51698.html
Lv Zheng (6):
ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag.
ACPI/EC: Enhance the checks to apply to QR_EC transactions.
ACPI/EC: Add reference counting for query handlers.
ACPI/EC: Add command flushing support.
ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread
to poll EC events.
ACPI/EC: Add GPE reference counting debugging messages.
drivers/acpi/ec.c | 379 ++++++++++++++++++++++++++++++++++++++---------
drivers/acpi/internal.h | 2 +
2 files changed, 313 insertions(+), 68 deletions(-)
--
1.7.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/