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][TAKE4] the P2M/VP patches

On Tue, Apr 11, 2006 at 09:29:18AM +0100, Tristan Gingold wrote:
> Le Mardi 11 Avril 2006 03:52, Isaku Yamahata a écrit :
> > Thank you for testing.
> >
> > On Mon, Apr 10, 2006 at 03:52:52PM +0100, Tristan Gingold wrote:
> > > Le Vendredi 07 Avril 2006 06:16, Isaku Yamahata a écrit :
> > > > Hello.
> > > > I attached the P2M/VP model patches take 4 for the change set
> > > > 9492:2133fb78dba3cf6b6b88d1566fc5cc9de3039f43.
> > > > Please comments/request/review.
> > >
> > > I am testing this on my FAME-C.
> > > Currently it doesn't work: this is an infinite loop in an mpt driver.
> > > I will check how it does handle DMA.
> >
> > It seems wrong dma address is used.
> > My test environment is Tiger-2. Mpt driver is used.
> > I encountered similar case before, but I don't remember clearly.
> In fact I think it is due to the bug below.

It seems that the IOSAPIC area is not mapped to dom0.
Does the following patch make difference?
Could you send the all log?


diff -r e2003842daeb xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Apr 10 15:08:03 2006 +0900
+++ b/xen/arch/ia64/xen/domain.c        Tue Apr 11 18:21:34 2006 +0900
@@ -752,6 +752,7 @@ assign_domain_mmio_page(struct domain *d
     if (size == 0) {
         printk("%s: domain %p mpaddr 0x%lx size = 0x%lx\n",
                __func__, d, mpaddr, size);
+        size = PAGE_SIZE;
     }
     assign_domain_same_page(d, mpaddr, size);
     return mpaddr;


-- 
yamahata

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

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