From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KUCCD-00065K-6M for mharc-grub-devel@gnu.org; Fri, 15 Aug 2008 23:11:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUCCA-00064v-Ug for grub-devel@gnu.org; Fri, 15 Aug 2008 23:11:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUCCA-00064j-8m for grub-devel@gnu.org; Fri, 15 Aug 2008 23:11:14 -0400 Received: from [199.232.76.173] (port=39812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUCCA-00064g-2C for grub-devel@gnu.org; Fri, 15 Aug 2008 23:11:14 -0400 Received: from spacedout.fries.net ([67.64.210.234]:39647) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KUCC9-00059f-FV for grub-devel@gnu.org; Fri, 15 Aug 2008 23:11:13 -0400 Received: from SpacedOut.fries.net (david@localhost [127.0.0.1]) by SpacedOut.fries.net (8.13.8/8.13.8/Debian-3) with ESMTP id m7G3BAkP013226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 15 Aug 2008 22:11:11 -0500 Received: (from david@localhost) by SpacedOut.fries.net (8.13.8/8.13.8/Submit) id m7G3B9Sw013225 for grub-devel@gnu.org; Fri, 15 Aug 2008 22:11:09 -0500 Date: Fri, 15 Aug 2008 22:11:09 -0500 From: David Fries To: The development of GRUB 2 Message-ID: <20080816031109.GD16592@spacedout.fries.net> References: <20080812030708.GB16592@spacedout.fries.net> <20080812091037.GC381@thorin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080812091037.GC381@thorin> User-Agent: Mutt/1.5.4i X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (SpacedOut.fries.net [127.0.0.1]); Fri, 15 Aug 2008 22:11:11 -0500 (CDT) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Enable grub_cpu_idle for i386 to halt the CPU X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 03:11:15 -0000 On Tue, Aug 12, 2008 at 11:10:37AM +0200, Robert Millan wrote: > > Hi David, > > I'm sorry that you already went on to provide a patch, but the problem is > not that. > > The problem is that on some platforms (like coreboot), the firmware won't > setup any IDT for us, and so we need to do this ourselves before we use hlt. > > So the solution is to initialize the IDT (so that we won't get a cpu fault), > and enable IRQ0 (so that hlt won't stall). > > Would you be willing to provide a patch that does that? Actually I have a computer in my car that I would really like to speed up booting on. It would be a great application for coreboot, except it's a 486 and I don't see coreboot supporting it. Until I have an application for it, I'll have to let someone else implement support for grub_cpu_idle. I have the second version of the patch out, and this time I did compile coreboot. It won't be improved or harmed, the patch just helps the i386/pc platform. -- David Fries http://fries.net/~david/ (PGP encryption key available)