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] PAL cache flush (added during VTI merge) breaks on simul

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] PAL cache flush (added during VTI merge) breaks on simulator
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 20:02:13 +0000
Delivery-date: Thu, 22 Sep 2005 20:01:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 djm@xxxxxxxxxxxxxxx
# Node ID b52a4864477057a43ab9bc4c82538650f8256880
# Parent  2556621a7759428504e27d854772d4dd4f061ded
PAL cache flush (added during VTI merge) breaks on simulator

diff -r 2556621a7759 -r b52a48644770 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Fri Sep 16 22:51:55 2005
+++ b/xen/arch/ia64/xen/domain.c        Fri Sep 16 22:53:30 2005
@@ -951,10 +951,12 @@
        //    memcpy((void *)vinitrd_start, initrd_start, initrd_len);
 
        /* Sync d/i cache conservatively */
-       ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
-       if (ret != PAL_STATUS_SUCCESS)
-           panic("PAL CACHE FLUSH failed for dom0.\n");
-       printk("Sync i/d cache for dom0 image SUCC\n");
+       if (!running_on_sim) {
+           ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
+           if (ret != PAL_STATUS_SUCCESS)
+               panic("PAL CACHE FLUSH failed for dom0.\n");
+           printk("Sync i/d cache for dom0 image SUCC\n");
+       }
 
        /* Set up start info area. */
        si = (start_info_t *)alloc_xenheap_page();

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] PAL cache flush (added during VTI merge) breaks on simulator, Xen patchbot -unstable <=