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] [xen-unstable] [IA64] Inject dtlb miss fault instead of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Inject dtlb miss fault instead of page not present fault.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Nov 2006 00:40:18 +0000
Delivery-date: Tue, 14 Nov 2006 16:40:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 awilliam@xxxxxxxxxxx
# Node ID 64ede00a004d5c72b902ca7936e6d1b079e1a7d6
# Parent  8ee7bb2af497d2e2ee1ff26ddbee4aede61c8e68
[IA64] Inject dtlb miss fault instead of page not present fault.

In VTI domain, VHPT, VTLB and mTLB work togathet to emulate guest TLB,
At below situation, XEN work through guest VHPT and p is zero, at this time
this tlb entry is not in guest TLB, so XEN should inject dtlb miss fault.

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_process.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8ee7bb2af497 -r 64ede00a004d xen/arch/ia64/vmx/vmx_process.c
--- a/xen/arch/ia64/vmx/vmx_process.c   Tue Oct 31 22:25:31 2006 -0700
+++ b/xen/arch/ia64/vmx/vmx_process.c   Tue Oct 31 22:25:35 2006 -0700
@@ -343,7 +343,7 @@ vmx_hpw_miss(u64 vadr , u64 vec, REGS* r
             if (!(pteval & _PAGE_P)) {
                 if (vpsr.ic) {
                     vcpu_set_isr(v, misr.val);
-                    data_page_not_present(v, vadr);
+                    dtlb_fault(v, vadr);
                     return IA64_FAULT;
                 } else {
                     nested_dtlb(v);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Inject dtlb miss fault instead of page not present fault., Xen patchbot-unstable <=