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

Re: [Xen-ia64-devel] Patch: XEN_HYPER_ITC_D and XEN_HYPER_ITC_I in vhpt_miss


  • To: "Undisclosed.Recipients": ;
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 24 May 2006 13:34:23 +0200
  • Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 24 May 2006 04:34:32 -0700
  • Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=jrVd0rYgQ8Z/Ye11iykQBTUyfvVRZSBy5A2cwxHw4f/yaU4WA4S7gG8ZrRn0b15aPTKQR69nUIFpNMuEcuwH0hp/ya5L+XPDfyaQY2E4/QT0V82NnhtmCgu/Igtuvzm3;
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

Am Mittwoch, 24. Mai 2006 06:07 schrieb Tian, Kevin:
> >From: Magenheimer, Dan (HP Labs Fort Collins)
> >Sent: 2006年5月23日 22:40
> >> > > > May it be that XEN_HYPER_ITC_D and XEN_HYPER_ITC_I are
> >in
> >> > >
> >> > > the reverse
> >> > >
> >> > > > order?
> >> > >
> >> > > Good catch.
> >> > >
> >> > > Feel free to send a patch.
> >> >
> >> > Does this code ever get executed?  The VHPT is pinned by
> >> > a TR, correct?
> >
> >Oops, Xen's VHPT is pinned, the guest's isn't pinned.
> >
> >> For sure it is strange we never hit this bug ;-)
> >
> >Yes, it looks like the faulty code should get executed.
> >Maybe it quickly
> >fixes itself because the wrong vtlb gets inserted,
> >then another miss immediately occurs which is not
> >a VHPT fault so the correct vtlb gets inserted.
> 
> Definitely. The key point is that vhpt entry is inserted after above bogus 
> place and then TLB miss immediately happens after resuming with 
> hardware triggered to walk vhpt table by inserting desired mapping. 
> Above two insertions are only optimization code which don't hurt 
> anything even not being there.
> 
> >
> >Anyway, yes, please submit a patch!
> >
> >Dan
> >
> 
> Yes, patch is needed.
> 
> Thanks,
> Kevin
> 

Hi,

I hope the patch is in the right format.
Thanks.

Dietmar.

Attachment: swap_ITC_I-ITC_D.patch
Description: Text Data

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

 


Rackspace

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