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

2007-02-22 Thread Christian Ehrhardt
struct domain *d, struct page_info *page); ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49

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

2007-02-22 Thread Christian Ehrhardt
Christian Ehrhardt wrote: Ryan Harper wrote: 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

[XenPPC] last update broke asm -> asm-powerpc link

2007-03-05 Thread Christian Ehrhardt
asm directory (no diff). -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung: Herbert Kircher Sitz der

[XenPPC] Profiling in xen – ppc considerations

2007-03-13 Thread Christian Ehrhardt
istian -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung: Herbert Kircher Sitz der Gesellschaft: Böblingen R

Re: [XenPPC] Profiling in xen – ppc consi derations

2007-03-14 Thread Christian Ehrhardt
/setup.c pSeries_setup_arch 322 ppc_md.enable_pmcs = pseries_lpar_enable_pmcs; Here is the spec: Lets try and go deep with this and then think about how to oprofile Xen itself. -JX On Mar 13, 2007, at 1:11 PM, Christian Ehrhardt wrote: Hi Folks, I analyzed the oprofile/xenoprof code and tried

Re: [XenPPC] Profiling in xen – ppc consi derations

2007-03-15 Thread Christian Ehrhardt
Jimi Xenidis wrote: On Mar 14, 2007, at 6:17 AM, Christian Ehrhardt wrote: Jimi Xenidis wrote: Christian, nice summary. One question I have is does Xen allow the domain to extract domain oprofile information as linxu would without Xen, or does xen allow for some transport that eases the

[XenPPC] Next profiling clarification question

2007-03-19 Thread Christian Ehrhardt
1 -> call pmc_irq_handler1 DomU2 -> call pmc_irq_handler1 -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen Gesc

Re: [XenPPC] Profiling in xen – ppc consi derations

2007-03-19 Thread Christian Ehrhardt
is to tell xen the place where to report hypervisor samples in one of the next implementation steps. Should/Can I use this complex hcall to set that simple flag e.g. by skipping all other attributes or do we need a new one? -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center

[XenPPC] performance profiling current and future steps

2007-03-20 Thread Christian Ehrhardt
bout that step step 1 has to shape up its final implementation so we know it work the way we currently think -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender d

Re: [XenPPC] performance profiling current and future steps

2007-03-22 Thread Christian Ehrhardt
mtspr SPRN_MMCR0, \scratch .endm and added the following to EXCEPTION_HEAD, but I guess it it wrong that way ;) PMU_SAVE_STATE r0 r0 -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [XenPPC] performance profiling current and future steps

2007-03-23 Thread Christian Ehrhardt
ads the queued data and handles it. When we are going to extend our solution to profile xen I hope we could use a similar approach to pass xen samples to the domain. -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED]

[XenPPC] A bunch of questions - arch_vcpu, hcall/papr/hypercall

2007-03-23 Thread Christian Ehrhardt
look arch/powerpc/foo.c 2. Xen uses the event channel to notify the domain - look xen/arch/powerpc/foo.c papr hcall XY: 1. ... -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland En

Re: [XenPPC] performance profiling current and future steps

2007-03-26 Thread Christian Ehrhardt
Jimi Xenidis wrote: On Mar 23, 2007, at 9:07 AM, Hollis Blanchard wrote: On Fri, 2007-03-23 at 08:52 +0100, Christian Ehrhardt wrote: Jimi Xenidis wrote: ... Ensure MMCR0[FCH] for this first step: -(ensure) set MMCR[FCH] always in xen when entering xen space. This should prevent a domain

[XenPPC] Location to hook setting ppc_md.enable_pmcs for xen

2007-03-27 Thread Christian Ehrhardt
and the appropriate ppc_md structure gets selected which should be the only xen structure in our case. This would argue for variant b) to implement it in "arch/powerpc/platforms/xen/*" Can someone with more experience in that area please send an ack for b) or correct me? -- Grüsse / regard

[XenPPC] What does the PAPR macro?

2007-03-28 Thread Christian Ehrhardt
do? "PAPR(5, 1,papr_h_perfmon, H_PERFMON)" Is it correct and if not why? I assume it's some kind of registering xen implemented papr hooks right? -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMA

[XenPPC] [PATCH] Fix Xen-GDB Stub (smp_sen_stop, E00 on unknown command, remove printk prefix)

2007-04-18 Thread Christian Ehrhardt
parse the "(XEN) " response sometimes - return E00 on unknown command (thx to jimi) Signed-off-by: Christian Ehrhardt <[EMAIL PROTECTED]> diff -r 736f2d6d7b09 xen/arch/powerpc/smp.c --- a/xen/arch/powerpc/smp.cFri Mar 02 18:05:38 2007 -0600 +++ b/xen/arch/powerpc/smp.cThu

[XenPPC] [PATCH] add a quiet option to gdbproxy preventing gdb from interpreting the connection phase output

2007-04-18 Thread Christian Ehrhardt
[GDBPROXY] add a quit option to gdbproxy preventing gdb from interpreting the connection phase output - add a command line parameter -q - redirect some output until a connection is established Signed-off-by: Christian Ehrhardt <[EMAIL PROTECTED]> diff -Naur gdbproxy-0.0.1a/SOL-con

[XenPPC] [PATCH] merge U/UL/ULL solutions (code cleanup)

2007-05-02 Thread Christian Ehrhardt
and merged it with the solution for U & UL. This should be a useful code cleanup for anyone working with these number notations. Signed-off-by: Christian Ehrhardt <[EMAIL PROTECTED]> Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385

[XenPPC] [PATCH] undef DEBUG in linuxppc time.c to prevent printk flooding

2007-05-02 Thread Christian Ehrhardt
[LINUX][POWERPC] undef DEBUG in linuxppc time.c to prevent printk flooding. Developers may want to enable this but the default in the code should be undefined to prevent the xenppc user from beeing flooded by those printk messages printed with DBG in time.c. Signed-off-by: Christian Ehrhardt

Re: [XenPPC] [PATCH] Fix Xen-GDB Stub (smp_sen_stop, E00 on unknown command, remove printk prefix)

2007-05-03 Thread Christian Ehrhardt
Hollis Blanchard wrote: On Wed, 2007-04-18 at 09:04 +0200, Christian Ehrhardt wrote: [XEN][POWERPC] Fix Xen-GDB Stub (smp_sen_stop, E00 on unknown command, remove printk prefix) - Remove BUG() from smp_stop_all(), common code changes added a call to this - changed to unimplemented

[XenPPC] can't start xend - anyone similar problems or a hint for me ?

2007-05-03 Thread Christian Ehrhardt
? 0:00 python /usr/sbin/xend start 5 0 2697 2677 18 0 31412 6912 futex Sl ? 0:00 \_ python /usr/sbin/xend start 5 0 2690 1 18 0 10384 556 select Sl ? 0:00 xenconsoled 0 0 4040 3943 15 0 3068 816 start S+ pts/0 0:00

[XenPPC] [XEN][POWERPC][PATCH 0/3] Guest Perfmon implementation

2007-05-07 Thread Christian Ehrhardt
s to the appropriate domain - Making xen aware of each domains performance monitor counter setup to do reset pmc in a really "valid" way Signed-off-by: Christian Ehrhardt <[EMAIL PROTECTED]> The patches are taken against the tip of Friday 05/04/2007 in http://xenbits.xen

[XenPPC] [XEN][POWERPC][PATCH 1/3] Guest Perfmon implementation - structures, initializations, context switches

2007-05-07 Thread Christian Ehrhardt
[XEN][POWERPC][PATCH 1/3] Guest Perfmon implementation - structures, initializations, context switches ->attachment -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung G

[XenPPC] [XEN][POWERPC][PATCH 3/3] Guest Perfmon implementation - disable pmu in xen space, spr access functions, spr encodings

2007-05-07 Thread Christian Ehrhardt
[XEN][POWERPC][PATCH 3/3] Guest Perfmon implementation - disable pmu in xen space, spr access functions, spr encodings ->attachment -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschl

[XenPPC] [XEN][POWERPC][PATCH 2/3] Guest Perfmon implementation - H_PERFMON papr call, perfmon exception handler

2007-05-07 Thread Christian Ehrhardt
[XEN][POWERPC][PATCH 2/3] Guest Perfmon implementation - H_PERFMON papr call, perfmon exception handler ->attachment -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwickl

[XenPPC] [POWERPC][XEN][LINUX] Guest Perfmon implementation - enabling H_PERFMON call on platform xen

2007-05-07 Thread Christian Ehrhardt
[POWERPC][XEN][LINUX] Guest Perfmon implementation - enabling H_PERFMON call on platform xen ->attachment -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung G

[XenPPC] Profiling support in xen-ppc - step2 - informations/plan/questions

2007-05-09 Thread Christian Ehrhardt
the text capable of beeing misunderstood - if anything is just confusing for someone, please ask me to me to improve my description ;-) -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschla

[XenPPC] Status of CoW on xenppc - part1 based on dm-userspace

2007-05-16 Thread Christian Ehrhardt
1,r1,144 9aa0: 38 60 00 00 li r3,0 9aa4: e8 01 00 10 ld r0,16(r1) 9aa8: eb 81 ff e0 ld r28,-32(r1) 9aac: eb a1 ff e8 ld r29,-24(r1) 9ab0: eb c1 ff f0 ld r30,-16(r1) 9ab4: eb e1 ff f8 ld r31,-8(r1) 9ab8: 7c 08 03 a6 mtlr r0 9abc: 4e 80 00 20 blr -- Grüsse / regards, Christian Ehrhardt IB

[XenPPC] Status of CoW on xenppc based on blktap - could someone reproduce my issue?

2007-05-16 Thread Christian Ehrhardt
le or directory So, the question is - why is there no /sys/class/[xen|misc]/blktap0/dev ? Unfortunately I have no other xenppc installation and no x86 xen installation too. Can someone on the list which has xenx86 and xenppc running please cross-check if these missing directories are a local is

[XenPPC] Re: [Xen-devel] Performance Counter Virtualization in Xen

2007-05-20 Thread Christian Ehrhardt
lists.xensource.com/xen-devel -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung: Herbert Kircher Si

[XenPPC] [XEN][TOOLS][PATCH] Add one more error reason statement to blktapctrl

2007-05-22 Thread Christian Ehrhardt
damaged, its just not there in my case. This patch adds an error message if xc_find_device_number fails, all other goto's to open_failed have already their error output, this just adds one more. -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49

Re: [XenPPC] Performance data for xenppc available?

2007-06-06 Thread Christian Ehrhardt
would be nice to know what workloads you would have in mind. ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center,

[XenPPC] One more fix for the forward port

2007-06-19 Thread Christian Ehrhardt
in process 'swapper' [ 305.530493] page:c3d13400 flags:0x004000100400 mapping: mapcount:1 count:0 -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entw

Re: [XenPPC] One more fix for the forward port

2007-06-20 Thread Christian Ehrhardt
Hollis Blanchard wrote: On Tue, 2007-06-19 at 13:49 +0200, Christian Ehrhardt wrote: The DomU now boots without visible issues, but at least on my system networking in DomU does not yet work - the DomU tihnk its working, but I can't get a connection from/to Dom0. @Hollis - currently yo

Re: [XenPPC] One more fix for the forward port

2007-06-21 Thread Christian Ehrhardt
de a patch that will just enable the needed functionality - it' called xen_powerpc_2.6.18.diff Hollis Blanchard wrote: On Tue, 2007-06-19 at 13:49 +0200, Christian Ehrhardt wrote: The DomU now boots without visible issues, but at least on my system networking in DomU does not yet

[XenPPC] Re: libvirt status of bugt racking regarding bad paddr

2007-06-27 Thread Christian Ehrhardt
memset(&hc, 0, sizeof(hc)); (gdb) print *op $2 = {cmd = 6, interface_version = 0, u = {getdomaininfolist = {first_domain = 0, max_domains = 1, buffer = 0xffb29eb0, num_domains = 0}, getdomaininfolists3 = {first_domain = 0, max_domains = 1, buffer = {v = 0xffb29eb0, pad = 1842496350427755

Re: [XenPPC] Re: libvirt status of bugt racking regarding bad paddr (ugly fix attached)

2007-06-28 Thread Christian Ehrhardt
.getdomaininfolist.first_domain '0' (XEN) op->u.getdomaininfolist.max_domains '1' (XEN) op->u.getdomaininfolist.buffer.p '11835000' (XEN) adress of info '00227b78' (XEN) do_sysctl: iterate domain '0' num_domains

Re: [XenPPC] Re: libvirt status of bugt racking regarding bad paddr (verification + question)

2007-06-29 Thread Christian Ehrhardt
as lower half 32bit word): xenppc_privcmd_sysctl - hack changing kern_op.u.getdomaininfolist.buffer.p 'fff40ec0dead' to kern_op.u.getdomaininfolist.buffer.p>>32 '0000fff40ec0' Christian Ehrhardt wrote: Anyone not interested i

Re: [XenPPC] Re: libvirt status of bugt racking regarding bad paddr (patch)

2007-07-02 Thread Christian Ehrhardt
with the variable and I was not able to bring it back from a shiftable type to something without assign type warning. @Hollis - If we are finished with the patch after some evolution you might want to fold it into our 2.6.18 patch queue before submission Christian Ehrhardt wrote: I verified my

[XenPPC] virt-manager/virsh connection errors - fixed

2007-07-05 Thread Christian Ehrhardt
default config of xend as it is currently in the repostitory seems to have the config in /etc/xen/xend-config.sxp default to no and commented out: #(xend-unix-server no) change this to (xend-unix-server yes) -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtua

[XenPPC] Hint to configure libvirt witohut bothering qemu errors in xen only environment

2007-07-05 Thread Christian Ehrhardt
re prevent these message flooding use ./configure --without-qemu simple but useful ;-) -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Joh

[XenPPC] 64bit apps in DomU should get a more useful error message

2007-07-09 Thread Christian Ehrhardt
sophisticated mechanism to give the user running into this something like "you are not 64bit" ? -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender

Re: [XenPPC] libvirt & virt-manager/virsh status - working - update

2007-07-10 Thread Christian Ehrhardt
ported Traceback (most recent call last): File "/usr/local/share/virt-manager/virtManager/createnet.py", line 297, in finish self.conn.create_network(xml) File "/usr/local/share/virt-manager/virtManager/connection.py", line 256, in create_network net = self.vmm.netwo

Re: [XenPPC] 64bit apps in DomU should get a more useful error message [Fixed]

2007-07-10 Thread Christian Ehrhardt
nux-vdso64.so.1 => (0x0010) libc.so.6 => /lib64/libc.so.6 (0x04055000) /lib64/ld64.so.1 (0x0400) -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutsch

[XenPPC] libvirt bad paddr patch for our hcall.c

2007-07-11 Thread Christian Ehrhardt
will need it somewhere else in the future we can move it to a header. This replaces the workaround patch sent with "libvirt status of bugt racking regarding bad paddr (patch)". FYI I attached the libvirt patch too -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open

Re: [XenPPC] libvirt bad paddr patch for our hcall.c

2007-07-11 Thread Christian Ehrhardt
Christian Ehrhardt wrote: [...] diff -r 1139ab948449 arch/powerpc/platforms/xen/hcall.c --- a/arch/powerpc/platforms/xen/hcall.cSun Jul 15 15:33:56 2007 +0200 +++ b/arch/powerpc/platforms/xen/hcall.cSun Aug 05 03:50:28 2007 +0200 @@ -437,6 +437,16 @@ out: return ret

Re: [XenPPC] libvirt bad paddr patch for our hcall.c

2007-07-15 Thread Christian Ehrhardt
Hollis Blanchard wrote: On Wed, 2007-07-11 at 14:12 +0200, Christian Ehrhardt wrote: I added a new inline function "invalid_endianness" for better readability. An invalid address now returns -EINVAL and triggers a WARN_ON(). If a more sophisticated check is wanted later on like a

Re: [XenPPC] DOM0 can not be set up

2007-08-11 Thread Christian Ehrhardt
k add all the debug&loglevel stuff and attach the complete output of the boot process, maybe we see more in that one. -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 [EMAIL PROTECTED] [EMAIL PROTECTED] IBM Deutschland Entwicklun