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

[Xen-changelog] [xen-unstable] [IA64] Inject dtlb miss fault instead of page not present fault.



# 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


 


Rackspace

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