[Xen-ia64-devel] [PATCH 08/27] ia64/xen: define helper functions for xen hypercalls.

2008-06-10 Thread Isaku Yamahata
introduce helper functions for xen hypercalls which traps to hypervisor. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |5 + arch/ia64/xen/hypercall.S| 91 + incl

[Xen-ia64-devel] [PATCH 09/27] ia64/xen: implement the arch specific part of xencomm.

2008-06-10 Thread Isaku Yamahata
. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/xencomm.c| 95 include/asm-ia64/xen/xencomm.h | 33 ++ 3 files

[Xen-ia64-devel] [PATCH 13/27] ia64/pv_ops/xen: elf note based xen startup.

2008-06-10 Thread Isaku Yamahata
also needs modification. Signed-off-by: Qing He <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |3 +- arch/ia64/xen/xen_pv_ops.c | 65 ++ arch/ia64/xen/xensetu

[Xen-ia64-devel] [PATCH 05/27] ia64/xen: define several constants for ia64/xen.

2008-06-10 Thread Isaku Yamahata
define several constants for ia64/xen. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/asm-offsets.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c

[Xen-ia64-devel] [PATCH 07/27] ia64/xen: define helper functions for xen related address conversion.

2008-06-10 Thread Isaku Yamahata
Xen needs some address conversions between pseudo physical address (guest phsyical address), guest machine address (real machine address) and dma address. Define helper functions for those address conversion. Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata &

[Xen-ia64-devel] [PATCH 06/27] ia64/xen: define NET_SKB_NET to 18 if xen.

2008-06-10 Thread Isaku Yamahata
alue 16 to 18. Cc: Kouya SHIMURA <[EMAIL PROTECTED]> Cc: Akio Takebe <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/asm-offsets.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/asm-

[Xen-ia64-devel] [PATCH 00/27] ia64/xen domU take 7

2008-06-10 Thread Isaku Yamahata
Hi. This patchset implements ia64/xen domU support based on ia64/pv_ops frame work which was already merged to linux ia64 test branch. This patch is for linux ia64 test branch. This patchset does the followings. - Some preparation work. Mainly importing header files to define related structures.

[Xen-ia64-devel] [PATCH 02/27] ia64/xen: introduce synch bitops which is necessary for ia64/xen support.

2008-06-10 Thread Isaku Yamahata
define sync bitops which is necessary for ia64/xen. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/sync_bitops.h | 57 1 files chan

[Xen-ia64-devel] [PATCH 04/27] ia64/xen: introduce definitions necessary for ia64/xen hypercalls.

2008-06-10 Thread Isaku Yamahata
import include/asm-ia64/xen/interface.h to introduce introduce definitions necessary for ia64/xen hypercalls. They are basic structures to communicate with xen hypervisor. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yama

[Xen-ia64-devel] [PATCH 01/27] ia64: move function declaration, ia64_cpu_local_tick() from .c to .h

2008-06-10 Thread Isaku Yamahata
eliminate the function declaration ia64_cpu_local_tick() in process.c by defining in asm-ia64/timex.h The same function will be used in a different .c file later. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/process.c |1 - include/asm-ia64/timex.h |2

[Xen-ia64-devel] [PATCH 03/27] ia64/xen: increase IA64_MAX_RSVD_REGIONS.

2008-06-10 Thread Isaku Yamahata
Xenlinux/ia64 needs to reserve one more region passed from xen hypervisor as start info. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Bjorn Helgaas <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/meminit.h |3 ++- 1 files changed,

[Xen-ia64-devel] [PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.

2008-06-10 Thread Isaku Yamahata
r recovery path. So it is necessary to determine whether it is executed on real resume path or error recovery path. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/x86/xen/suspend.c |5 - arch/x86/xen/xen-ops.h |1 - drivers/xen/manage.c |6 -- include/xen/x

[Xen-ia64-devel] [PATCH] xen-netfront: fix xennet_release_tx_bufs().

2008-06-10 Thread Isaku Yamahata
ernel panic - not syncing: Aiee, killing interrupt handler! Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- drivers/net/xen-netfront.c | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfron

[Xen-ia64-devel] [PATCH] xen: Use wmb instead of rmb in xen_evtchn_do_upcall().

2008-06-10 Thread Isaku Yamahata
This patch is ported one from 534:77db69c38249 of linux-2.6.18-xen.hg. Use wmb instead of rmb to enforce ordering between evtchn_upcall_pending and evtchn_pending_sel stores in xen_evtchn_do_upcall(). Cc: Samuel Thibault <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL

Re: [Xen-ia64-devel] [Patch] hypervisor needs to turn off psr.i at PAL_HALT_LIGHT

2008-06-09 Thread Isaku Yamahata
On Mon, Jun 09, 2008 at 11:02:35AM +0900, Akio Takebe wrote: Content-Description: Mail message body > we need to be psr.i==0 at enter/exit PALL. > But do_block() turns on psr.i. > So we need to be it off at exit PAL_HALT_LIGHT. applied, thanks. -- yamahata __

Re: [Xen-ia64-devel] [Patch] safe ia64_leave_kernel

2008-06-09 Thread Isaku Yamahata
On Mon, Jun 09, 2008 at 10:56:55AM +0900, Akio Takebe wrote: Content-Description: Mail message body > This patch is for safe leaving hypervisor. applied, thanks, -- yamahata ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lis

Re: [Xen-ia64-devel] [PATCH] minios: fix EFI_RUNTIME_SERVICES_SIGNATURE value

2008-06-09 Thread Isaku Yamahata
applied with ULL, thanks. On Fri, Jun 06, 2008 at 04:28:14PM +0100, Samuel Thibault wrote: > minios: fix EFI_RUNTIME_SERVICES_SIGNATURE value > > Signed-off-by: Samuel Thibault <[EMAIL PROTECTED]> > > diff -r 23568ca9a778 extras/mini-os/include/ia64/efi.h > --- a/extras/mini-os/include/ia64/efi.

[Xen-ia64-devel] Please pull ia64 trees

2008-06-01 Thread Isaku Yamahata
Hi Keir, Please pull the ia64 trees: http://xenbits.xensource.com/ext/ia64/xen-unstable.hg http://xenbits.xensource.com/ext/ia64/linux-2.6.18-xen.hg This includes work around for windows 2003 and one bug fixes and a compilation fix. Without pull, the staging tree of xen doesn't compile. Than

Re: [Xen-ia64-devel] Where are DTR6 and DTRA defined and set?

2008-05-30 Thread Isaku Yamahata
I guess the LSB 1 bit is used for thread id or something else. Does the processor support threading? On Sat, May 31, 2008 at 12:11:49PM +0900, Isaku Yamahata wrote: > Hi. > > Hmm, although I haven't ever used hw probe, it looks like that > those indexes you reported are le

Re: [Xen-ia64-devel] Where are DTR6 and DTRA defined and set?

2008-05-30 Thread Isaku Yamahata
Hi. Hmm, although I haven't ever used hw probe, it looks like that those indexes you reported are left shifted by one. Could you check the manual of your hardware probe? For VTi guest, Xen surely uses KENREL, PERCPU_DATA, (CURRENT_STACK if the stack isn't mapped by KERNEL), MAPPED_REGS and VHPT.

[Xen-ia64-devel] ANN: the new repo http://people.valinux.co.jp/~yamahata/xen-ia64/for_eagl/linux-2.6-ia64-pv-ops.git/

2008-05-29 Thread Isaku Yamahata
Now the linux-ia64 repository includes pv_ops patch in test branch. So I created the new repository which is available from http://people.valinux.co.jp/~yamahata/xen-ia64/for_eagl/linux-2.6-ia64-pv-ops.git/ the current branch is ia64-pv-ops-2008may30. The above repository is based on git://git.ker

[Xen-ia64-devel] Re: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer

2008-05-29 Thread Isaku Yamahata
x27;hole' left by transfer of the old page gets filled by mapping in a > > new page. > > Oh, I see you do it steal_page(). Okay, I think best to make the > remove_page() call ifndef ia64 then. Thanks, here is the patch. [IA64] fix ia64 granttab xfer. On ia64 steal_page() also up

[Xen-ia64-devel] Re: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer

2008-05-29 Thread Isaku Yamahata
On Wed, May 28, 2008 at 11:39:16AM +0100, Keir Fraser wrote: > On 28/5/08 11:28, "Isaku Yamahata" <[EMAIL PROTECTED]> wrote: > > > Although I know that grant table page transfer is obsoleted, > > what is the expected exact semantics of GNTTABOP_transfer with

Re: [Xen-ia64-devel] [PATCH] fix wrong TLB insertion

2008-05-28 Thread Isaku Yamahata
On Thu, May 29, 2008 at 11:33:02AM +0900, Kouya Shimura wrote: Content-Description: message body text > vcpus can be switched right after set_virtual_rr0(). > It causes a wrong TLB insertion. Xen vmm is non preemptive. (I may be wrong...) Could you elaborate on your bug scenario? -- yamahata __

[Xen-ia64-devel] Re: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer

2008-05-28 Thread Isaku Yamahata
Hi Espen. I think the issues exist in all functions in linux kernel which uses MMU_MACHPHYS_UPDATE. gnttab_copy_grant_page(), netbk_gop_frag(), xennet_get_responses() and netif_release_rx_bufs_flip() The p2m/m2p table manipulation is done by MMU_MACHPHYS_UPDATE on x86. (More exactly the p2m operat

Re: [Xen-ia64-devel] [PATCH] cleanup: vcpu_set_psr_sm

2008-05-28 Thread Isaku Yamahata
On Tue, May 27, 2008 at 04:24:13PM +0900, Kouya Shimura wrote: Content-Description: message body text > It is pointless to set the machine psr. Applied, thanks. -- yamahata ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://list

[Xen-ia64-devel] Re: [PATCH 00/17] ia64/pv_ops take 6

2008-05-28 Thread Isaku Yamahata
936ca40bf824250f22c77228412b17ef74a Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Wed, 28 May 2008 16:28:41 +0900 Subject: ia64/pv_ops: preparation: move some functions in ivt.S to avoid lack of space. move interrupt, page_fault, non_syscall, dispatch_unaligned_ha

Re: [Xen-ia64-devel] [RFC][DRAFT] linux-2.6/Documentation/ia64/pv_ops.txt

2008-05-28 Thread Isaku Yamahata
Akio, could you give me your signoff? On Wed, May 21, 2008 at 06:14:45PM +0900, Isaku Yamahata wrote: > On Wed, May 21, 2008 at 05:45:55PM +0900, Akio Takebe wrote: > > > Isaku already has posted pv_ops.txt, > > Do I had better add this recipe into other(xensource wiki &g

[Xen-ia64-devel] [PATCH] compilation fix of c/s 17723:c684cf331f94

2008-05-25 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1211773413 -32400 # Node ID e6882de818f7a8932e9c0689bb3b3f8b7c659098 # Parent 28083093cc5de08465c60793a02089a4745ebf3a [IA64] compilation fix of c/s 17723:c684cf331f94 This patch fixes the compilation error caused by t

Re: [Xen-ia64-devel] [PATCH] zero extend I/O reads

2008-05-21 Thread Isaku Yamahata
Hi Alex. I digged into log and found the two commits as below. I think they fixed the issue. So I guess you encountered the issue before committing the c/s 16180:62a7a2f4d9c7. They are several mounths before, so memory might be vague... changeset: 16284:7eb68d995aa7 user:Keir Fraser <[

[Xen-ia64-devel] Re: [patch] fix zero extending for mmio ld1/2/4 emulation in KVM

2008-05-21 Thread Isaku Yamahata
pad the destination register first. This avoids the problem where emulated mmio access got garbled data from ld2.acq instructions in the vga console driver. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: Jes Sorensen <[EMAIL PROTECTED]> diff --git a/arch/ia64/kvm/mmio.c b/arch/ia6

[Xen-ia64-devel] Re: [PATCH 2/2] ia64/pv_ops: documentation on ia64/pv_ops

2008-05-21 Thread Isaku Yamahata
On Wed, May 21, 2008 at 03:28:57PM +0200, Gerald Pfeifer wrote: > On Wed, 21 May 2008, Isaku Yamahata wrote: > > Documentation on ia64/pv_ops which describes its strategy and > > implementation. > > I hope you do not mind if I make some minor suggestions on how t

Re: [Xen-ia64-devel] [RFC][DRAFT] linux-2.6/Documentation/ia64/pv_ops.txt

2008-05-21 Thread Isaku Yamahata
Some inlined comment. On Wed, May 21, 2008 at 05:45:55PM +0900, Akio Takebe wrote: > Hi, Isaku and all > > Thank you. > I could bootup paravirtualized domU with your dot config. > And some of /dev files are not copied properly. > /dev/console, /dev/null... > > I re-made these by mknod, I could b

Re: [Xen-ia64-devel] [RFC][DRAFT] linux-2.6/Documentation/ia64/pv_ops.txt

2008-05-21 Thread Isaku Yamahata
On Wed, May 21, 2008 at 05:45:55PM +0900, Akio Takebe wrote: > Isaku already has posted pv_ops.txt, > Do I had better add this recipe into other(xensource wiki > or xen-ia64 tree)? My document describes about pv_op itself, on the other hand your document describes how to boot xen domU. So I suppo

[Xen-ia64-devel] [RFC][PATCH] fix zero extending for mmio ld1/2/4 emulation

2008-05-21 Thread Isaku Yamahata
Recently Jes Soresen found a bug in kvm/ia64 mmio emulator. I believe xen/ia64 needs same bug fix, but I haven't confirmed the bug and the fix. Can anyone confirm this patch? # HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1211356962 -3240

[Xen-ia64-devel] [PATCH 1/2] ia64/pv_ops: paravirtualized istruction checker.

2008-05-21 Thread Isaku Yamahata
codes. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/Makefile| 164 ++ arch/ia64/kernel/paravirt_inst.h |4 +- include/asm-ia64/native/pvchk_inst.h | 158 3 files changed, 325 inser

[Xen-ia64-devel] [PATCH 2/2] ia64/pv_ops: documentation on ia64/pv_ops

2008-05-21 Thread Isaku Yamahata
Documentation on ia64/pv_ops which describes its strategy and implementation. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- Documentation/ia64/paravirt_ops.txt | 136 +++ 1 files changed, 136 insertions(+), 0 deletions(-) create mode 100644 Documen

[Xen-ia64-devel] [PATCH 0/2] ia64/pv_ops documentation and pv checker

2008-05-21 Thread Isaku Yamahata
Here is .S paravirtualization checker and the draft of the ia64/pv_ops documentation. These patches doesn't change kernel binary. [PATCH 1/2] ia64/pv_ops: paravirtualized istruction checker. [PATCH 2/2] ia64/pv_ops: documentation on ia64/pv_ops The pv checker patch is to show my idea. CPP trick do

Re: [Xen-ia64-devel] [RFC][DRAFT] linux-2.6/Documentation/ia64/pv_ops.txt

2008-05-20 Thread Isaku Yamahata
Did you enabled CONFIG_HVC_DRIVER=y and CONFIG_HVC_XEN=y? The console is hvc. ("console=hvc") thanks, On Wed, May 21, 2008 at 01:07:38PM +0900, Akio Takebe wrote: > Hi, all > > This is a recipe of Xen/ia64 with pv_ops. > I want to add this in linux-2.6/Documentation/ia64/. > > Any comments/feed

Re: [Xen-ia64-devel] [Patch] renew xen_domu_wip_defconfig

2008-05-20 Thread Isaku Yamahata
On Wed, May 21, 2008 at 01:14:08PM +0900, Akio Takebe wrote: > xen_domu_wip_defconfig seems to be a little old. > We need some choice while make oldconfig. I'll update it at the next update. > I could build pv_ops kernel with it. > But I could not boot it... As paravirtualized domU? I attached

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#17671 Status Report --- one issue fixed, one issue still existed

2008-05-20 Thread Isaku Yamahata
Thank you! I'll fix the nested comment. On Tue, May 20, 2008 at 02:10:38PM +0800, Zhang, Jingke wrote: > Isaku Yamahata wrote: > > Hi Zhang. > > > > Could you try the attached patch? > > This patch is for temporal work around. > > Is it import

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#17671 Status Report --- one issue fixed, one issue still existed

2008-05-19 Thread Isaku Yamahata
Failed case idDescription > SMPVTI_Windows SMPVTI windows(vcpu=2) > SMPWin_SMPVTI_SMPxenU SMPVTI Linux/Windows & XenU > VTI_Windows_PV Windows VTI PV > ==== > > >

[Xen-ia64-devel] Please pull ia64 trees

2008-05-19 Thread Isaku Yamahata
Hi Keir, Please pull the ia64 trees: http://xenbits.xensource.com/ext/ia64/xen-unstable.hg http://xenbits.xensource.com/ext/ia64/linux-2.6.18-xen.hg This includes new PAL virtualization services, xencomm dirty page tracking fix for live migratio, dom0 loader fix, new HVM domain ast path opti

[Xen-ia64-devel] [PATCH 23/23] ia64/pv_ops: update Kconfig for paravirtualized guest and xen.

2008-05-19 Thread Isaku Yamahata
introduce CONFIG_PARAVIRT_GUEST, CONFIG_PARAVIRT for paravirtualized guest. introduce CONFING_XEN, CONFIG_IA64_XEN for xen. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/Kconfig | 32 ++

[Xen-ia64-devel] [PATCH 20/23] ia64/pv_ops/xen: implement xen pv_irq_ops.

2008-05-19 Thread Isaku Yamahata
implement xen pv_irq_ops to paravirtualize irq handling with xen event channel. Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Akio Takebe <[EMAIL PROTECTED]> Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED

[Xen-ia64-devel] [PATCH 22/23] ia64/xen: define xen machine vector for domU.

2008-05-19 Thread Isaku Yamahata
define xen machine vector for domU. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/Makefile |2 ++ arch/ia64/kernel/acpi.c|5 + arch/ia64/xen/Makefile |2 ++ arch/ia64/xen/machvec.c|4 include/asm-ia64/mac

[Xen-ia64-devel] [PATCH 21/23] ia64/pv_ops/xen: implement xen pv_time_ops.

2008-05-19 Thread Isaku Yamahata
implement xen pv_time_ops to account steal time. Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/t

[Xen-ia64-devel] [PATCH 19/23] ia64/pv_ops/xen: define the nubmer of irqs which xen needs.

2008-05-19 Thread Isaku Yamahata
define include/asm-ia64/xen/irq.h to define the number of irqs which xen needs. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/nr-irqs.c |1 + include/asm-ia64/xen/irq.h | 44 2 files changed, 45 insertions

[Xen-ia64-devel] [PATCH 16/23] ia64/pv_ops/xen: paravirtualize ivt.S for xen.

2008-05-19 Thread Isaku Yamahata
paravirtualize ivt.S for xen by multi compile. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile | 16 +++- arch/ia64/xen/xenivt.S | 57 +++ include/asm-ia64/xen/inst.h |1 + 3 files chang

[Xen-ia64-devel] [PATCH 17/23] ia64/pv_ops/xen: paravirtualize entry.S for ia64/xen.

2008-05-19 Thread Isaku Yamahata
paravirtualize entry.S for ia64/xen by multi compile. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/xen_pv_ops.c | 18 ++ include/asm-ia64/xen/inst.h |8 3 files changed, 27 insertions(+), 1 del

[Xen-ia64-devel] [PATCH 18/23] ia64/pv_ops/xen: implement xen pv_iosapic_ops.

2008-05-19 Thread Isaku Yamahata
implement xen pv_iosapic_ops for xen paravirtualized iosapic. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/xen_pv_ops.c | 52 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/ia64/xen/xen_pv_ops.c

[Xen-ia64-devel] [PATCH 02/23] ia64/xen: increase IA64_MAX_RSVD_REGIONS.

2008-05-19 Thread Isaku Yamahata
Xenlinux/ia64 needs to reserve one more region passed from xen hypervisor as start info. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Bjorn Helgaas <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/meminit.h |3 ++- 1 files changed,

[Xen-ia64-devel] [PATCH 12/23] ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.

2008-05-19 Thread Isaku Yamahata
This patch implements xen version of pv_init_ops to do various xen initialization. Signed-off-by: Akio Takebe <[EMAIL PROTECTED]> Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL

[Xen-ia64-devel] [PATCH 11/23] ia64/pv_ops/xen: elf note based xen startup.

2008-05-19 Thread Isaku Yamahata
also needs modification. Signed-off-by: Qing He <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |3 +- arch/ia64/xen/xen_pv_ops.c | 65 ++ arch/ia64/xen/xensetu

[Xen-ia64-devel] [PATCH 00/23] ia64/xen domU take 6

2008-05-19 Thread Isaku Yamahata
Hi. This patchset implements ia64/xen domU support based on ia64/pv_ops frame work which was sent as another patchest. Changes from take 5 are rebased to Linux 2.6.26-rc3, bug fix ivt.S paravirtualization and multi entry point support. I believe these patches can be applied to the linux ia64 reposi

[Xen-ia64-devel] [PATCH 03/23] ia64/xen: introduce definitions necessary for ia64/xen hypercalls.

2008-05-19 Thread Isaku Yamahata
import include/asm-ia64/xen/interface.h to introduce introduce definitions necessary for ia64/xen hypercalls. They are basic structures to communicate with xen hypervisor. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yama

[Xen-ia64-devel] [PATCH 01/23] ia64/xen: introduce synch bitops which is necessary for ia64/xen support.

2008-05-19 Thread Isaku Yamahata
define sync bitops which is necessary for ia64/xen. Cc: Robin Holt <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/sync_bitops.h | 57 1 files chan

[Xen-ia64-devel] [PATCH 10/23] ia64/xen: add definitions necessary for xen event channel.

2008-05-19 Thread Isaku Yamahata
Xen paravirtualizes interrupt as event channel. This patch defines arch specific part of xen event channel. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/xen/events.h | 50 + 1 files changed, 50 insertions(+), 0 del

[Xen-ia64-devel] [PATCH 06/23] ia64/xen: define helper functions for xen hypercalls.

2008-05-19 Thread Isaku Yamahata
introduce helper functions for xen hypercalls which traps to hypervisor. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |5 + arch/ia64/xen/hypercall.S| 91 + incl

[Xen-ia64-devel] [PATCH 07/23] ia64/xen: implement the arch specific part of xencomm.

2008-05-19 Thread Isaku Yamahata
. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/xencomm.c| 95 include/asm-ia64/xen/xencomm.h | 33 ++ 3 files

[Xen-ia64-devel] [PATCH 15/23] ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.

2008-05-19 Thread Isaku Yamahata
paravirtualize DO_SAVE_MIN in minstate.h for xen. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/xen/inst.h |2 + include/asm-ia64/xen/minstate.h | 133 +++ 2 f

[Xen-ia64-devel] [PATCH 09/23] ia64/xen: implement arch specific part of xen grant table.

2008-05-19 Thread Isaku Yamahata
Xen implements grant tables which is for sharing pages with guest domains. This patch implements arch specific part of grant table initialization. and xen_alloc_vm_area()/xen_free_vm_area() which are helper functions for xen grant table. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> ---

[Xen-ia64-devel] [PATCH 14/23] ia64/pv_ops/xen: define xen paravirtualized instructions for hand written assembly code

2008-05-19 Thread Isaku Yamahata
define xen paravirtualized instructions for hand written assembly code. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/xen/inst.h | 490 +++ 1 files changed, 49

[Xen-ia64-devel] [PATCH 08/23] ia64/xen: xencomm conversion functions for hypercalls

2008-05-19 Thread Isaku Yamahata
off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile|2 +- arch/ia64/xen/xcom_hcall.c| 424 + include/asm-ia64/xen/xcom_hcall.h | 51 + 3 files chang

[Xen-ia64-devel] [PATCH 13/23] ia64/pv_ops/xen: define xen pv_cpu_ops.

2008-05-19 Thread Isaku Yamahata
define xen pv_cpu_ops which implementes xen paravirtualized privileged instructions. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/xen_pv_ops.c | 114 1 files

[Xen-ia64-devel] [PATCH 04/23] ia64/xen: define several constants for ia64/xen.

2008-05-19 Thread Isaku Yamahata
define several constants for ia64/xen. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/asm-offsets.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c

[Xen-ia64-devel] [PATCH 05/23] ia64/xen: define helper functions for xen related address conversion.

2008-05-19 Thread Isaku Yamahata
Xen needs some address conversions between pseudo physical address (guest phsyical address), guest machine address (real machine address) and dma address. Define helper functions for those address conversion. Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata &

[Xen-ia64-devel] [PATCH 00/23] ia64/xen domU take 6

2008-05-19 Thread Isaku Yamahata
Hi. This patchset implements ia64/xen domU support based on ia64/pv_ops frame work which was sent as another patchest. Changes from take 5 are rebased to Linux 2.6.26-rc3, bug fix ivt.S paravirtualization and multi entry point support. I believe these patches can be applied to the linux ia64 reposi

[Xen-ia64-devel] [PATCH 01/17] ia64: preparation: remove extern in irq_ia64.c

2008-05-19 Thread Isaku Yamahata
remove extern declaration of handle_IPI() in irq_ia64.c. Instead, declare it in asm-ia64/smp.h. Later handle_IPI() will be referenced from another file. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/irq_ia64.c |1 - include/asm-ia64/smp.h |2 ++ 2

[Xen-ia64-devel] [PATCH 10/17] ia64/pv_ops: paravirtualize minstate.h.

2008-05-19 Thread Isaku Yamahata
(Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/minstate.h | 13 +++-- arch/ia64/kernel/paravirt_inst.h | 29 + include/asm-ia64/native/inst.h |2 ++ 3 files changed, 38 insertions(+)

[Xen-ia64-devel] [PATCH 00/17] ia64/pv_ops take 6

2008-05-19 Thread Isaku Yamahata
Hi. This patchset implements ia64/pv_ops support which is the framework for virtualization support. Changes from take 5 are rebased to Linux 2.6.26-rc3, bug fix ivt.S paravirtualization and multi entry point support. I believe these patches can be applied to the linux ia64 repository. On x86 vario

[Xen-ia64-devel] [PATCH 17/17] ia64/pv_ops: add to hooks, pv_time_ops, for steal time accounting.

2008-05-19 Thread Isaku Yamahata
Introduce pv_time_ops which adds hook to steal time accounting. On virtualized environment, cpus are shared by many guests and steal time is the time which is used for other guests. On virtualized environtment, streal time should be accounted. Signed-off-by: Isaku Yamahata <[EMAIL PROTEC

[Xen-ia64-devel] [PATCH 16/17] ia64/pv_ops: add hooks, pv_irq_ops, to paravirtualized irq related operations.

2008-05-19 Thread Isaku Yamahata
related operations. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/irq_ia64.c | 18 +++ arch/ia64/kernel/paravirt.c | 15 + include/asm-ia64/hw_irq.h | 23 +--- incl

[Xen-ia64-devel] [PATCH 09/17] ia64/pv_ops: define paravirtualized instructions for native.

2008-05-19 Thread Isaku Yamahata
pv_cpu_asm_ops: define paravirtualized introduce for native execution environment. Cc: Keith Owens <[EMAIL PROTECTED]> Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/na

[Xen-ia64-devel] [PATCH 07/17] ia64/pv_ops: introduce pv_cpu_ops to paravirtualize privileged instructions.

2008-05-19 Thread Isaku Yamahata
introduce pv_cpu_ops to paravirtualize privleged instructions which are defined by ia64 intrinsics. make them indirect C function calls by introducing function tables, pv_cpu_ops. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]&g

[Xen-ia64-devel] [PATCH 11/17] ia64/pv_ops: paravirtualize ivt.S

2008-05-19 Thread Isaku Yamahata
igned-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/ivt.S | 249 +++ 1 files changed, 122 insertions(+), 127 deletions(-) diff --git a/arch/ia64/kernel/ivt.S b/arch

[Xen-ia64-devel] [PATCH 08/17] ia64/pv_ops: preparation for paravirtulization of hand written assembly code.

2008-05-19 Thread Isaku Yamahata
TECTED]> Cc: [EMAIL PROTECTED] Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/Makefile |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile index 10a4ddb..8b25242 100644 --- a/arch/ia64/ker

[Xen-ia64-devel] [PATCH 15/17] ia64/pv_ops: add hooks, pv_iosapic_ops, to paravirtualize iosapic.

2008-05-19 Thread Isaku Yamahata
add hooks to paravirtualize iosapic which is a real hardware resource. On virtualized environment it may be replaced something virtualized friendly. Define pv_iosapic_ops and add the hooks. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/iosapic.c

[Xen-ia64-devel] [PATCH 12/17] ia64/pv_ops: paravirtualize entry.S

2008-05-19 Thread Isaku Yamahata
instances. Cc: Keith Owens <[EMAIL PROTECTED]> Cc: "Dong, Eddie" <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/Makefile |2 +- arch/ia64/kernel/entry.S | 115 ++-

[Xen-ia64-devel] [PATCH 13/17] ia64/pv_ops: paravirtualize NR_IRQS

2008-05-19 Thread Isaku Yamahata
Make NR_IRQ overridable by each pv instances. Pv instance may need each own number of irqs so that NR_IRQS should be the maximum number of nr_irqs each pv instances need. Cc: Jes Sorensen <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/i

[Xen-ia64-devel] [PATCH 14/17] ia64/pv_ops: define initialization hooks, pv_init_ops, for paravirtualized environment.

2008-05-19 Thread Isaku Yamahata
define pv_init_ops hooks which represents various initialization hooks for paravirtualized environment. and add hooks. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/paravirt.c |7 arch/ia64/ke

[Xen-ia64-devel] [PATCH 04/17] ia64/pv_ops: preparation: introduce ia64_get_psr_i() to make kernel paravirtualization friendly.

2008-05-19 Thread Isaku Yamahata
__local_irq_save() and local_save_flags() are used to mask interruptions. They read all psr bits that requres whole bit emulation. On the other hand, reading only psr.i, the single bit, can be virtualized cheaply. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/as

[Xen-ia64-devel] [PATCH 05/17] ia64/pv_ops: introduce pv_info which describes some random info.

2008-05-19 Thread Isaku Yamahata
introduce pv_info which describes some randome info about underlying execution environment. Cc: Jes Sorensen <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/Makefile |2 + arch/ia64/kernel/paravirt.c | 41 +

[Xen-ia64-devel] [PATCH 02/17] ia64/pv_ops: preparation: move the constants, LOAD_OFFSET, to a header file.

2008-05-19 Thread Isaku Yamahata
lable to the multi entry point support. Cc: "He, Qing" <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/vmlinux.lds.S |1 - include/asm-ia64/system.h |1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arc

[Xen-ia64-devel] [PATCH 06/17] ia64/pv_ops: add an early setup hook for pv_ops.

2008-05-19 Thread Isaku Yamahata
This patch adds a setup hook in the very early boot sequence before start_kernel() to initialize paravirtualization stuff. The hook will be set by each pv loader code or by using multi entry point. Signed-off-by: Qing He <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL

[Xen-ia64-devel] [PATCH 03/17] ia64/pv_ops: preparation: introduce ia64_set_rr0_to_rr4() to make kernel paravirtualization friendly.

2008-05-19 Thread Isaku Yamahata
make kernel paravirtualization friendly by introducing ia64_set_rr0_to_rr4(). ia64/Xen will replace setting rr[0-4] with single hypercall later. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/intrinsics.h |9 + include/asm-ia64/mmu_context.h |6 +--

[Xen-ia64-devel] Re: [PATCH 00/15] ia64/pv_ops take 5

2008-05-18 Thread Isaku Yamahata
On Fri, May 16, 2008 at 05:06:21PM -0700, Luck, Tony wrote: > I started looking at this patch set. Thank you for your time. > Parts 1-9 applied ok, but part10 (entry.S) failed to apply because of > recent changes to this file to fix the problems with warnings when > trying to get locks with inte

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#17661 Status Report --- Twonew issues found

2008-05-16 Thread Isaku Yamahata
On Fri, May 16, 2008 at 03:08:05PM +0800, Zhang, Jingke wrote: > Zhang, Jingke wrote: > > Hi all, > > The old VTI Save-Restore issue was fixed now. Then VTI > > save&restore, live-migration can pass! > > > > Two new block isses were found: > > Issue1. Qcow image made by qcow-create of

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#17661 Status Report --- Two new issues found

2008-05-15 Thread Isaku Yamahata
On Fri, May 16, 2008 at 10:53:09AM +0800, Zhang, Jingke wrote: > Issue2. Windows guest can not be booted up. > --- VTI_Windows2008 can not be booted. When we ran bootmgfw.efi, > it would also report failure in the qemu screen. > --- VTI_Windows2003 guest will crash at "starting

[Xen-ia64-devel] [PATCH] trivial compilation error fix for 17645:8d18e52a1b23 (was Re: [Xen-devel][PATCH] patch to support super page (2M) with EPT)

2008-05-15 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1210906165 -32400 # Node ID 6d6e35e53f46768bda3a642dd94fff4ed9be8108 # Parent f12724194ec6768baf865dc2d54afe646dbeac79 [IA64] trivial compilation error fix for 17645:8d18e52a1b23. This patch fixes copilation errors caua

Re: [Xen-ia64-devel] [PATCH][3/3] Steal time accounting forPVdomain/IA64 TAKE2

2008-05-15 Thread Isaku Yamahata
On Thu, May 15, 2008 at 06:02:00PM +0900, Atsushi SAKAI wrote: > consider_steal_time() treats stolentick. > The stolentick is composed of l->itm_delta + alpha. > The stolentick can consider the large value(unsigned long). > So stolentick can take from 0 to unsigned long. > In this meaning, the val

Re: [Xen-ia64-devel] [PATCH][3/3] Steal time accounting forPVdomain/IA64 TAKE2

2008-05-14 Thread Isaku Yamahata
On Wed, May 14, 2008 at 06:24:07PM +0900, Atsushi SAKAI wrote: > > local_cpu_data->itm_next can be past. > > i.e. It can be smaller than ia64_get_itc() - local_cpu_data->itm_delta. > > As you know, the steal time accounting should count > the time between previous interrupt to current interrupt.

Re: [Xen-ia64-devel][PATCH]Build new infrastructure for fast fault handling path.

2008-05-14 Thread Isaku Yamahata
On Wed, May 14, 2008 at 02:36:34PM +0800, Xu, Anthony wrote: > Thanks for tracking it down. > This is new one per your input. Applied, thanks. -- yamahata ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/x

Re: [Xen-ia64-devel] [PATCH][GFW][RFC] fix EFI_SAL_SET_VECTORS

2008-05-14 Thread Isaku Yamahata
On Wed, May 14, 2008 at 10:43:24AM +0200, [EMAIL PROTECTED] wrote: > Quoting Isaku Yamahata <[EMAIL PROTECTED]>: > > > On Tue, May 13, 2008 at 12:24:16PM +0200, [EMAIL PROTECTED] wrote: > > > > The uncached physical addresses are hard coded, but they aren't

Re: [Xen-ia64-devel][PATCH]Build new infrastructure for fast fault handling path.

2008-05-13 Thread Isaku Yamahata
On Wed, May 14, 2008 at 02:36:34PM +0800, Xu, Anthony wrote: > Thanks for tracking it down. > This is new one per your input. > > Next step, we need add warning mechanism in fast path. Okay. Are you going to send as another patch? > diff -r f2457c7aff8d xen/arch/ia64/vmx/vmx_phy_mode.c ... >

Re: [Xen-ia64-devel][PATCH]Build new infrastructure for fast fault handling path.

2008-05-13 Thread Isaku Yamahata
tern void prepare_if_physical_mode(VCPU *vcpu); extern void recover_if_physical_mode(VCPU *vcpu); On Mon, May 12, 2008 at 04:12:28PM +0900, Isaku Yamahata wrote: > On Mon, May 12, 2008 at 11:27:29AM +0800, Xu, Anthony wrote: > > Hi isaku, > > > > I can't reprocude it. > >

Re: [Xen-ia64-devel] [PATCH][GFW][RFC] fix EFI_SAL_SET_VECTORS

2008-05-13 Thread Isaku Yamahata
g/Dxe/XenSal/XenSal.msa > > seems to need modification too, but I don't know how to generate the file. > > Is there any documentation describing that? > > Eh yes, in tiancore docs. But you don't want to read them. > I will take care of this. Thank you. It would s

Re: [Xen-ia64-devel] [PATCH][3/3] Steal time accounting forPVdomain/IA64 TAKE2

2008-05-13 Thread Isaku Yamahata
But what about stolen and blocked? local_cpu_data->itm_next can be past. i.e. It can be smaller than ia64_get_itc() - local_cpu_data->itm_delta. > > P.S. > If you confuse the name of stolentick, please forgive me. > > Thanks > Atsushi SAKAI > > > Isaku Yamahat

[Xen-ia64-devel] [PATCH] fix sal emulation.

2008-05-13 Thread Isaku Yamahata
[IA64] fix sal emulation. fix sal emulation, SAL_SET_VECTORS, SAL_MC_SET_PARAMS. It allowed any domains to change system wide state. But only dom0 is able to change it. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r dfe378c657e0 xen/arch/ia64/xen/fw_emul.c --- a/xen/arch/ia

[Xen-ia64-devel] [PATCH][GFW][RFC] fix EFI_SAL_SET_VECTORS

2008-05-13 Thread Isaku Yamahata
While booting recent Linux kernel under VTi domain with the latest open gfw, it panics as following. Linux kernel calls sal call of (EFI_SAL_SET_VECTORS, EFI_SAL_SET_INIT_VECTOR) and the gfw accesses the invalid address. The uncached physical addresses are hard coded, but they aren't relocated whe

<    3   4   5   6   7   8   9   10   11   12   >