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.4-testing] Disable watchdog in dump_registers

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] Disable watchdog in dump_registers
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 01:45:45 -0800
Delivery-date: Mon, 14 Dec 2009 01:47:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1260783729 0
# Node ID e10af233db1e0ac9e1dc6a56eb51f8247b93ec4a
# Parent  ae60cbc5bb6d731a0b7d1bad829a853335ae0e68
Disable watchdog in dump_registers

Avoids triggering watchdog if serial port output is slow.

Signed-off-by: Andrew Lyon <andrew.lyon@xxxxxxxxx>
xen-unstable changeset:   20632:40a598cb0e91
xen-unstable date:        Mon Dec 14 07:57:23 2009 +0000
---
 xen/common/keyhandler.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r ae60cbc5bb6d -r e10af233db1e xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Mon Dec 14 09:41:36 2009 +0000
+++ b/xen/common/keyhandler.c   Mon Dec 14 09:42:09 2009 +0000
@@ -106,6 +106,7 @@ static void dump_registers(unsigned char
     unsigned int cpu;
 
     /* We want to get everything out that we possibly can. */
+    watchdog_disable();
     console_start_sync();
 
     printk("'%c' pressed -> dumping registers\n", key);
@@ -125,6 +126,7 @@ static void dump_registers(unsigned char
     printk("\n");
 
     console_end_sync();
+    watchdog_enable();
 }
 
 static void dump_dom0_registers(unsigned char key)

_______________________________________________
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.4-testing] Disable watchdog in dump_registers, Xen patchbot-3.4-testing <=