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-unstable] [IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Feb 2007 09:40:24 -0800
Delivery-date: Fri, 09 Feb 2007 09:47:07 -0800
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 awilliam@xxxxxxxxxxxx
# Date 1169846377 25200
# Node ID 1faf482f119c0f6f21377d4ff938049e2dbe8404
# Parent  b741b300a0f2a3e3b88758da7845a16a9d60ec2c
[IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ

NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ is used but not registered.
I've never experienced but system will panic in the very long run.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/xensetup.c    |    5 +++++
 xen/include/asm-ia64/flushtlb.h |    1 +
 2 files changed, 6 insertions(+)

diff -r b741b300a0f2 -r 1faf482f119c xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Fri Jan 26 14:11:21 2007 -0700
+++ b/xen/arch/ia64/xen/xensetup.c      Fri Jan 26 14:19:37 2007 -0700
@@ -26,6 +26,7 @@
 #include <asm/vmx.h>
 #include <linux/efi.h>
 #include <asm/iosapic.h>
+#include <xen/softirq.h>
 
 unsigned long xenheap_phys_end, total_pages;
 
@@ -436,6 +437,10 @@ void start_kernel(void)
     init_xen_time(); /* initialise the time */
     timer_init();
 
+#ifdef CONFIG_XEN_IA64_TLBFLUSH_CLOCK
+    open_softirq(NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ, new_tlbflush_clock_period);
+#endif
+
 #ifdef CONFIG_SMP
     if ( opt_nosmp )
     {
diff -r b741b300a0f2 -r 1faf482f119c xen/include/asm-ia64/flushtlb.h
--- a/xen/include/asm-ia64/flushtlb.h   Fri Jan 26 14:11:21 2007 -0700
+++ b/xen/include/asm-ia64/flushtlb.h   Fri Jan 26 14:19:37 2007 -0700
@@ -32,6 +32,7 @@ extern volatile u32 tlbflush_clock;
 #define tlbflush_current_time() tlbflush_clock
 
 u32 tlbflush_clock_inc_and_return(void);
+void new_tlbflush_clock_period(void);
 
 static inline void
 tlbflush_update_time(volatile u32* time, u32 timestamp)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ, Xen patchbot-unstable <=