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-changelog

[Xen-changelog] [xen-3.2-testing] x86: machine_halt() forcibly re-enable

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86: machine_halt() forcibly re-enables IRQs as it may be called from
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Jun 2008 15:40:30 -0700
Delivery-date: Thu, 12 Jun 2008 15:40:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213291879 -3600
# Node ID d31315b23f286ee8e6d2edd523d53a876a95d3fb
# Parent  edd6da34bfb94b42382d3f59ebc2462bcd63fa52
x86: machine_halt() forcibly re-enables IRQs as it may be called from
panic() which itself may be called in an IRQ-safe critical section.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17837:a3319f32496fd93a545fc354ce3944072cc32e5e
xen-unstable date:        Thu Jun 12 16:09:08 2008 +0100
---
 xen/arch/x86/shutdown.c |    1 +
 1 files changed, 1 insertion(+)

diff -r edd6da34bfb9 -r d31315b23f28 xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Thu Jun 12 18:30:53 2008 +0100
+++ b/xen/arch/x86/shutdown.c   Thu Jun 12 18:31:19 2008 +0100
@@ -50,6 +50,7 @@ void machine_halt(void)
 {
     watchdog_disable();
     console_start_sync();
+    local_irq_enable();
     smp_call_function(__machine_halt, NULL, 1, 0);
     __machine_halt(NULL);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86: machine_halt() forcibly re-enables IRQs as it may be called from, Xen patchbot-3.2-testing <=