[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-ia64-devel] [PATCH] Fix vmx_vcpu_thash()
>Hi, > >unfortunatly this is not true for me. I don't think I can install the >newest PAL and I use long format vhpt in vti mode. > >We can either: >* just add a comment saying the code is a work-around to be fixed. >* test PAL version and enable work-around if the version is too recent. >* replace calls to PAL_VPS_THASH and PAL_VPS_TTAG by our own code. >* ?? > Does following patch meet your need? if(vpta.vf){ pval = ia64_call_vsa(PAL_VPS_THASH, vadr, vrr.rrval, vpta.val, 0, 0, 0, 0); + this is a work-around, this check will be removed. + if(pval-(vpta.val&~0x7fff) >= (1UL << vpta.size)){ + pval = (vpta.val & ~0x7FFF) | (pval & ((1UL << vpta.size) - 1)); + } }else{ - Anthony _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |