Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbdCFKyL (ORCPT ); Mon, 6 Mar 2017 05:54:11 -0500 Received: from terminus.zytor.com ([65.50.211.136]:58436 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796AbdCFKxi (ORCPT ); Mon, 6 Mar 2017 05:53:38 -0500 Date: Mon, 6 Mar 2017 02:53:29 -0800 From: tip-bot for Matjaz Hegedic Message-ID: Cc: matjaz.hegedic@gmail.com, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Reply-To: matjaz.hegedic@gmail.com, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de In-Reply-To: <1488737804-20681-1-git-send-email-matjaz.hegedic@gmail.com> References: <1488737804-20681-1-git-send-email-matjaz.hegedic@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk Git-Commit-ID: 3b3e78552d3077ec70d2640e629e07e3ab416a6a X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1440 Lines: 40 Commit-ID: 3b3e78552d3077ec70d2640e629e07e3ab416a6a Gitweb: http://git.kernel.org/tip/3b3e78552d3077ec70d2640e629e07e3ab416a6a Author: Matjaz Hegedic AuthorDate: Sun, 5 Mar 2017 19:16:44 +0100 Committer: Thomas Gleixner CommitDate: Mon, 6 Mar 2017 11:47:43 +0100 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk Without the parameter reboot=a, ASUS EeeBook X205TA/W will hang when it should reboot. This adds the appropriate quirk, thus fixing the problem. Signed-off-by: Matjaz Hegedic Link: http://lkml.kernel.org/r/1488737804-20681-1-git-send-email-matjaz.hegedic@gmail.com Signed-off-by: Thomas Gleixner --- arch/x86/kernel/reboot.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 01c9cda..4194d6f 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -231,6 +231,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"), }, }, + { /* Handle problems with rebooting on ASUS EeeBook X205TAW */ + .callback = set_acpi_reboot, + .ident = "ASUS EeeBook X205TAW", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"), + }, + }, /* Certec */ { /* Handle problems with rebooting on Certec BPC600 */