APPLIED [OEM-5.10] Re: [SRU] [H/Unstable/OEM-5.10] [PATCH 0/1] Speed up resume time on HP laptops
Timo Aaltonen
tjaalton at ubuntu.com
Thu Jun 3 07:32:14 UTC 2021
On 20.5.2021 13.34, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1929048
>
> [Impact]
> Some HP laptops can take very long time to resume from sleep.
>
> [Fix]
> Avoid evaluating _INI on resume. It's only needed to run once at boot.
>
> [Test]
> Suspend and resume the system.
> With the patch applied, the system resumes in a blink.
>
> [Where problems could occur]
> Maybe there are some platforms require the old behavior, so hp-accel can
> break after system resume.
>
> However, run _INI more than once is actually violating ACPI spec, so
> it's not likely to happen.
>
> Kai-Heng Feng (1):
> platform/x86: hp_accel: Avoid invoking _INI to speed up resume
>
> drivers/misc/lis3lv02d/lis3lv02d.h | 1 +
> drivers/platform/x86/hp_accel.c | 22 +++++++++++++++++++++-
> 2 files changed, 22 insertions(+), 1 deletion(-)
>
--
t
More information about the kernel-team
mailing list