[SRU] [H/Unstable/OEM-5.10] [PATCH 0/1] Speed up resume time on HP laptops

Kai-Heng Feng kai.heng.feng at canonical.com
Thu May 20 10:34:43 UTC 2021


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(-)

-- 
2.31.1




More information about the kernel-team mailing list