Alex,
Thank you for providing the useful information.
This patch makes VTI-domain boot again.
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Signed-off-by: Anthony Xu <anthony.tian@xxxxxxxxx>
diff -r 83f7dfe273a0 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c Wed Apr 26 05:38:09 2006
+++ b/xen/arch/ia64/xen/domain.c Thu Apr 27 09:48:56 2006
@@ -680,7 +680,7 @@
//XXX CONFIG_XEN_IA64_DOM0_VP
// TODO racy
- if ((mpaddr & GPFN_IO_MASK) == GPFN_MEM)
+ if ((physaddr & GPFN_IO_MASK) == GPFN_MEM)
set_gpfn_from_mfn(physaddr >> PAGE_SHIFT, mpaddr >> PAGE_SHIFT);
}
else printk("assign_domain_page: mpaddr %lx already mapped!\n",mpaddr);
Thanks,
-Anthony
>-----Original Message-----
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alex
>Williamson
>Sent: 2006?4?27? 5:52
>To: You, Yongkang
>Cc: Isaku Yamahata; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-ia64-devel] Creating VTI will reboot whole system inlatest
>Cset.
>
>On Wed, 2006-04-26 at 09:04 -0600, Alex Williamson wrote:
>> On Wed, 2006-04-26 at 18:21 +0800, You, Yongkang wrote:
>> > Hi all,
>> >
>> > I found latest Cset 9851 has problem to create VTI domain.
>> > When try to create VTI domain, the whole system will reset.
>>
>> I see the same thing. Looks like it started with cset 9756
>> "introduce P2M conversion". I'll see if there's any obvious way to fix
>> it since reverting that patch may be difficult. Thanks,
>
>Isaku,
>
> AFAICT, we're dying in assign_domain_page() called from
>vmx_build_physmap_table() for the io_ranges. Could you make sure I
>didn't break something when applying the patches. The physaddr passed
>into assign_domain_page() from there seems suspicious. Thanks,
>
> Alex
>
>--
>Alex Williamson HP Linux & Open Source Lab
>
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel
make_vti_boot.patch
Description: make_vti_boot.patch
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|