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] [PATCH][RFC]copy_from/to_guest

To: Kouya SHIMURA <kouya@xxxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] [PATCH][RFC]copy_from/to_guest
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 10 Aug 2006 15:32:18 +0200
Delivery-date: Thu, 10 Aug 2006 06:27:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200608101315.k7ADFR1o026764@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <200608101315.k7ADFR1o026764@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 10 Août 2006 15:15, Kouya SHIMURA a écrit :
> Hi all,
>
> This patch fixes the copy_from/to_guest problem.
> As Akio reported, modularised netback causes dom0's down.
>
> The following process is happened in gnttab_transfer()@
> xen/common/grant_table.c:
>
>   gnttab_transfer()
>    => steal_page()
>      => assign_domain_page_cmpxchg_rel()
>        => domain_page_flush()
>          => domain_flush_vtlb_all()   // all TLBs are flushed
>    ...
>    => __copy_to_guest_offset()                // always fail to copy
>
> The embedded netback module has no problem because it uses TR pinned
> data.  But modularised one is out of TR. So copy_from/to_guest issue
> must be solved in order to modularise drivers.
>
> Attached patch fixes copy_from/to_guest issue for modularized netback.
> But I think this implementation is not beautiful.
Indeed.

I am planning to port xencomm from xen-ppc to xen-ia64.  This will make an 
incompatible change but will definitly get rid of these problems.

Seems to be more urgent than I thought!

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>