[PATCH v2 1/7] ACPI/EC: Fix an issue that advance_transaction() processes stale hardware status.

2014-06-14 Thread Lv Zheng
From: Lv Zheng The advance_transaction() will be invoked from the IRQ context GPE handler and the task context ec_poll(). The handling of this function is locked so that the EC state machine are ensured to be advanced sequentially. But there is a problem. Before invoking advance_transaction(),

[PATCH v2 1/7] ACPI/EC: Fix an issue that advance_transaction() processes stale hardware status.

2014-06-14 Thread Lv Zheng
From: Lv Zheng lv.zh...@intel.com The advance_transaction() will be invoked from the IRQ context GPE handler and the task context ec_poll(). The handling of this function is locked so that the EC state machine are ensured to be advanced sequentially. But there is a problem. Before invoking