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-devel

RE: [Xen-devel] Re: is xen_l1_entry_update a nop?

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: is xen_l1_entry_update a nop?
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 31 Oct 2006 17:53:27 +0800
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Thu, 02 Nov 2006 13:35:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb8zynVePHZfGIaTHeWU4M9UgxFFgAAefDJAABGciA=
Thread-topic: [Xen-devel] Re: is xen_l1_entry_update a nop?
>From: Keir Fraser
>Sent: 2006年10月31日 17:44
>
>On 31/10/06 09:30, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>> However it seems that at least all __set_fix_maps depend on
>> xen_l1_entry_update path, and if it's a nop, how is xenlinux page table
>> modified indeed? Because we did see dom0 working correctly.
>>
>> Our environment is x86-64. :-(
>
>Have you disassembled xen_l1_entry_update() and checked that it
>appears to
>actually execute a hypercall?
>
>The BUG_ON() with side effect is considered bad form. It should really
>be
>if() BUG().
>
> -- Keir

The disassembled code seems correct:
ffffffff8011ba2c <xen_l1_entry_update>:
...
ffffffff8011ba9d:   49 c7 c2 f0 7f 00 00    mov    $0x7ff0,%r10
ffffffff8011baa4:   e8 77 b5 fe ff          callq  ffffffff80107020 
<hypercall_page+0x20>

Actually dom0 works fine and acpi table can be seen correctly. That's why I'm 
interested how dom0 page table is actually updated? :-)

Thanks,
Kevin

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

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