[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] flush cache after patch kernel


  • To: "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.