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-ia64-devel

[Xen-ia64-devel] [PATCH 4/7 TAKE 2] xenoprof for xen/ia64: update consta

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 4/7 TAKE 2] xenoprof for xen/ia64: update constatns for montecito
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 14 Nov 2006 16:13:24 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Mon, 13 Nov 2006 23:13:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061114071214.9377.78928.sendpatchset@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061114071214.9377.78928.sendpatchset@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1161840445 -32400
# Node ID ef15db1dc0c4c0174f2d3679fa81463c1d4bea58
# Parent  acacfc83fff962a48605cc88908c4d012563742d
increase xen side pmu constatns for motecito.
PATCHNAME: increase_pmu_constatns_for_motecito

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r acacfc83fff9 -r ef15db1dc0c4 
xen/include/asm-ia64/linux-xen/asm/processor.h
--- a/xen/include/asm-ia64/linux-xen/asm/processor.h    Fri Oct 20 21:21:34 
2006 +0900
+++ b/xen/include/asm-ia64/linux-xen/asm/processor.h    Thu Oct 26 14:27:25 
2006 +0900
@@ -28,8 +28,16 @@
  * Limits for PMC and PMD are set to less than maximum architected values
  * but should be sufficient for a while
  */
+#ifdef XEN
+// Those are increased at linux-2.6.16. Montecito requires 35PMDs.
+// This ifdef will become unnecessary when this header file is
+// upgraded to more than 2.6.16.
+#define IA64_NUM_PMC_REGS      64
+#define IA64_NUM_PMD_REGS      64
+#else
 #define IA64_NUM_PMC_REGS      32
 #define IA64_NUM_PMD_REGS      32
+#endif
 
 #define DEFAULT_MAP_BASE       __IA64_UL_CONST(0x2000000000000000)
 #define DEFAULT_TASK_SIZE      __IA64_UL_CONST(0xa000000000000000)
yamahata

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