WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] unaligned access handler deadlock when a userapplic

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] unaligned access handler deadlock when a userapplication runs in big endian mode ( psr.be is set )
From: Gareth Knight <gareth@xxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2006 09:19:14 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Aug 2006 01:19:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <01913ADC4FF97E40AE0E2B001574AEE1481855@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <01913ADC4FF97E40AE0E2B001574AEE1481855@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hey Anthony,

This was DomU - I am going to get a montecito with VT setup next week to try VTI

Gareth.

Hi Gareth

Handling big endian mode is an interesting topic.
Frankly, In VTI side, we didn't handle big endian mode, and we knew this is
an issue.
I would like to look at this issue.

Did you run this application on domU or VTI-domain?


Thanks
Anthony

-----Original Message-----
From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Gareth
Knight
Sent: 2006?8?25? 7:58
To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] unaligned access handler deadlock when a
userapplication runs in big endian mode ( psr.be is set )

All,

Repost sans confidentiality notice !

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.


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

<Prev in Thread] Current Thread [Next in Thread>