[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] Provides right frequency ratio and base for VTi domain
Hi Dan, Sorry for last mail, and the patch in last mail don't provide frequency base support, so please check in this one and drop the last one. Thanks Xiantao CSD-OTC PRC Virtualization Intel (China) Limited -----Original Message----- From: Zhang, Xiantao Sent: 2006年2月21日 9:51 To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx; 'Magenheimer, Dan (HP Labs Fort Collins)' Cc: Yu, Ke Subject: [PATCH] Provides right frequency_ratio for VTi domain Hi Dan, This patch handles the pal_freq_ratio request breaked to Xen by GFW for VTi domain. and it fixed the wrong frequency_ratio of VTi domian.So,with this patch, VTi domain can get the right time , itc, cpu frequency and other kernel params rely on right frequency_ratio. Please help to check in. thx. Signed-off-by: Zhang xiantao <xiantao.zhang@xxxxxxxxx> Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx> diff -r 1507c5499a92 xen/arch/ia64/vmx/pal_emul.c --- a/xen/arch/ia64/vmx/pal_emul.c Fri Jan 6 18:39:28 2006 +++ b/xen/arch/ia64/vmx/pal_emul.c Tue Feb 21 09:02:29 2006 @@ -19,7 +19,7 @@ */ #include <asm/vmx_vcpu.h> - +#include <asm/pal.h> static void get_pal_parameters (VCPU *vcpu, UINT64 *gr29, UINT64 *gr30, UINT64 *gr31) { @@ -184,6 +184,10 @@ static struct ia64_pal_retval pal_freq_ratios(VCPU *vcpu){ + struct ia64_pal_retval result; + + PAL_CALL(result,PAL_FREQ_RATIOS, 0, 0, 0); + return result; } static struct ia64_pal_retval @@ -269,6 +273,10 @@ case PAL_PLATFORM_ADDR: result = pal_platform_addr (vcpu); + break; + + case PAL_FREQ_RATIOS: + result = pal_freq_ratios (vcpu); break; default: Thanks Xiantao CSD-OTC PRC Virtualization Intel (China) Limited Attachment:
adjust_freq_ratio_and_base_for_vti.patch _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |