Re: [RFC PATCH 2/2] ACPI/Wakup: Enable button wakeup GPEs if these GPEs have associated GPE methods.

2014-07-09 Thread Rafael J. Wysocki
On Wednesday, July 09, 2014 11:08:42 AM Lan Tianyu wrote: > On 2014年07月08日 21:26, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 02:57:58 PM Lan Tianyu wrote: > >> The button wakeup GPEs are enabled unconditionally in the current world by > >> commit 2a5d24(ACPI / Wakeup: Enable button GPEs

Re: [RFC PATCH 2/2] ACPI/Wakup: Enable button wakeup GPEs if these GPEs have associated GPE methods.

2014-07-08 Thread Lan Tianyu
On 2014年07月08日 21:26, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 02:57:58 PM Lan Tianyu wrote: >> The button wakeup GPEs are enabled unconditionally in the current world by >> commit 2a5d24(ACPI / Wakeup: Enable button GPEs unconditionally during >> initialization). Because button's GPE m

Re: [RFC PATCH 2/2] ACPI/Wakup: Enable button wakeup GPEs if these GPEs have associated GPE methods.

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 02:57:58 PM Lan Tianyu wrote: > The button wakeup GPEs are enabled unconditionally in the current world by > commit 2a5d24(ACPI / Wakeup: Enable button GPEs unconditionally during > initialization). Because button's GPE methods needs to be run to clear > GPE status on some

[RFC PATCH 2/2] ACPI/Wakup: Enable button wakeup GPEs if these GPEs have associated GPE methods.

2014-07-08 Thread Lan Tianyu
The button wakeup GPEs are enabled unconditionally in the current world by commit 2a5d24(ACPI / Wakeup: Enable button GPEs unconditionally during initialization). Because button's GPE methods needs to be run to clear GPE status on some machines when there is GPE interrupt. If not, it will cause mac