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

RE: [Xen-ia64-devel] PATCH: vti bugs fix

On Fri, 2006-08-11 at 15:57 +0800, Xu, Anthony wrote:
> >
> >Below fixes may be more efficient, and there was this logic, but was removed
> >by accident
> 
> I got what you mean, these two patch are both needed.

Hi Anthony,

   Please submit a proper patch for the below if you want it in the
tree.  Thanks,

        Alex

> >diff -r 6f02c4b9a9d0 xen/arch/ia64/vmx/vtlb.c
> >    135 --- a/xen/arch/ia64/vmx/vtlb.c  Wed Aug 09 12:05:13 2006 +0800
> >    136 +++ b/xen/arch/ia64/vmx/vtlb.c  Fri Aug 11 09:54:37 2006 +0800
> >    137 @@ -250,7 +250,7 @@ void vtlb_purge(VCPU *v, u64 va, u64 ps)
> >    138      psbits = VMX(v, psbits[(va >> 61)]);
> >    139      size = PSIZE(ps);
> >    140      start = va & (-size);
> >    141 -    end = start + size;
> >    142 +    end = start + size -1;
> >    143      while (psbits) {
> >    144          curadr = start;
> >    145          ps = __ffs(psbits);
> >    146 @@ -281,7 +281,7 @@ static void vhpt_purge(VCPU *v, u64 va,
> >    147      ia64_rr rr;
> >    148      size = PSIZE(ps);
> >    149      start = va & (-size);
> >    150 -    end = start + size;
> >    151 +    end = start + size -1;
> >    152      rr.rrval = ia64_get_rr(va);
> >    153      size = PSIZE(rr.ps);
> >    154      while(start < end){

-- 
Alex Williamson                             HP Open Source & Linux Org.


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

<Prev in Thread] Current Thread [Next in Thread>