WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [linux-ppc-2.6] [XEN] The VIO rewrite

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [XenPPC] [linux-ppc-2.6] [XEN] The VIO rewrite
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2006 15:18:46 +1100
Delivery-date: Sun, 05 Nov 2006 20:19:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1Gg77d-0000CM-6f@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
References: <E1Gg77d-0000CM-6f@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Nov 03, 2006 at 10:02:41PM +0000, Xen patchbot-linux-ppc-2.6 wrote:
> # HG changeset patch
> # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
> # Node ID 2a9c6a23cd1292e9ed361e33d640ce84a6fbdb53
> # Parent  f4d382795e57b926cd82256bcb3a74c539731796
> [XEN] The VIO rewrite
> 
> Once you figure it all out, its time to do a rewrite, lots of code I
> thougth I needed is now removed and less PPC specific code now exists.
> 
> This patch uses the MEMORY_HOTPLUG system to add a region to the
> Kernel Linear Mapping that will be used exclusively to map in
> Granted/Foreign pages.  This creates "struct page" objects in Linux
> which are necessary to perform VIO operations.  When one of these
> pages are grant_mapped the pfn2mfn() translation in Xen is updated to
> reflect the association and the subsequent H_ENTER() from the domain
> will contain the correct mapping.

I gave the newtwork tests a spin with this patch.  After 4 hours I
stopped the tests.

I see a bunch of these warnings on the xen console.
---
(XEN) allocated RMA for Dom[13]: 0x18000000[0x4000000]
(XEN) Domain[13].0: initializing
(XEN) WARN at /home/tony/Xen/xenppc-unstable.hg.working/xen/include/asm/mm.h:262
(XEN) [000000000000F8A0] 000000000040D8B4 .gmfn_to_mfn+0x70/0xa4
(XEN) [000000000000F930] 000000000040FE6C .__gnttab_copy+0x2c8/0x5a4
(XEN) [000000000000FA00] 00000000004101D4 .gnttab_copy+0x8c/0x130
(XEN) [000000000000FAE0] 00000000004104AC .do_grant_table_op+0x234/0x2d4
(XEN) [000000000000FC00] 000000000043D698 .hcall_xen+0xcc/0xfc
(XEN) [000000000000FC90] 000000000043D7BC .do_hcall+0x54/0x84
(XEN) [000000000000FD20] 00000000004524C8 ex_hcall_continued+0xe4/0xf4
(XEN) [000000000043C0FC] 800100017C0802A6
(XEN) SP (600000004bffffd8) is not in xen space
(XEN) (file=grant_table.c, line=890) could not get source frame 
ffffffffffffffff.
(XEN) WARN at /home/tony/Xen/xenppc-unstable.hg.working/xen/include/asm/mm.h:262
(XEN) [000000000000F8A0] 000000000040D8B4 .gmfn_to_mfn+0x70/0xa4
(XEN) [000000000000F930] 000000000040FE6C .__gnttab_copy+0x2c8/0x5a4
(XEN) [000000000000FA00] 00000000004101D4 .gnttab_copy+0x8c/0x130
(XEN) [000000000000FAE0] 00000000004104AC .do_grant_table_op+0x234/0x2d4
(XEN) [000000000000FC00] 000000000043D698 .hcall_xen+0xcc/0xfc
(XEN) [000000000000FC90] 000000000043D7BC .do_hcall+0x54/0x84
(XEN) [000000000000FD20] 00000000004524C8 ex_hcall_continued+0xe4/0xf4
(XEN) [000000000043C0FC] 800100017C0802A6
(XEN) SP (600000004bffffd8) is not in xen space
(XEN) (file=grant_table.c, line=890) could not get source frame 
ffffffffffffffff.
---

On the bright side, asside from the fact the tests are taking a long time, at
least some of them are succeeding.

---
Blade4:~/xm-test # egrep '(PASS|FAIL|SKIP)' network_vio.output
XFAIL: 02_network_local_ping_pos.test
PASS: 03_network_local_tcp_pos.test
PASS: 04_network_local_udp_pos.test
XPASS: 05_network_dom0_ping_pos.test
PASS: 06_network_dom0_tcp_pos.test
PASS: 07_network_dom0_udp_pos.test
XFAIL: 11_network_domU_ping_pos.test
FAIL: 12_network_domU_tcp_pos.test
FAIL: 13_network_domU_udp_pos.test
---

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel