Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-10 Thread Alex Williamson
On Fri, 2006-07-07 at 21:09 +0900, Atsushi SAKAI wrote: Hi, All This patch emulates Guest PAL_HALT_LIGHT on domU by using do_block and timer. It also adds the function of the timer interrupt to domU at the vcpu woke up. Applied. -- Alex Williamson HP Open

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-07 Thread Atsushi SAKAI
Hi, Kevin Sorry for late, my mail sorting was failed. Thanks for your comments. Anyway, I reply as follows (2items) 1)mITC vITC relation in GuestOS At ParaVM GuestOS, it uses real mITC as vITC(=mITC). See the below(Compare the ParaVM and the FullVM) a)In ParaVM GuestOS, itm/itc used by

RE: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-07 Thread Tian, Kevin
From: Atsushi SAKAI [mailto:[EMAIL PROTECTED] Sent: 2006年7月7日 15:27 Hi, Kevin Sorry for late, my mail sorting was failed. Thanks for your comments. Anyway, I reply as follows (2items) 1)mITC vITC relation in GuestOS At ParaVM GuestOS, it uses real mITC as vITC(=mITC). See the below(Compare the

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-07 Thread Atsushi SAKAI
Hi, Kevin Thank you for your comments. I agree your points. I will change it as your comments. Anyway, I should change the name of function(vcpu_get_next_timer), because the meaning is changed.:-) Thanks, Atsushi SAKAI From: Atsushi SAKAI [mailto:[EMAIL PROTECTED] Hi, Kevin Sorry for

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-07 Thread Atsushi SAKAI
Hi, All This patch emulates Guest PAL_HALT_LIGHT on domU by using do_block and timer. It also adds the function of the timer interrupt to domU at the vcpu woke up. Signed-off-by: Atsushi SAKAI [EMAIL PROTECTED] About the timer interrupt to domU The function xen_timer_interrupt on Xen only

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-05 Thread Tristan Gingold
Le Mercredi 05 Juillet 2006 07:27, Isaku Yamahata a écrit : Hi Sakai. xenLinux/x86 paravirtualizes idle loop to get timer interrupt while cpu halting. More exactly safe_halt() is paravirtualized using HYPERVISOR_set_timer_op(). Xen/IA64 doesn't support HYPERVISOR_set_timer_op(), but it

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-05 Thread Atsushi SAKAI
Hi, Yamahata-san, Thank you for your comments. In IA64, ITM/ITC model is used.(for example *1) This IA64 model is different from x86 timer model. So It needs to send a correct ITM/ITC interrupt to Guest OS by using VIRQ_ITC. This VIRQ_ITC signal timing is controlled by the Guest OS itself. So

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-05 Thread Atsushi SAKAI
Hi, Tristan. I have no idea without changing the linux scheduler code. I also want to know the idea to solve your problem. If the linux stops over 10 seconds, it appears. On Xen, that problem is common in x86/VTx, IA64/noVTI and VTI. Thanks, Atsushi SAKAI I have a question related to the

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-05 Thread Atsushi SAKAI
Hi, Tristan. (just change the word from scheduler to timer, and add code links, sorry for disturbing you.) I have no idea without changing the linux timer code. I also want to know the idea to solve your problem. If the linux stops over 10 seconds, it appears. On Xen, that problem is common in

RE: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-05 Thread Tian, Kevin
From: Atsushi SAKAI Sent: 2006年7月5日 11:47 Hi, All This patch emulates Guest PAL_HALT_LIGHT on domU by using do_block and timer. It also adds the function of the timer event sending to domU at the vcpu woke up. Signed-off-by: Atsushi SAKAI [EMAIL PROTECTED] About the timer event sending to

[Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-04 Thread Atsushi SAKAI
Hi, All This patch emulates Guest PAL_HALT_LIGHT on domU by using do_block and timer. It also adds the function of the timer event sending to domU at the vcpu woke up. Signed-off-by: Atsushi SAKAI [EMAIL PROTECTED] About the timer event sending to domU The function xen_timer_interrupt on

Re: [Xen-ia64-devel] [PATCH] emulate PAL_HALT_LIGHT on domU

2006-07-04 Thread Isaku Yamahata
Hi Sakai. xenLinux/x86 paravirtualizes idle loop to get timer interrupt while cpu halting. More exactly safe_halt() is paravirtualized using HYPERVISOR_set_timer_op(). Xen/IA64 doesn't support HYPERVISOR_set_timer_op(), but it would be quite easy to add its support. I'm not sure about which is