[Xen-ia64-devel] unaligned access handler deadlock when a user application runs in big endian mode ( psr.be is set )

2006-08-24 Thread Gareth Knight

All,

I've got top of tree xen-ia64-unstable.hg running on my Tiger  
system.  I'm working on getting our (Transitive's) QuickTransit  
dynamic binary translator working in a guest machine.  QuickTransit  
Sparc Solaris - ia64 linux makes use of the big endian mode to speed  
up its translation of Sparc applications.


I've tried adding a rum psr.be in all the interrupt vectors near  
the top and that certainly improves matters, but it also causes the  
unaligned access handler to believe the user app is running in little  
endian mode, which is not true.  I've put together an example to  
demonstrate the issue.  The source is attached below.  Basically the  
example tries to do an unaligned access whilst in big endian mode,  
which when running correctly currently produces a SIGBUS ( since the  
Linux kernel currently has no big endian unaligned access  
handling ).  On the Xen kernel it currently deadlocks.


Comments welcome,

Gareth.



asmFunction.s
Description: Binary data


asmTest.c
Description: Binary data
___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Re: [Xen-ia64-devel] unaligned access handler deadlock when a user application runs in big endian mode ( psr.be is set )

2006-08-24 Thread Aron Griffis
Gareth Knight wrote:  [Thu Aug 24 2006, 07:33:07PM EDT]
 The source is attached below.

You can't really believe anybody is going to look at that with the
confidentiality notice at the top...?

Aron

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


Re: [Xen-ia64-devel] unaligned access handler deadlock when a user application runs in big endian mode ( psr.be is set )

2006-08-24 Thread Gareth Knight

Oops !

I see it so often its almost invisible now, will repost

Thanks !

Gareth.


Gareth Knight wrote:  [Thu Aug 24 2006, 07:33:07PM EDT]

The source is attached below.


You can't really believe anybody is going to look at that with the
confidentiality notice at the top...?

Aron



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