direct-io.hg

changeset 12417:64ede00a004d

[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@intel.com>
author awilliam@xenbuild.aw
date Tue Oct 31 22:25:35 2006 -0700 (2006-10-31)
parents 8ee7bb2af497
children 9c649ca5c1cc
files xen/arch/ia64/vmx/vmx_process.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_process.c	Tue Oct 31 22:25:31 2006 -0700
     1.2 +++ b/xen/arch/ia64/vmx/vmx_process.c	Tue Oct 31 22:25:35 2006 -0700
     1.3 @@ -343,7 +343,7 @@ vmx_hpw_miss(u64 vadr , u64 vec, REGS* r
     1.4              if (!(pteval & _PAGE_P)) {
     1.5                  if (vpsr.ic) {
     1.6                      vcpu_set_isr(v, misr.val);
     1.7 -                    data_page_not_present(v, vadr);
     1.8 +                    dtlb_fault(v, vadr);
     1.9                      return IA64_FAULT;
    1.10                  } else {
    1.11                      nested_dtlb(v);