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] VTi: break handling

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] VTi: break handling
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 11 Apr 2006 12:59:29 +0100
Delivery-date: Tue, 11 Apr 2006 04:55:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF3809D7@pdsmsx405>
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: <2BF508F394C196468CCBEC031320DCDF3809D7@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mardi 11 Avril 2006 13:41, Xu, Anthony a écrit :
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>
> >[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tristan
> >Gingold
> >Sent: 2006?4?11? 19:04
> >To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >Subject: [Xen-ia64-devel] VTi: break handling
> >
> >Hi,
> >
> >in vmx_ivt.S:
> >
> >// 0x2c00 Entry 11 (size 64 bundles) Break instruction (33)
> >ENTRY(vmx_break_fault)
> >    VMX_DBG_FAULT(11)
> >     mov r31=pr
> >    mov r19=11
> >    mov r30=cr.iim
> >    movl r29=0x1100
> >    ;;
> >
> >>>    cmp.eq p6,p7=r30,r0
> >>>    (p6) br.sptk vmx_fault_11
> >
> >    ;;
> >    cmp.eq  p6,p7=r29,r30
> >    (p6) br.dptk.few vmx_hypercall_dispatch
> >    (p7) br.sptk.many vmx_dispatch_break_fault
> >    ;;
> >    VMX_FAULT(11);
> >END(vmx_break_fault)
> >
> >Is the '>>' section debug code ? I fear a bug here.
>
> It was used for debug.
> Break 0, its opcode is 0,
> Usually break 0 is not used by linux kernel and application.
> When break 0 is executed, it usually means some thing wrong.
Sure, but if an application does break 0, it locks up Xen!
Maybe we should add a check.

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>