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] flush cache after patch kernel

To: "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] flush cache after patch kernel
From: "Duan, Ronghui" <ronghui.duan@xxxxxxxxx>
Date: Wed, 30 Jan 2008 16:44:37 +0800
Delivery-date: Wed, 30 Jan 2008 00:44:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchjHFinE95VpASpQ/er7/n+Pd4Jfg==
Thread-topic: flush cache after patch kernel

Need flushing cache here, if not, i/d cache may be not synchronous.

 

Signed-off-by: Duan Ronghui <ronghui.duan@xxxxxxxxx>

 

diff -r 32ec5dbe2978 xen/arch/ia64/xen/xenpatch.c

--- a/xen/arch/ia64/xen/xenpatch.c  Fri Nov 30 08:54:33 2007 -0700

+++ b/xen/arch/ia64/xen/xenpatch.c  Wed Jan 30 14:47:46 2008 +0800

@@ -103,6 +103,7 @@ static void __init xen_patch_frametable_

      addr = (u64)&frametable_miss;

      val = get_imm64(addr) + offset;

      ia64_patch_imm64(addr, val);

+     ia64_fc(addr);

 #endif

 }

 

Best regards

Ronghui

 

Attachment: fc_after_patch_frametable_miss.patch
Description: fc_after_patch_frametable_miss.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>