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

[Xen-devel] [PATCH] Disable watchdog in dump_registers

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Disable watchdog in dump_registers
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Sat, 12 Dec 2009 14:09:07 +0000
Delivery-date: Sat, 12 Dec 2009 06:09:28 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=egRDzyO6U2EfjkUQp3wpaOrIQYVVYtfO6KZCJ2ks7O0=; b=DLQo6slUu3EJK/1N9TnwszdYjONBFrBPKxUqqlFede3gNgBBZ7ZiL3QWDUCloxPvFh OIRK7TA9ZNkUW0DprNMZnb3AFD47xpa9WqtQSiL38a2s/P2BwobTCNQJYhj8VQie3iyD /gxz/cZ/Db2jAii5n+rmBzXqbbEg1pjIdQT+c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jSZaLFH6lDvoVPPg2UPtjvSDPxXYAeyhiZUor9hwMfFC3R7VDgFX6kX5VEfWWJxK1x FBCnkCzbIjZ/EQu9M3353dwT2TtJ/qREncentAiXY8BohxYxtlaHQKeoFFIXapL8oC23 pmtOlvNf3jqJvTLR2Tmz+fEsguVHh85mqhHa0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Add watchdog_disable/watchdog_enable around dump_registers to avoid trigging
watchdog if serial port output is slow.

Patch generated for xen-unstable but it will also apply to 3.4.2.

Signed-off-by: Andrew Lyon <andrew.lyon@xxxxxxxxx>

diff -r b928797213ac -r 12039f5ece78 xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Fri Dec 11 09:17:09 2009 +0000
+++ b/xen/common/keyhandler.c   Sat Dec 12 14:03:17 2009 +0000
@@ -87,6 +87,7 @@
     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);
@@ -106,6 +107,7 @@
     printk("\n");

     console_end_sync();
+    watchdog_enable();
 }

 static struct keyhandler dump_registers_keyhandler = {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Disable watchdog in dump_registers, Andrew Lyon <=