RE: [Xen-ia64-devel] New error trying to create a domain(usinglatestxend-unstable

2008-03-19 Thread Duan, Ronghui
Hi Keir, The CS# 17131 which I write for bind guest to NUMA node via cpu affinity missed one condition existing in some machines, where there aren't any cpus but only memories. Under this condition it will fail to set cpu_affinity because of none parameter. I cope with this condition in the new

[Xen-ia64-devel] RE: simplify hw_irq.h

2008-03-19 Thread Dong, Eddie
Either are fine. -Original Message- From: Isaku Yamahata [mailto:[EMAIL PROTECTED] Sent: 2008年3月19日 10:45 To: Dong, Eddie Cc: Alex Williamson; xen-ia64-devel@lists.xensource.com Subject: Re: simplify hw_irq.h Hi Eddie. Thank you for the patches. ia64_vector is for iosapic redirect

[Xen-ia64-devel] RE: pv_ops: entry.S simplification

2008-03-19 Thread Dong, Eddie
Followup patch to delete dead file then. Thanks, eddie entry32.patch Description: entry32.patch ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel

[Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread Akio Takebe
Hi, move_to_psr need to unset the bits. Signed-off-by: Akio Takebe [EMAIL PROTECTED] Best Regards, Akio Takebe fix_vcpu_set_psr_l.patch Description: Binary data ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com

[Xen-ia64-devel] [Patch] [2/2] fix wrong emulation: set psr.i

2008-03-19 Thread Akio Takebe
Hi, we should not set psr.ic at setting psr.i. Signed-off-by: Akio Takebe [EMAIL PROTECTED] Best Regards, Akio Takebe fix_vcpu_set_psr_i.patch Description: Binary data ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com

Re: [Xen-ia64-devel] [Patch] [2/2] fix wrong emulation: set psr.i

2008-03-19 Thread tgingold
Quoting Akio Takebe [EMAIL PROTECTED]: Hi, we should not set psr.ic at setting psr.i. I think it was not wrong. You can't set psr.i without setting psr.ic. So at least, this was harmless. As this is an hyperprivop, the correct behaviour should be checked with linux sources. Tristan.

Re: [Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread tgingold
Quoting Akio Takebe [EMAIL PROTECTED]: Hi, move_to_psr need to unset the bits. Why not ispr-xxx = newpsr-xxx ? Seems simpler. Tristan. ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel

Re: [Xen-ia64-devel] [Patch] [2/2] fix wrong emulation: set psr.i

2008-03-19 Thread Akio Takebe
Hi, Tristan Quoting Akio Takebe [EMAIL PROTECTED]: Hi, we should not set psr.ic at setting psr.i. I think it was not wrong. You can't set psr.i without setting psr.ic. So at least, this was harmless. If so, should we check the psr.ic, and return something like Illegal Operation if

Re: [Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread Akio Takebe
Hi, Tristan Quoting Akio Takebe [EMAIL PROTECTED]: Hi, move_to_psr need to unset the bits. Why not ispr-xxx = newpsr-xxx ? Seems simpler. It's a good idea. I'll update it. Best Regards, Aki Takebe ___ Xen-ia64-devel mailing list

Re: [Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread Akio Takebe
Hi, I updated it. I tested boot+shutdown dom0/domU. Signed-off-by: Akio Takebe [EMAIL PROTECTED] Best Regards, Akio Takebe Hi, Tristan Quoting Akio Takebe [EMAIL PROTECTED]: Hi, move_to_psr need to unset the bits. Why not ispr-xxx = newpsr-xxx ? Seems simpler. It's a good idea. I'll

[Xen-ia64-devel] [Patch] linux: need to set psr.ac in page_fault

2008-03-19 Thread Akio Takebe
Hi, This patch fixes a different behavior from the original code. We need to set psr.ac. I tested boot+shutdown dom0/domU. Signed-off-by: Akio Takebe [EMAIL PROTECTED] Best Regards, Akio Takebe fix_set_psr_ac.patch Description: Binary data ___

Re: [Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread tgingold
Quoting Akio Takebe [EMAIL PROTECTED]: Hi, I updated it. Haven't you changed the behaviour of dfh: From - if (newpsr.dfh) { - ipsr-dfh = 1; - PSCB(vcpu, vpsr_dfh) = 1; - } else { - ipsr-dfh = PSCB(vcpu, hpsr_dfh); -

Re: [Xen-ia64-devel] [Patch] [1/2] fix wrong emulation: move to psr

2008-03-19 Thread Akio Takebe
Hi, Tristan Quoting Akio Takebe [EMAIL PROTECTED]: Hi, I updated it. Haven't you changed the behaviour of dfh: From - if (newpsr.dfh) { - ipsr-dfh = 1; - PSCB(vcpu, vpsr_dfh) = 1; - } else { - ipsr-dfh = PSCB(vcpu, hpsr_dfh); -

[Xen-ia64-devel] Where to compile additional IVT.S

2008-03-19 Thread Dong, Eddie
Alex/Isaku: Current the make file is to compile additional ivt.S at kernel/., another approach is to compile in xen/.. The later one has following benfit: 1: Easy to read for Makefile and easy to extend for more hypervisors. 2: Xen specific ministate.h can be in

[Xen-ia64-devel] PATCH: new SIOEMU interface

2008-03-19 Thread tgingold
Hi, this patch changes the SIOEMU callback interface. The old method was flawed: the callback data were lost if occuring during an hypercall. This new interface is not backward compatible. I think it is not an issue since sioemu is not widely deployed. As currently committed, the sioemu fw