[XenPPC] Re: [Xen-devel] [RFC][PATCH 1/2] export NUMA topology from xen

2007-06-06 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-04-24 10:30]: > * Keir Fraser <[EMAIL PROTECTED]> [2007-04-10 04:13]: > > On 10/4/07 02:09, "Ryan Harper" <[EMAIL PROTECTED]> wrote: > > > > > nr_nodes : 4 > > > mem_chu

[XenPPC] Re: [Xen-devel] [RFC][PATCH 1/2] export NUMA topology from xen

2007-04-24 Thread Ryan Harper
* Keir Fraser <[EMAIL PROTECTED]> [2007-04-10 04:13]: > On 10/4/07 02:09, "Ryan Harper" <[EMAIL PROTECTED]> wrote: > > > nr_nodes : 4 > > mem_chunks : node0:0x-0x00019000 > >

[XenPPC] [PATCH 1 of 2] [PATCH] Add mfn flag to disambiguate gmfn in pfn2mfn

2007-03-19 Thread Ryan Harper
3 files changed, 43 insertions(+), 20 deletions(-) xen/arch/powerpc/mm.c| 50 +- xen/arch/powerpc/ofd_fixup.c |6 + xen/include/asm-powerpc/mm.h |7 + # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1174

[XenPPC] [PATCH 0 of 2] [PATCH] xen: flag gmfns as mfns

2007-03-19 Thread Ryan Harper
o Xen, used in pfn2mfn(), and exported via the devtree to dom0. A seperate patch to Linux reads the value of the flag and updates Linux to use the flag when mapping another domain's memory. Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> 5 files changed, 57 insertions(+), 31 deletions(-)

[XenPPC] [PATCH] linux: flag mfns when mapping another domain's memory

2007-03-19 Thread Ryan Harper
1 files changed, 16 insertions(+) arch/powerpc/platforms/xen/setup.c | 16 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1174343262 18000 # Node ID e4586f18b81e035f2b60d02f487ee23d01049e66 # Parent 04f6ad5d9232878cbcf8810025bb3ab59cbb62b6 linux: fla

[XenPPC] [PATCH 2 of 2] [PATCH] introduce io hole into dom0 p2m map

2007-03-19 Thread Ryan Harper
3 files changed, 14 insertions(+), 11 deletions(-) xen/arch/powerpc/domain_build.c | 15 --- xen/arch/powerpc/mm.c |6 ++ xen/arch/powerpc/ofd_fixup_memory.c |4 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1174331762

[XenPPC] RFC: Move p2m table into the kernel for priv domains

2007-03-07 Thread Ryan Harper
the p2m table directly (using d->arch.p2m). Linux: - override hpte_insert et al to translate pfn to mfn prior to hcall - modify xen comm code (for priv domains) to use p2m table to translate physical to machine before calling hypervisor -- Ryan Harper Software Engineer; Linux

Re: [XenPPC] [PATCH 0 of 5] [PATCH] replace extent list with p2m/m2p mapping

2007-03-01 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-03-01 13:45]: > Note that a 1 line patch to linux is needed to allow populate_physmap > to work. I'll send that seperately from this patchset. Same as before. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin,

[XenPPC] [PATCH 0 of 5] [PATCH] replace extent list with p2m/m2p mapping

2007-03-01 Thread Ryan Harper
ist to use p2m map xc_linux_build_use_populate_physmap.patch: - change libxc/powerc64/xc_linux_build() to use populate_physmap hcall Note that a 1 line patch to linux is needed to allow populate_physmap to work. I'll send that seperately from this patchset. Signed-off-by: Ryan Harper <[E

[XenPPC] [PATCH 4 of 5] [PATCH] xen: implement guest_physmap_{add/remove}_page for ppc

2007-03-01 Thread Ryan Harper
/include/asm-powerpc/domain.h|3 xen/include/asm-powerpc/mm.h| 29 + xen/include/asm-powerpc/platform.h | 27 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172776732 21600 # Node ID 76a5923eaed2cc0f3ea2f9b1ac26c82fd8e7bc2b #

[XenPPC] [PATCH 2 of 5] [PATCH] xen: move dom0 memory allocation into construct_dom0()

2007-03-01 Thread Ryan Harper
2 files changed, 35 insertions(+), 28 deletions(-) xen/arch/powerpc/domain_build.c | 56 +++ xen/arch/powerpc/setup.c|7 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172776732 21600 # N

[XenPPC] [PATCH 3 of 5] [PATCH] xen: implement guest_physmap_max_mem_pages() for ppc

2007-03-01 Thread Ryan Harper
3 files changed, 69 insertions(+), 2 deletions(-) xen/arch/powerpc/domain.c| 62 ++ xen/include/asm-powerpc/domain.h |6 +++ xen/include/asm-powerpc/shadow.h |3 + # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172

[XenPPC] [PATCH 1 of 5] [PATCH] xen: add arch hook for max_mem hcall

2007-03-01 Thread Ryan Harper
4 files changed, 14 insertions(+), 1 deletion(-) xen/common/domctl.c |4 xen/include/asm-ia64/shadow.h|2 ++ xen/include/asm-powerpc/shadow.h |7 ++- xen/include/asm-x86/shadow.h |2 ++ # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]>

[XenPPC] [PATCH 5 of 5] [PATCH] tools/libxc: change ppc xc_linux_build to use populate_physmap()

2007-03-01 Thread Ryan Harper
1 files changed, 32 insertions(+), 5 deletions(-) tools/libxc/powerpc64/xc_linux_build.c | 37 +++- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172776732 21600 # Node ID 178a3e6615fbf8dd556a4f8afa87e58bf7bbe575 #

Re: [XenPPC] [PATCH 2 of 6] [PATCH] xen: move dom0 memory allocation into construct_dom0()

2007-02-26 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-02-23 15:04]: > On Feb 21, 2007, at 6:17 PM, Ryan Harper wrote: > > NOTE: Linux creates its own stack so there is we do not need the > following: > /* put stack below everything */ > v->arch.ctxt.gprs[1] = dst - STACK_

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
* Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-23 11:43]: > On Fri, 2007-02-23 at 11:12 -0600, Ryan Harper wrote: > > * Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-23 10:58]: > > > On Fri, 2007-02-23 at 10:21 -0600, Ryan Harper wrote: > > > > > &g

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
* Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-23 10:58]: > On Fri, 2007-02-23 at 10:21 -0600, Ryan Harper wrote: > > > > The other method I was going to look into was to allocate dom0's rma, > > and then calculation would look like: > > > >d

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
27;s rma, and then calculation would look like: dom0_start_mfn = page_to_mfn(d->arch.rma_base); dom0_overlap = (dom0_start_mfn + dom0_nrpages - rma_sz) - IO_SIZE_PAGES; Any other good way to figure how much of dom0's allocation will fall within 2-4G IO hole? -- Ryan Harper Software E

[XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
* Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-22 16:30]: > On Thu, 2007-02-22 at 16:07 -0600, Ryan Harper wrote: > > > IIRC, when dom0 boots with 192MB (the default) I usually see ~19MB of > > heap available in the boot messages on js20. Looking at js21, I see: > &g

Re: [XenPPC] [PATCH 4 of 6] [PATCH] xen: implement guest_physmap_{add/remove}_page for ppc

2007-02-22 Thread Ryan Harper
* Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-22 16:20]: > On Wed, 2007-02-21 at 18:17 -0500, Ryan Harper wrote: > > @@ -504,17 +508,15 @@ unsigned long mfn_to_gmfn(struct domain > > mfn < (rma_mfn + (1 << d->arch.rma_order))) > > return

Re: [XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-22 Thread Ryan Harper
* Hollis Blanchard <[EMAIL PROTECTED]> [2007-02-22 15:01]: > On Wed, 2007-02-21 at 18:17 -0500, Ryan Harper wrote: > > 4 files changed, 72 insertions(+) > > xen/arch/powerpc/domain.c| 60 > > ++ > > xen/arch/powerpc/d

Re: [XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-22 Thread Ryan Harper
; >=> this would leave one unreferenced heap allocation in memory > >(p2m_old) without a chance to free it after the local variable p2m_old > >disappears and the actively used table d->arch.p2m point to freed heap. > >I assume the

[XenPPC] [PATCH] linux: add populate_physmap to memory hcalls for ppc

2007-02-21 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-02-21 18:18]: > xc_linux_build_use_populate_physmap.patch: > - change libxc/powerc64/xc_linux_build() to use populate_physmap hcall > > Note that a 1 line patch to linux is needed to allow populate_physmap > to work. I'll send

[XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-21 Thread Ryan Harper
4 files changed, 72 insertions(+) xen/arch/powerpc/domain.c| 60 ++ xen/arch/powerpc/domain_build.c |5 +++ xen/include/asm-powerpc/domain.h |3 + xen/include/asm-powerpc/shadow.h |4 ++ # HG changeset patch # User Ryan Harper <[EM

[XenPPC] [PATCH 5 of 6] [PATCH] xen: add machine_to_phys table for ppc

2007-02-21 Thread Ryan Harper
3 files changed, 43 insertions(+), 28 deletions(-) xen/arch/powerpc/memory.c|1 xen/arch/powerpc/mm.c| 56 ++ xen/include/asm-powerpc/mm.h | 14 +- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172

[XenPPC] [PATCH 1 of 6] [PATCH] xen: add arch hook for max_mem hcall

2007-02-21 Thread Ryan Harper
2 files changed, 6 insertions(+) xen/common/domctl.c |4 xen/include/xen/shadow.h |2 ++ # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172103252 21600 # Node ID 17815286856eb2b67a64e64f2a0a53a7c5d505e2 # Parent 059beff4129bc0fc44032a95a8756c6ca8

[XenPPC] [PATCH 4 of 6] [PATCH] xen: implement guest_physmap_{add/remove}_page for ppc

2007-02-21 Thread Ryan Harper
3 files changed, 73 insertions(+), 40 deletions(-) xen/arch/powerpc/domain_build.c |4 + xen/arch/powerpc/mm.c | 101 +++ xen/arch/powerpc/ofd_fixup_memory.c |8 -- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]>

[XenPPC] [PATCH 6 of 6] [PATCH] tools/libxc: change ppc xc_linux_build to use populate_physmap()

2007-02-21 Thread Ryan Harper
1 files changed, 32 insertions(+), 5 deletions(-) tools/libxc/powerpc64/xc_linux_build.c | 37 +++- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172103252 21600 # Node ID 4a00d1da032210b39d80bdfff4d5f4b63c94d802 #

[XenPPC] [PATCH 0 of 6] [PATCH] replace extent list with p2m/m2p mapping

2007-02-21 Thread Ryan Harper
hcall Note that a 1 line patch to linux is needed to allow populate_physmap to work. I'll send that seperately from this patchset. Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> 1. http://lists.xensource.com/archives/html/xen-ppc-devel/2007-02/msg00047.html 12 files changed, 243

[XenPPC] [PATCH 2 of 6] [PATCH] xen: move dom0 memory allocation into construct_dom0()

2007-02-21 Thread Ryan Harper
2 files changed, 17 insertions(+), 14 deletions(-) xen/arch/powerpc/domain_build.c | 24 xen/arch/powerpc/setup.c|7 +-- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1172103252 21600 # Node ID 84ec1b4d5cd50cc9d49202eb978a4715c4

[XenPPC] Can't boot latest xen without debug=y build parameter

2007-02-16 Thread Ryan Harper
I've filed the details [1]here. I've tried both xen+zImage and xen+vmlinux.strip. Same error. If I add debug=y to building Xen, then xen+vmlinux.strip works fine. 1. http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=902 -- Ryan Harper Software Engineer; Linux Technology Cente

[XenPPC] [PATCH 1/2][2nd try] xen: remove start_info_t from dom0 building

2007-02-08 Thread Ryan Harper
-- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: tools/libxc/powerpc64/xc_linux_build.c |8 ++--- xen/arch/powerpc/domain_build.c| 47 ++--- xen/arch

[XenPPC] [PATCH 2/2][2nd try] linux: build start_info_t from devtree only

2007-02-08 Thread Ryan Harper
Updated: - made start_info_t xsi static -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: setup.c | 35 --- 1 files changed, 16 insertions(+), 19 deletions

Re: [XenPPC] [PATCH 2/2] linux: build start_info_t from devtree only

2007-02-08 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-02-08 06:48]: > some comments > On Feb 7, 2007, at 6:34 PM, Ryan Harper wrote: > > >This patch cleans up xen_init_early() to construct a start_info_t only > >from the devtree as Patch1 fixes xen to no longer create a

Re: [XenPPC] [PATCH 1/2] xen: remove start_info_t from dom0 building

2007-02-08 Thread Ryan Harper
all of the #define RMA_* can go now. There are a couple places, (mm.c for shared_info) and xc_linux_build() for domU which have to pick a page to use. Don't we want those choices marked in some common place? -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (5

[XenPPC] [PATCH 1/2] xen: remove start_info_t from dom0 building

2007-02-07 Thread Ryan Harper
erty "initdomain" in dom0 devtree Test booted on JS20, simple guest domU launched successfully. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: arch/p

[XenPPC] [PATCH 2/2] linux: build start_info_t from devtree only

2007-02-07 Thread Ryan Harper
This patch cleans up xen_init_early() to construct a start_info_t only from the devtree as Patch1 fixes xen to no longer create a start_info_t for dom0. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat

Re: [XenPPC] [PATCH] Fix bug where dtb database is not created

2007-02-06 Thread Ryan Harper
. Which will allow for DomU creation. Nice catch. Thanks Jerone. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.

[XenPPC] Slab corruption

2007-02-01 Thread Ryan Harper
30 30 2c 30 78 30 30 30 30 -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen

[XenPPC] [PATCH 4/4] sync xen/include/public/xen.h with unstable

2007-01-30 Thread Ryan Harper
ncs us back to xen-unstable.hg's version of xen.h -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: xen.h | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) Signed-off-by: Ryan H

[XenPPC] [PATCH 3/4] linux: create start_info_t from devtree

2007-01-30 Thread Ryan Harper
Create a start_info_t structure from devtree if start_info_t is not passed in. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: setup.c | 28 +++- 1 files changed, 27

[XenPPC] [PATCH 1/4] move shared page definitions to public header

2007-01-30 Thread Ryan Harper
Move shared page location contract to public header to share with libxc. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: arch/powerpc/domain_build.c |1 + arch/powerpc/mm.c

[XenPPC] [PATCH 2/4] create start_info_t in linux

2007-01-30 Thread Ryan Harper
Add information into flat devtree needed to create a start_info_t structure in linux. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: mk_flatdevtree.c | 89

[XenPPC] [PATCH 0/4] move start_info_t creation to linux

2007-01-30 Thread Ryan Harper
for start_info_t Patch4: sync_ppc_with_unstable_for_start_info_t.patch No changes. 1. http://lists.xensource.com/archives/html/xen-ppc-devel/2007-01/msg00188.html 2. http://lists.xensource.com/archives/html/xen-ppc-devel/2007-01/msg00190.html -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx

Re: [XenPPC] [PATCH 1/3] libxc: add start_info_t node to devtree

2007-01-25 Thread Ryan Harper
all you are trying to do > is make sure the pages are in the reserve map. Another possibility > is you could not assume contiguity and create a reservation entry for > each of the three pages. I don't understand what is wrong with the above. We are re

Re: [XenPPC] [PATCH 1/3] libxc: add start_info_t node to devtree

2007-01-25 Thread Ryan Harper
to make sure there absence is recognized in linux/.../setup.c. OK, I'll take a look. > >Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> > >--- > >diff -r ed5ee9dde0bd tools/libxc/powerpc64/mk_flatdevtree.c > >--- a/tools/libxc/powerpc64/mk_flatdevtree.c Sun

[XenPPC] [PATCH] xend: Don't ignore shadow memory requirement

2007-01-25 Thread Ryan Harper
Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: image.py | 32 +++- 1 files changed, 15 insertions(+), 17 deletions(-) Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> --- We

Re: [XenPPC] [PATCH 2/3] linux: build start_info_t from devtree

2007-01-25 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-01-24 11:51]: > This patch adds support to linux:xen_init_early() to create a > start_info_t structure from properties in /xen/start_info_t if the > device tree does not have a pointer (/xen/start-info) to a previously > constructed star

Re: [XenPPC] [PATCH 1/3] libxc: add start_info_t node to devtree

2007-01-25 Thread Ryan Harper
fo' -fixed 'shared-info' to be a proper value -reduced the number of pages reserved at the end of RMA from 4 to 3 as we no longer need to reserve a page for start_info_t -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253

Re: [XenPPC] [PATCH 3/3] sync xen/include/public/xen.h with unstable

2007-01-25 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-24 12:52]: > since we don;t use the sparse tree, we'll need a linux patch with > this change as well. I looks to me that linux-ppc-2.6.hg/include/xen/interface/xen.h is already in sync w.r.t start_info_t so no extra patch for linux n

[XenPPC] [PATCH 2/3] linux: build start_info_t from devtree

2007-01-24 Thread Ryan Harper
This patch adds support to linux:xen_init_early() to create a start_info_t structure from properties in /xen/start_info_t if the device tree does not have a pointer (/xen/start-info) to a previously constructed start_info_t in memory. -- Ryan Harper Software Engineer; Linux Technology Center

[XenPPC] [PATCH 3/3] sync xen/include/public/xen.h with unstable

2007-01-24 Thread Ryan Harper
us back to xen-unstable.hg's version of xen.h -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: xen.h | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) Signed-off-by: Ryan Harpe

[XenPPC] [PATCH 0/3] move start_info_t construction to linux

2007-01-24 Thread Ryan Harper
domUs). This is one of the steps to eventually removing then need for start_info_t entirely Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> arch/powerpc/platforms/xen/setup.c | 27 +-- tools/libxc/powerpc64/mk_flatdevtree.c | 36 +-- tools/libxc/powerpc64/mk_fl

[XenPPC] [PATCH 1/3] libxc: add start_info_t node to devtree

2007-01-24 Thread Ryan Harper
atch2 which modifies linux:xen_init_early(). -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: mk_flatdevtree.c | 36 +- mk_flatdevtree.h |6 ++-- xc_linux_build.c |

[XenPPC] [PATCH 4 of 4] [PATCH] Sync tools/python/xen/lowlevel/xc/xc.c with xen-unstable.hg

2007-01-19 Thread Ryan Harper
1 files changed, 57 insertions(+), 106 deletions(-) tools/python/xen/lowlevel/xc/xc.c | 163 - # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169248739 21600 # Node ID 6e93a244722d7ee5bedbce4d2ee9e3ca46bea7ea #

[XenPPC] [PATCH 2 of 4] [PATCH] Remove FlatDeviceTree.py, eliminate devtree from prose builder

2007-01-19 Thread Ryan Harper
/xenguest.h | 17 - tools/python/xen/lowlevel/xc/xc.c | 12 - tools/python/xen/xend/image.py | 54 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169248739 21600 # Node ID 7a979077afc8998a702e3fbc8a575397bda80c21 #

[XenPPC] [PATCH 1 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-19 Thread Ryan Harper
/xenguest.h |4 tools/python/xen/lowlevel/xc/xc.c | 12 tools/python/xen/xend/image.py |5 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169248739 21600 # Node ID e3b9f4ea49c014d8578415082ad09f76dbfb98b6 #

[XenPPC] [PATCH 0 of 4] [PATCH][UPDATED] move devtree creation to libxc, sync python with xen-unstable.hg

2007-01-19 Thread Ryan Harper
cleans up patch3's image.py sync Signed-of-by: Ryan Harper <[EMAIL PROTECTED]> 12 files changed, 847 insertions(+), 864 deletions(-) tools/python/xen/xend/FlatDeviceTree.py | 359 -- tools/libxc/powerpc64/Makefile |1 tools/libxc/powerpc64/mk_flatdevtre

[XenPPC] [PATCH 3 of 4] [PATCH] move ppc memory allocation to libxc. Sync XendDomainInfo.py with xen-unstable.hg

2007-01-19 Thread Ryan Harper
2 files changed, 70 insertions(+), 68 deletions(-) tools/libxc/powerpc64/xc_linux_build.c | 70 ++- tools/python/xen/xend/XendDomainInfo.py | 68 -- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169248739

Re: [XenPPC] [PATCH 2 of 4] [PATCH] Remove FlatDeviceTree.py, eliminate devtree from prose builder

2007-01-19 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-01-19 16:03]: - Make PPC_ProseImageHandler derive from LinuxImageHandler instead of ImageHandler. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat outp

[XenPPC] [PATCH 1 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-19 Thread Ryan Harper
/xenguest.h |4 tools/python/xen/lowlevel/xc/xc.c | 12 tools/python/xen/xend/image.py |5 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169241710 21600 # Node ID 5a846b0c810cd24e5390a4dd2bdda8690d48c808 #

[XenPPC] [PATCH 4 of 4] [PATCH] Sync tools/python/xen/lowlevel/xc/xc.c with xen-unstable.hg

2007-01-19 Thread Ryan Harper
1 files changed, 57 insertions(+), 106 deletions(-) tools/python/xen/lowlevel/xc/xc.c | 163 - # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169241710 21600 # Node ID 2d2cb7d7bd5daa7e4b5ccbc76b2c51163f30f647 #

[XenPPC] [PATCH 3 of 4] [PATCH] move ppc memory allocation to libxc. Sync XendDomainInfo.py with xen-unstable.hg

2007-01-19 Thread Ryan Harper
Harper <[EMAIL PROTECTED]> # Date 1169241710 21600 # Node ID 00c682cf4b4397a4ed25b7b21fefc429f4196d0d # Parent 9c743efd5129266689118213daa0d5032b529b20 [PATCH] move ppc memory allocation to libxc. Sync XendDomainInfo.py with xen-unstable.hg. Signed-off-by: Ryan Harper <[EMAIL PROTECTED]&

[XenPPC] [PATCH 0 of 4] [PATCH][UPDATED] move devtree creation to libxc, sync python with xen-unstable.hg

2007-01-19 Thread Ryan Harper
Rebased on changeset 14144:c16586000525 See previous [1]mail for patches 1 and 2. Added two new patches which remove xenppc deltas from xen-unstable.hg. move_memory_alloc_to_build.patch: - Dropped changes to XendDomainInfo.py - Moved domain memory allocation from XendDomainInfo.py into li

[XenPPC] [PATCH 2 of 4] [PATCH] Remove FlatDeviceTree.py, eliminate devtree from prose builder

2007-01-19 Thread Ryan Harper
/xenguest.h | 17 - tools/python/xen/lowlevel/xc/xc.c | 12 - tools/python/xen/xend/image.py | 54 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1169241710 21600 # Node ID 9c743efd5129266689118213daa0d5032b529b20 #

[XenPPC] [PATCH 1 of 2] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-16 Thread Ryan Harper
/xenguest.h |4 tools/python/xen/lowlevel/xc/xc.c | 12 tools/python/xen/xend/image.py |5 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168988154 21600 # Node ID a01ef2a2051e8c1295f3b5caf27f4faf5f91a93f #

[XenPPC] [PATCH 2 of 2] [PATCH] Remove FlatDeviceTree.py, eliminate devtree from prose builder

2007-01-16 Thread Ryan Harper
/xenguest.h | 17 - tools/python/xen/lowlevel/xc/xc.c | 12 - tools/python/xen/xend/image.py | 48 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168988154 21600 # Node ID 65a226ea3dde4782483739d6461008e62b089278 #

[XenPPC] [PATCH 0 of 2] [PATCH][UPDATED] move devtree creation to libxc

2007-01-16 Thread Ryan Harper
get_rma_pages from util.c, use rma_log to calc rma_pages now. - killed load_devtree() - removed all ft_*() calls from xc_linux_build() as make_devtree() does it all. - removed devtree arg from creat_start_info() - updated copyright header in touched files. Signed-off-by: Ryan Harper <[EMAIL PROT

Re: [XenPPC] [PATCH 3 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-16 Thread Ryan Harper
e DEVTREE_ADDR in xc_linux_build.c . > > so we can lose it, right? > > You should know: http://patchwork.ozlabs.org/linuxppc/patch?id=5043 :) > > Yes, we can remove it. Even though we aren't making the tree in python we are still loading it at DEVTREE_ADDR no? Why don't we need i

Re: [XenPPC] [PATCH 3 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-15 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-15 14:53]: > > On Jan 15, 2007, at 1:51 PM, Ryan Harper wrote: > > >* Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-11 16:53]: > >> > >>Ok there are a few things here. > > > BTW: some of these issues ex

Re: [XenPPC] [PATCH 4 of 4] [PATCH] Remove FlatDeviceTree.py, move prose builder to libxc devtree construction

2007-01-15 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-01-11 15:19]: > * Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-11 15:11]: > > Straight off, prose should have no flat tree reference at all. > > Respun with devtree refs excised. Killed the PPC Linux image class. Left the custom cl

Re: [XenPPC] [PATCH 3 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-15 Thread Ryan Harper
uirment, use a null-terminated list of filters - made sure to call closedir() - fixed double-free of bph on error path - fixed static function names - renamed find_first_cpu to find_cpu, we don't care which cpu we find -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Aus

Re: [XenPPC] [PATCH 3 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-11 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-11 16:53]: > > Ok there are a few things here. Thanks for looking this over. And just to give you the context for the code, I was attempted to directly port the code from FlatDeviceTree.py. > On Jan 11, 2007, at 1:42 PM, Ry

Re: [XenPPC] [PATCH 4 of 4] [PATCH] Remove FlatDeviceTree.py, move prose builder to libxc devtree construction

2007-01-11 Thread Ryan Harper
* Jimi Xenidis <[EMAIL PROTECTED]> [2007-01-11 15:11]: > Straight off, prose should have no flat tree reference at all. Respun with devtree refs excised. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED]

[XenPPC] [PATCH 0 of 4] [PATCH] move devtree creation to libxc

2007-01-11 Thread Ryan Harper
- remove call to Flatdevtree for prose builder - modify prose builder to use mk_flatdevtree I've test booted using the xc_linux_build, but I've not tested the changes to the prose builder. Signed-off-by: Ryan Harper <[EMAIL PROTECTED]> --- 11 fi

[XenPPC] [PATCH 1 of 4] [PATCH] Whitespace cleanup of powerpc64/xc_linux_build.c

2007-01-11 Thread Ryan Harper
1 files changed, 4 insertions(+), 4 deletions(-) tools/libxc/powerpc64/xc_linux_build.c |8 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168544367 21600 # Node ID 301aa30e95e2a7a76f98c4fbad5f3da4c4aaab42 # Parent db52c7d043bb2a7f3dc67f4f2fb4f6498b92e558

[XenPPC] [PATCH 2 of 4] [PATCH] Fix pointer math in ft_add_rsvmap(), rename string block to match DTC spec

2007-01-11 Thread Ryan Harper
2 files changed, 6 insertions(+), 3 deletions(-) tools/libxc/powerpc64/flatdevtree.c |7 +-- tools/libxc/powerpc64/flatdevtree.h |2 +- # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168544367 21600 # Node ID 0279229b68453a4a1b3613ac02c8b8ca9a965875 #

[XenPPC] [PATCH 4 of 4] [PATCH] Remove FlatDeviceTree.py, move prose builder to libxc devtree construction

2007-01-11 Thread Ryan Harper
/xend/image.py |6 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168544367 21600 # Node ID a2ff54d361f5853ff83adedfe0d7bbc63363bfdc # Parent e4fda6c5e7a907b5e4726c4f4d5f117c0f4d6f50 [PATCH] Remove FlatDeviceTree.py, move prose builder to libxc devtree constr

[XenPPC] [PATCH 3 of 4] [PATCH] Move flat device tree construction from python to libxc for xc_linux_build()

2007-01-11 Thread Ryan Harper
|4 tools/python/xen/lowlevel/xc/xc.c | 12 tools/python/xen/xend/image.py |5 # HG changeset patch # User Ryan Harper <[EMAIL PROTECTED]> # Date 1168544367 21600 # Node ID e4fda6c5e7a907b5e4726c4f4d5f117c0f4d6f50 #

[XenPPC] [PATCH 5/6] xen, tools: add nr_cpus field to fix nr_cpus calc

2006-09-29 Thread Ryan Harper
num_online_cpus(). This patch touches ia64 and ppc physinfo to add the nr_cpus field, but it has only been tested on x86. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [EMAIL PROTECTED] diffstat output: tools/python/xen/lowlevel/xc/xc.c