Re: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2009-01-06 Thread Isaku Yamahata
applied, thanks. On Tue, Jan 06, 2009 at 03:56:07PM +0800, Cui, Dexuan wrote: > Isaku Yamahata wrote: > > On Mon, Jan 05, 2009 at 05:39:52PM +0800, Cui, Dexuan wrote: > >> Isaku Yamahata wrote: > >>> On x86 case p2m_lock/unlock() avoids the race, but ia64 doesn't > >>> have such lock. At this mome

RE: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2009-01-05 Thread Cui, Dexuan
Isaku Yamahata wrote: > On Mon, Jan 05, 2009 at 05:39:52PM +0800, Cui, Dexuan wrote: >> Isaku Yamahata wrote: >>> On x86 case p2m_lock/unlock() avoids the race, but ia64 doesn't >>> have such lock. At this moment, the only HVM domain would be >>> supported. >> OK, I understand we can't support pv

Re: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2009-01-05 Thread Isaku Yamahata
On Mon, Jan 05, 2009 at 05:39:52PM +0800, Cui, Dexuan wrote: > Isaku Yamahata wrote: > > On x86 case p2m_lock/unlock() avoids the race, but ia64 doesn't have > > such lock. > > At this moment, the only HVM domain would be supported. > OK, I understand we can't support pv iommu before resolving the

RE: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2009-01-05 Thread Cui, Dexuan
Isaku Yamahata wrote: > On x86 case p2m_lock/unlock() avoids the race, but ia64 doesn't have > such lock. > At this moment, the only HVM domain would be supported. OK, I understand we can't support pv iommu before resolving the lockless p2m issue. > The issue is dom0 case. I suppose it can be sup

Re: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2009-01-04 Thread Isaku Yamahata
Hi. Sorry for delayed reply. On Thu, Dec 25, 2008 at 10:14:09PM +0800, Cui, Dexuan wrote: > Isaku Yamahata wrote: > > On Wed, Dec 24, 2008 at 01:11:03PM +0800, Cui, Dexuan wrote: > >> Isaku Yamahata wrote: > diff -r 008b68ff6095 xen/arch/ia64/xen/domain.c > --- a/xen/arch/ia64/xen/domain

RE: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2008-12-25 Thread Cui, Dexuan
Isaku Yamahata wrote: > On Wed, Dec 24, 2008 at 01:11:03PM +0800, Cui, Dexuan wrote: >> Isaku Yamahata wrote: diff -r 008b68ff6095 xen/arch/ia64/xen/domain.c --- a/xen/arch/ia64/xen/domain.c Tue Nov 18 10:33:55 2008 +0900 +++ b/xen/arch/ia64/xen/domain.c Mon Dec 15 18:41:52 2008

Re: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2008-12-23 Thread Isaku Yamahata
On Wed, Dec 24, 2008 at 01:11:03PM +0800, Cui, Dexuan wrote: > Isaku Yamahata wrote: > >> diff -r 008b68ff6095 xen/arch/ia64/xen/domain.c > >> --- a/xen/arch/ia64/xen/domain.c Tue Nov 18 10:33:55 2008 +0900 > >> +++ b/xen/arch/ia64/xen/domain.c Mon Dec 15 18:41:52 2008 +0800 > >> @@ -602,10 +60

RE: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2008-12-23 Thread Cui, Dexuan
Isaku Yamahata wrote: >> diff -r 008b68ff6095 xen/arch/ia64/xen/domain.c >> --- a/xen/arch/ia64/xen/domain.c Tue Nov 18 10:33:55 2008 +0900 >> +++ b/xen/arch/ia64/xen/domain.c Mon Dec 15 18:41:52 2008 +0800 >> @@ -602,10 +602,8 @@ int arch_domain_create(struct domain *d, >> if ((d->arc

Re: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

2008-12-23 Thread Isaku Yamahata
On Tue, Dec 23, 2008 at 11:20:34AM +0800, Cui, Dexuan wrote: > In arch_domain_create(): when xen creates Dom0, need_iommu(d) is false, so > iommu_domain_init() is not invoked, as a result, eventually iommu is not > enabled properly. > > In IA64 Xen, physdev_map_pirq()/physdev_unmap_pirq() are ke