Re: [PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-25 Thread Rafael J. Wysocki
On Friday, August 22, 2014 07:59:50 PM Benjamin Block wrote: > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > --jcnP2A9R7oLCVKLLsxCrieJLxfXGKbBUw > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: quoted-printable > > On 08/22/2014 07:33 PM, Rafael J. Wysocki wrot

Re: [PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-22 Thread Benjamin Block
On 08/22/2014 07:33 PM, Rafael J. Wysocki wrote: > On Friday, August 22, 2014 03:37:55 PM Lan Tianyu wrote: >> Currently fixed button devices' notify callbacks are running in the >> interrupt context. It's not necessary and prevent calling functions >> with mutex lock(E,G evaluating ACPI method). O

Re: [PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-22 Thread Rafael J. Wysocki
On Friday, August 22, 2014 03:37:55 PM Lan Tianyu wrote: > Currently fixed button devices' notify callbacks are running in the > interrupt context. It's not necessary and prevent calling functions > with mutex lock(E,G evaluating ACPI method). Otherwise, it's different > with non-fixed button devic

Re: [PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-22 Thread Lan Tianyu
On 08/22/2014 03:37 PM, Lan Tianyu wrote: Currently fixed button devices' notify callbacks are running in the interrupt context. It's not necessary and prevent calling functions with mutex lock(E,G evaluating ACPI method). Otherwise, it's different with non-fixed button device whose notify callba