From patchwork Fri Nov 13 17:01:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 1400001 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CXlBV0rNnz9sSs; Sat, 14 Nov 2020 04:02:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1kdcSa-0001fq-V4; Fri, 13 Nov 2020 17:02:04 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kdcSZ-0001fd-SL for kernel-team@lists.ubuntu.com; Fri, 13 Nov 2020 17:02:03 +0000 Received: from 61-220-137-34.hinet-ip.hinet.net ([61.220.137.34] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kdcSZ-0004gc-03 for kernel-team@lists.ubuntu.com; Fri, 13 Nov 2020 17:02:03 +0000 From: Kai-Heng Feng To: kernel-team@lists.ubuntu.com Subject: [F/G/Unstable/OEM-5.6] [PATCH 0/1] Use ACPI S5 for reboot Date: Sat, 14 Nov 2020 01:01:58 +0800 Message-Id: <20201113170159.1044893-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1904225 [Impact] On some HP laptops, BIOS hotkeys don't work right after reboot, becuase OS doesn't call _PTS to indicate ACPI it's rebooting. [Fix] Follow Windows and use S5 for reboot. [Test case] Reboot and see if hotkeys like F10/F11 can trigger BIOS functions. Hotkeys work great with the patch applied. [Where problems could occur] If there are platforms don't expect S5 for reboot then there could be unexpected result. However Windows uses S5 so that's rather unlikely. Kai-Heng Feng (1): PM: ACPI: reboot: Use S5 for reboot kernel/reboot.c | 2 ++ 1 file changed, 2 insertions(+)