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] Linux bug with Xen

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Linux bug with Xen
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 23 Mar 2006 14:05:28 +0100
Delivery-date: Thu, 23 Mar 2006 13:02:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E79C3@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD8094E79C3@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 23 Mars 2006 13:33, Tian, Kevin a écrit :
> From: Tristan Gingold
>
> >Sent: 2006年3月23日 20:31
> >Hi,
> >
> >I think I hit a linux kernel bug.
> >The situation is:
> >
> >* an interrupt happen
> >* interrupt IVT entry is executed with ic=0
> >* within the entry, SAVE_MIN_WITH_COVER try to access to the current
> >area,
> >  pointed by kr6
> >* Unfortunatly, the 'current' area is not mapped, thus xen has to handle
> >the
> >page fault.
> >* the translation fails inside Xen and Xen injects a nested dtlb miss
> > fault. * The linux nested dtlb miss don't know how to handle this fault
> > (only vmemmap
> >are handled).
> >
> >As far as I know/read the sources, the linux current area is not
> >TR-mapped.
> >So Xen appears to be correct and the linux kernel may be buggy here.
>
> No, the current stack is always mapped by TR (at a granule of 64M/16M),
> or else nothing can be forwarded since heavy weight exception handler
> always needs to save interrupt context to current stack when psr.ic off.
> You can check ia64_switch_to in entry.S, and so that's a Xen bug since
> xen should always hit translation in vTR area.
Ok, thank you.
I missed this information since CURRENT_STACK is mapped and not CURRENT.
But they are on the same page.

So I have to find why TR and KR doesn't match.

Thanks,
Tristan.



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

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