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

2006-09-29 Thread Ryan Harper
on 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

[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 # Parent

[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 construction

[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 [PATCH

[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 # Parent

[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 files changed, 675 insertions

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] diffstat

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
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., Austin, Tx (512) 838-9253

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
. 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 it? -- Ryan Harper Software Engineer; Linux Technology Center

[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 PROTECTED] 11

[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

[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 # Parent

[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 # Parent

[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 # Parent

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 output: a/tools

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

2007-01-19 Thread Ryan Harper
, this 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_flatdevtree.c | 605

[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 # Parent

[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 # Parent

[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 # Parent

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

2007-01-24 Thread Ryan Harper
). 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_flatdevtree.h

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

2007-01-24 Thread Ryan Harper
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 | 76

[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
-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 Harper [EMAIL PROTECTED

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 needed. -- Ryan

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

2007-01-25 Thread Ryan Harper
u64 baseu64 size 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 [EMAIL PROTECTED] diffstat output

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 start_info_t in memory

[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 don't

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

2007-01-25 Thread Ryan Harper
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 Jan 21 08:17:46 2007 -0500 +++ b/tools/libxc/powerpc64/mk_flatdevtree.c Thu Jan 25

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

2007-01-30 Thread Ryan Harper
: 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 (512) 838-9253 T/L: 678

[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 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 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] 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

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

2007-02-06 Thread Ryan Harper
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.xensource.com http

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

2007-02-07 Thread Ryan Harper
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/powerpc/domain_build.c | 43

[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 1/2] xen: remove start_info_t from dom0 building

2007-02-08 Thread Ryan Harper
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 (512) 838-9253 T/L: 678-9253 [EMAIL

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 start_info_t for dom0. -- Ryan Harper

[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

[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 Center IBM Corp

[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 84ec1b4d5cd50cc9d49202eb978a4715c4780e28

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

2007-02-21 Thread Ryan Harper
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 insertions(+), 87

[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 # Parent

[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] # Date 1172103252

[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 1172103252 21600

[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 059beff4129bc0fc44032a95a8756c6ca89f6b21 [PATCH

[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 [EMAIL

[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 that seperately from

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

2007-02-22 Thread Ryan Harper
catch. Thanks. -- 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-ppc-devel

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/domain_build.c |5 +++ xen/include/asm

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 mfn - rma_mfn; -/* Extent

[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: (XEN) Xen Heap: 135MiB (138548KiB

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
: 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 Engineer; Linux Technology Center IBM Corp., Austin, Tx (512

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_FRAME_OVERHEAD; Testing this out

[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] # Date

[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 # Parent

[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 1172776732 21600

[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 # Parent

[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 # Node ID

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

2007-03-01 Thread Ryan Harper
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 [EMAIL PROTECTED

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, Tx (512) 838-9253 T

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

2007-03-07 Thread Ryan Harper
). 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 Technology Center IBM Corp., Austin, Tx (512) 838-9253

[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 18000 # Node

[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: flag mfns

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

2007-03-19 Thread Ryan Harper
, 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(-) xen/arch/powerpc

[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 node1:0x00019000-0x0003