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] fixed some bugs to make xen0 more stable

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] [PATCH] fixed some bugs to make xen0 more stable
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 13 Oct 2005 17:28:23 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Oct 2005 12:24:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcXP2HRI83rf2/ODRBuc5moDrgGuwg==
Thread-topic: [Xen-ia64-devel] [PATCH] fixed some bugs to make xen0 more stable
Dan,

When we debugged VTIdomainN, we found and fixed some bugs.
This patch is based on ver 7332

- Consistence of region id mangling algrithm:
    - Metaphysical RID is not mangled, which may conflict with other
domain's virtual RID
    - Sometimes rr0 is mangled, but sometimes not
    - Sometimes only rid value is saved to saved_rr0_metaphysical, but
sometimes the whole value.

- Nat bit consumption happens but handled as priv_emulate to forward
progress.But this is definitely wrong. We found reason of nat
consumption from fast_rfi,which doesn't save unat again after spill
guest states, and then use guest unat to fill guest states when return.

- In some corner case, timer interrupt handler won't update itm and then
return directly. When that happens, machine timer interrupt disappears
until guest timer interrupt sets v_itm actively. But vti domain depends
on ac_timer while the latter will stop when above condition happens.
Then if current context is vti domain, context switch disappears and
machine halt.

Also many compatibility issues to support non-vti and vti domain are
solved,eg:
- Changing lazy PAL mapping switch to eager switch per domain switch,
since vti domain always depends on pal call.
- evtchn_notify should also vcpu_wake target domain, since vti domain
may block for io emulation. Xenolinux is free of this issue, since it's
always runnable.


Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
Signed-off-by Anthony Xu <anthony.xu@xxxxxxxxx>


Thanks
Anthony

Attachment: fix-some-bugs.patch
Description: fix-some-bugs.patch

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