From: Ingo Molnar Subject: Re: [PATCH 10/10] x86, ACPI: default to reboot via ACPI (again) Date: Tue, 11 Nov 2008 21:44:44 +0100 Message-ID: <20081111204444.GB8853@elte.hu> References: <200811081050.25477.arvidjaar@mail.ru> <20081108115956.GE8354@elte.hu> <4916B38B.7050905@redhat.com> <4916B4DB.90602@zytor.com> <20081110083938.GD22392@elte.hu> <4917F6A9.3020408@redhat.com> <20081110090241.GH22392@elte.hu> <4919CE3F.4010008@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:55549 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbYKKUpF (ORCPT ); Tue, 11 Nov 2008 15:45:05 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Eric W. Biederman" Cc: "H. Peter Anvin" , Avi Kivity , Andrey Borzenkov , Len Brown , linux-acpi@vger.kernel.org, Len Brown , Thomas Gleixner , Eduardo Habkost , Andrew Morton * Eric W. Biederman wrote: > "H. Peter Anvin" writes: > > > Ingo Molnar wrote: > >> > >> well then we could insert CF9 to before the triple fault, and solve > >> some of the problems as well, without unnecessary risks. > >> > >> This is a separate patch from ACPI reboot itself, naturally. > >> > > > > This is a pretty good point. There is extremely low risk of being > > something at port CF9 that is something other than the reset > > register. It may not be there, but if it isn't, the worst thing > > that happened is we confused a device right before reset. > > > > Even better if we condition the port CF9 write on existence a PCI > > bus (or even more specifically PCI Configuration Method #1 or #2). > > Port CF9 is extremely unlikely to exist on a machine without a PCI > > bus, and extremely unlikely to conflict with anything else on a > > machine with a PCI bus. > > Yes. What we are guarding against in practice is a write that > causes the system to hang. Anything else and we will make it to the > next reset method. yeah. Patches are welcome :) Ingo