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

Re: [Xen-ia64-devel] Where are DTR6 and DTRA defined and set?



I guess the LSB 1 bit is used for thread id or something else.
Does the processor support threading?

On Sat, May 31, 2008 at 12:11:49PM +0900, Isaku Yamahata wrote:
> Hi.
> 
> Hmm, although I haven't ever used hw probe, it looks like that
> those indexes you reported are left shifted by one.
> Could you check the manual of your hardware probe?
> 
> For VTi guest, Xen surely uses KENREL, PERCPU_DATA,
> (CURRENT_STACK if the stack isn't mapped by KERNEL),
> MAPPED_REGS and VHPT.
> So DTR0, 1, 2, 3, 5 should be valid.
> By shifting left them by one, we get 0, 2, 4, 6, A.
> Those are which you reported.
> 
> thanks,
> 
> On Fri, May 30, 2008 at 02:24:29PM -0700, Paul Leisy wrote:
> > Greetings,
> > 
> > Using a hardware probe while running an HVM guest, I examined
> > the Data TLB to see what TRs Xen had setup. It showed that
> > DTR0,2,4,6,A were valid. Searching the Xen source code, I
> > found these defined:
> > 
> > DTR0 = IA64_TR_KERNEL
> > DTR1 = IA64_TR_PERCPU_DATA
> > DTR2 = IA64_TR_CURRENT_STACK
> > DTR3 = IA64_TR_MAPPED_REGS
> > DTR4 = IA64_TR_SHARED_INFO
> > DTR5 = IA64_TR_VHPT
> > 
> > But these were not found:
> > DTR6 = ????
> > DTRA = ????
> > 
> > Can someone tell me where these DTRs are defined and
> > what code sets them up?
> > 
> > Thanks,
> > -Paul Leisy
> > 
> > _______________________________________________
> > Xen-ia64-devel mailing list
> > Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-ia64-devel
> > 
> 

-- 
yamahata

_______________________________________________
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®.