Re: [PATCH] ACPI/Battery: Accelerate battery resume callback

2014-05-19 Thread Rafael J. Wysocki
On Sunday, May 04, 2014 02:07:06 PM Lan Tianyu wrote: > Most time of battery resume callback is spent on executing AML code > _BTP, _BIF and _BIF to get battery info, status and set alarm. These > AML methods may access EC operation regions several times and consumes > time. > > These operations a

Re: [PATCH] ACPI/Battery: Accelerate battery resume callback

2014-05-09 Thread Lan Tianyu
On 2014年05月09日 15:38, Pavel Machek wrote: > Hi! > >> Most time of battery resume callback is spent on executing AML code >> _BTP, _BIF and _BIF to get battery info, status and set alarm. These >> AML methods may access EC operation regions several times and consumes >> time. >> >> These operations

Re: [PATCH] ACPI/Battery: Accelerate battery resume callback

2014-05-09 Thread Pavel Machek
Hi! > Most time of battery resume callback is spent on executing AML code > _BTP, _BIF and _BIF to get battery info, status and set alarm. These > AML methods may access EC operation regions several times and consumes > time. > > These operations are not necessary during devices resume and can ru