WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [patch]Add a new reboot method

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch]Add a new reboot method
From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 May 2008 17:01:15 +0100
Cc: Huacai Chen <huacai.chen@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Thu, 29 May 2008 09:57:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C4648F2A.216A9%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903
References: <20080529155926.17dffcf6@core> <C4648F2A.216A9%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 29 May 2008 16:49:46 +0100
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:

> On 29/5/08 15:59, "Alan Cox" <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> >> ACPI *can* be involved in rebooting though, via FADT's RESET_REGISTER.
> >> Question is: why does Linux ignore this reboot method?
> > 
> > It doesn't. Well at the least upstream version doesn't. We default to
> > keyboard currently but that probably wants reconsidering for modern
> > systems.
> 
> Well, I have to disagree. Looks to me like ACPI reboot is supposed to be
> implemented by acpi_reboot() and looking at 2.6.26-rc4 that function is
> still stubbed out. Am I missing something?

My fault. I was looking in the tree I run not the upstream tree. We've
had patches available for it since mid 2007. Looks like they got stuck
somewhere around Andi Kleen.

The original thread seems to be this one: 
http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-07/msg06145.html

although it doesn't appear to check the fadt hdr rev is > 1 now I look
harder. Looks easy enough to try in Xen, and perhaps that would also meet
Huacai's needs ?

Alan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel