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

RE: [Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug


  • To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
  • Date: Fri, 17 Mar 2006 13:22:53 -0800
  • Delivery-date: Fri, 17 Mar 2006 21:23:48 +0000
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZJaM2TghPmjO8iQyianLrquGurJgACNvzQACWRnbA=
  • Thread-topic: [Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug

I see from others' comments that a fix for this is
definitely necessary and this is fine as a temporary
patch, but the logical code flow for
it is now very convoluted and (I think... I've never
seen the problem) you are now putting out a printk
message that is incorrect.  Correct?

Dan

> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Xu, Anthony
> Sent: Thursday, March 16, 2006 8:22 PM
> To: Xu, Anthony; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug
> 
> Please desert the old one and use this new one
> 
> Thanks,
> -Anthony 
> 
> >-----Original Message-----
> >From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
> >[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On 
> Behalf Of Xu, Anthony
> >Sent: 2006å3æ17æ 10:17
> >To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >Subject: [Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug
> >
> >There are some below code segments in guest OS
> >1.   Rsm psr.dt
> >             ...
> >2.           itc.d r18
> >             ...
> >3.           rfi
> >
> >After executing instruction 1, domain is in metaphysical mode.
> >When executing instruction 2, VMM gets control to emulate this
> >instruction. Firstly VMM will try to get opcode, which may
> >trigger a tlb miss. At this time domain is in metaphysical mode
> >and the fault address is in region 5. vcpu_translate handles this
> >as normal guest metaphysical mode.
> >
> >It's not correct; sometimes this will make dom0 hang.
> >
> >cpu_translate should handle this situation as if
> >guest is not in metaphysical mode.
> >
> >
> >
> >Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
> >
> >Thanks,
> >-Anthony
> 
> 
_______________________________________________
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®.