Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934954Ab0GOWuh (ORCPT ); Thu, 15 Jul 2010 18:50:37 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:55576 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934920Ab0GOWue (ORCPT ); Thu, 15 Jul 2010 18:50:34 -0400 Date: Thu, 15 Jul 2010 23:50:22 +0100 From: Matthew Garrett To: Henrique de Moraes Holschuh Cc: Pedro Ribeiro , ibm-acpi-devel@lists.sourceforge.net, eusou15@yahoo.com, linux-kernel@vger.kernel.org, toralf.foerster@gmx.de Subject: Re: [ibm-acpi-devel] [PATCH] Remove 9 second reboot delay on Lenovo T400/T500 Message-ID: <20100715225022.GA31377@srcf.ucam.org> References: <4C3DCAA4.9050602@gmail.com> <20100714143625.GA30721@srcf.ucam.org> <20100715223149.GC27512@khazad-dum.debian.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100715223149.GC27512@khazad-dum.debian.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 19 On Thu, Jul 15, 2010 at 07:31:49PM -0300, Henrique de Moraes Holschuh wrote: > Or maybe we should key into whatever OSI() the ACPI firmware asked, and try > first whatever shutdown path the highest version of Windows asked for by the > firmware would. I've been tracing how Windows implements reboots (XP, Vista and 7). It appears to use the ACPI reboot vector, the keyboard controller, the ACPI reboot vector again, the keyboard controller again and then hangs. I'll try implementing equivalent behaviour in Linux and see whether it makes any difference. -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/