diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-02-23 14:31:52 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-03-02 11:43:45 +0100 |
commit | bf8fd1a9736eaff5a5b823415e5a0d165a42e5d6 (patch) | |
tree | 7c1e0e1cb9678f7ed787a86f6de644f846b249de /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 67dfc2b441b4b724acb74361e9e2e23506721e4f (diff) |
platform/x86: x86-android-tablets: Workaround Lenovo Yoga Tablet 2 830/1050 poweroff hang
These tablets' DSDT does not set acpi_gbl_reduced_hardware, so
acpi_power_off gets used as pm_power_off handler. Not setting
acpi_gbl_reduced_hardware may very well be correct for these tablets,
but acpi_power_off is broken on them.
Using acpi_power_off causes "poweroff" to hang hard. Requiring pressing
the powerbutton for 30 seconds *twice* followed by a normal 3 second
press to recover.
Avoid this by overriding the global pm_power_off handler to do
an EFI poweroff, which does work, instead.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220223133153.730337-5-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions