APPLIED[H]: [SRU] [H/Unstable/OEM-5.10] [PATCH 0/1] Speed up resume time on HP laptops
Kleber Souza
kleber.souza at canonical.com
Wed May 26 13:06:49 UTC 2021
On 20.05.21 12: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(-)
>
Applied to hirsute:linux.
Thanks,
Kleber
More information about the kernel-team
mailing list