[Xen-ia64-devel] [PATCH 04/29] ia64/xen: increase IA64_MAX_RSVD_REGIONS.

2008-07-16 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,

Re: [Xen-ia64-devel] Re: [patch 14/15] ia64: kexec: Only map PAL when making EFI, PAL or SAL calls

2008-07-15 Thread Isaku Yamahata
On Wed, Jul 16, 2008 at 02:31:46PM +1000, Simon Horman wrote: > What do you think about the following? Those are same as what I had in mind. > > /* rr7 (and rr6) may already be set to XEN_EFI_RR, which > * would indicate a nested EFI, SAL or PAL call, such > * as from an MCA. This may have occ

Re: [Xen-ia64-devel] Re: [patch 14/15] ia64: kexec: Only map PAL when making EFI, PAL or SAL calls

2008-07-15 Thread Isaku Yamahata
ing XEN_EFI_RR_ENTER. In other words, > unpining is XEN_EFI_RR_LEAVE shouldn't be neccessary, as the EFI RR > should protect the memory from unwanted accesses by guests (or > the hypevisor for that matter). > > This patch is mostly the work of Yamahata-san. > > Cc: Is

Re: [Xen-ia64-devel] Re: [patch 14/15] ia64: kexec: Only map PAL when making EFI, PAL or SAL calls

2008-07-15 Thread Isaku Yamahata
Some comments below On Tue, Jul 15, 2008 at 04:25:45PM +1000, Simon Horman wrote: [snip] > Index: xen-unstable.hg/xen/include/asm-ia64/linux-xen/linux/efi.h > === > --- xen-unstable.hg.orig/xen/include/asm-ia64/linux-xen/linux/efi.h

[Xen-ia64-devel] Re: [patch 14/15] ia64: kexec: Only map PAL when making EFI, PAL or SAL calls

2008-07-14 Thread Isaku Yamahata
d.sptk .vpd_not_mapped ;; - ptr.d r16,r18 + ptr.i r16,r18 ;; srlz.i ;; On Tue, Jul 15, 2008 at 11:43:17AM +0900, Isaku Yamahata wrote: > Looks good mostly. Some comments below. > > On Tue, Jul 15, 2008 at 10:35:29AM +1000, Simon Horman wrote: &g

[Xen-ia64-devel] Re: [patch 14/15] ia64: kexec: Only map PAL when making EFI, PAL or SAL calls

2008-07-14 Thread Isaku Yamahata
very > early on in boot, or when calling XEN_EFI_RR_ENTER. In other words, > unpining is XEN_EFI_RR_LEAVE shouldn't be neccessary, as the EFI RR > should protect the memory from unwanted accesses by guests (or > the hypevisor for that matter). > > This patch is mostly t

Re: [Xen-ia64-devel] [patch 14/14] ia64: kexec: Map EFI regions into the same place they are maped into in Linux

2008-07-14 Thread Isaku Yamahata
On Mon, Jul 14, 2008 at 10:22:19PM +1000, Simon Horman wrote: > > diff -r e8056a7091a7 xen/arch/ia64/linux-xen/mca_asm.S > > --- a/xen/arch/ia64/linux-xen/mca_asm.S Mon Jul 14 19:31:54 2008 +0900 > > +++ b/xen/arch/ia64/linux-xen/mca_asm.S Mon Jul 14 19:33:20 2008 +0900 > > @@ -473,6 +473,

Re: [Xen-ia64-devel] [patch 14/14] ia64: kexec: Map EFI regions into the same place they are maped into in Linux

2008-07-14 Thread Isaku Yamahata
I_RR right before firmware call by set_one_rr_efi(). So pinning down PAL CODE area by efi_map_pal_code(), ia64_new_rr7(), __vmx_switch_rr7() and ia64_reload_tr() is wrong. So pin down PAL code area only by ia64_new_rr7_efi() and don't pin it down by other functions. Signed-off-by: Isaku Y

Re: [Xen-ia64-devel] [patch 00/14] ia64: kexec: Map EFI memory in the same location as Linux v20080714

2008-07-14 Thread Isaku Yamahata
The following patch will remove some warnings. [IA64] remove warnings Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 13613fb8265a xen/arch/ia64/vmx/vmx_vcpu.c --- a/xen/arch/ia64/vmx/vmx_vcpu.c Mon Jul 14 19:32:30 2008 +0900 +++ b/xen/arch/ia64/vmx/vmx_vcpu.c Mon Jul

Re: [Xen-ia64-devel] [patch 05/14] ia64: kexec: Unpin shared_info, mapped_regs and VPD TR in ia64_do_tlb_purge

2008-07-14 Thread Isaku Yamahata
On Mon, Jul 14, 2008 at 07:21:43PM +1000, Simon Horman wrote: > --- xen-unstable.hg.orig/xen/arch/ia64/linux-xen/mca_asm.S2008-07-14 > 17:41:29.0 +1000 > +++ xen-unstable.hg/xen/arch/ia64/linux-xen/mca_asm.S 2008-07-14 > 19:16:56.0 +1000 ... > @@ -320,7 +321,44 @@ ia64_do_tlb_

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-13 Thread Isaku Yamahata
ch, PAL code is wrongly always pinned down to wrong address calculated by efi_get_pal_addr() The attached patch fixes the calculation in efi_get_pal_addr() and makes functions which switch rr7 not pin down PAL code. thanks. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> On Tue, Jul 0

Re: [Xen-ia64-devel] [patch 11/12] ia64: kexec: add __va_efi

2008-07-13 Thread Isaku Yamahata
Hi Simon-san. efi_map_pal_code() efi_get_pal_addr() and __efi_get_pal_addr() also seem to need some modification. Especially __efi_get_pal_addr() should use __va_efi() On Thu, Mar 20, 2008 at 05:52:59PM +1100, Simon Horman wrote: > sal_desc_entry_point() converts physical addresses into virtual >

Re: [Xen-ia64-devel] [patch 06/12] ia64: kexec: Repining for EFI RID

2008-07-13 Thread Isaku Yamahata
On Thu, Mar 20, 2008 at 05:52:54PM +1100, Simon Horman wrote: > Index: xen-unstable.hg/xen/arch/ia64/xen/xenasm.S > === > --- xen-unstable.hg.orig/xen/arch/ia64/xen/xenasm.S 2008-04-22 > 11:24:46.0 +1000 > +++ xen-unstable.

Re: [Xen-ia64-devel] [patch 10/12] ia64: kexec: Use a separate RID for EFI

2008-07-13 Thread Isaku Yamahata
; > Cc: Tristan Gingold <[EMAIL PROTECTED]> > Cc: Isaku Yamahata <[EMAIL PROTECTED]> > Cc: Alex Williamson <[EMAIL PROTECTED]> > Cc: Aron Griffis <[EMAIL PROTECTED]> > Signed-off-by: Simon Horman <[EMAIL PROTECTED]> > > --- > Tue, 23 Oct 2007 15:4

Re: [Xen-ia64-devel] [Question] Which feature of Xen-IPF will reserve much memory of a VTI guest?

2008-07-11 Thread Isaku Yamahata
Hi Jingke. Although I haven't digged into it and I'm not sure, I suppose that Linux/ia64 may round up/down usable memory when parsing efi memory map. Presumably looking into /proc/iomem may help to track down the issue. thanks, On Wed, Jul 09, 2008 at 01:36:19PM +0800, Zhang, Jingke wrote: > Hi

Re: [Xen-ia64-devel] [PATCH] Fix SMP-unsafe with XENMEM_add_to_physmap on HVM

2008-07-07 Thread Isaku Yamahata
Applied, thanks. On Mon, Jul 07, 2008 at 01:04:06PM +0900, Kouya Shimura wrote: Content-Description: message body text > Isaku Yamahata writes: > > Doesn't flush_tlb_for_log_dirty() have same issue? > > It's OK since flush_tlb_for_log_dirty() is called only while a doma

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-06 Thread Isaku Yamahata
On Wed, Jul 02, 2008 at 05:20:48PM +1000, Simon Horman wrote: > On Wed, Jul 02, 2008 at 04:20:33PM +1000, Simon Horman wrote: > > On Tue, Jul 01, 2008 at 09:19:24PM +0900, Isaku Yamahata wrote: > > [snip] > > > > As I'm reviewing the patches, I noticed only

Re: [Xen-ia64-devel] [PATCH] Fix SMP-unsafe with XENMEM_add_to_physmap on HVM

2008-07-06 Thread Isaku Yamahata
Hi Kouya. Doesn't flush_tlb_for_log_dirty() have same issue? As a minor code nit. Could it be moved the new code fragment under the directory, arch/ia64/vmx? It's somewhat inconsistent to define a vmx prefixed function under the directory, arch/ia64/xen. something like: void domain_flush_vtlb_al

[Xen-ia64-devel] Re: [PATCH] xen: compilation fix for ia64 support.

2008-07-03 Thread Isaku Yamahata
On Thu, Jul 03, 2008 at 02:51:03PM -0700, Jeremy Fitzhardinge wrote: > Isaku Yamahata wrote: > >don't include asm/pvclock-abi.h directly, but asm/xen/pvclock-abi.h > >At this moment linux ia64 won't accept asm/pvclock-abi.h because > >there's no user of it.

[Xen-ia64-devel] [PATCH] fix serial console detection failure caused by cfbc535ebf6f

2008-07-03 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1215135417 -32400 # Node ID c693df9b6d554d4af85026e4c493858c92757301 # Parent ac8bc814faba7f32d575a4530cc23529f17ad790 [IA64] fix serial console detection failure caused by cfbc535ebf6f This patch fixes serial c

[Xen-ia64-devel] [PATCH] removed an unused function, guest_forward_keyboard_input().

2008-07-03 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1214990908 -32400 # Node ID ac8bc814faba7f32d575a4530cc23529f17ad790 # Parent 08f77df14cba8e2dfe580779bb9ca2f64e1ae0ae [IA64] removed an unused function, guest_forward_keyboard_input(). Signed-off-by: Isaku Yamahata &

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-03 Thread Isaku Yamahata
On Thu, Jul 03, 2008 at 08:50:56PM +1000, Simon Horman wrote: > Hi, > > I have been looking over the SAL manual and looking into where > exactly the lockup that I am seeing occurs. > > What seems to happen is this. > > If ia64_mca_cpe_int_caller() is called from vmx context (is that the > right

[Xen-ia64-devel] [PATCH] xen: portability clean up and some minor clean up for xencomm.c

2008-07-03 Thread Isaku Yamahata
clean up of xencomm.c. is_phys_contiguous() is arch dependent function that depends on how virtual memory are laid out. So split out the function into arch specific code. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- driver

[Xen-ia64-devel] [PATCH] xen: remove load_cr3() from manage.c for ia64 support.

2008-07-03 Thread Isaku Yamahata
remove load_cr3() from manage.c. It is unncessary and x86 dependent. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- drivers/xen/manage.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index 2bb268e..e8db90c

[Xen-ia64-devel] [PATCH] xen: compilation fix for ia64 support.

2008-07-03 Thread Isaku Yamahata
don't include asm/pvclock-abi.h directly, but asm/xen/pvclock-abi.h At this moment linux ia64 won't accept asm/pvclock-abi.h because there's no user of it. Instead make it include asm/xen/pvclock-abi.h and create asm-x86/xen/pvclock-abi.h which includes asm-x86/pvclock-abi.h. Signe

[Xen-ia64-devel] [PATCH] xen/netfront: Avoid unaligned accesses to IP datagrams.

2008-07-03 Thread Isaku Yamahata
Align ip header to a 16 byte boundary. This patch eliminates noisy warnings on IA64. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- drivers/net/xen-netfront.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/xen-netfront.c b/drivers/n

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

2008-07-02 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] ia64/xen: xencomm conversion functions for hypercalls

2008-07-02 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| 441 + arch/ia64/xen/xencomm.c | 11 + include/asm-ia6

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

2008-07-02 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] ia64/pv_ops: paravirtualized istruction checker.

2008-07-02 Thread Isaku Yamahata
codes. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/Makefile| 18 arch/ia64/kernel/paravirt_inst.h |4 +- arch/ia64/scripts/pvcheck.sed| 32 +++ include/asm-ia64/native/pvchk_inst.h | 158 ++ 4 fi

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

2008-07-02 Thread Isaku Yamahata
EMAIL PROTECTED]> + * Dietmar Hahn <[EMAIL PROTECTED]> + * Hollis Blanchard <[EMAIL PROTECTED]> + * Isaku Yamahata <[EMAIL PROTECTED]> + * Jan Beulich <[EMAIL PROTECTED]> + * John Levon <[EMAIL PROTECTED]> + * Kazuhiro Suzuki <[EMAIL PROTECTED]> + * Keir Fras

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

2008-07-02 Thread Isaku Yamahata
. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/xencomm.c| 94 include/a

[Xen-ia64-devel] [PATCH] ia64/xen: a recipe for using xen/ia64 with pv_ops.

2008-07-02 Thread Isaku Yamahata
Recipe for useing xen/ia64 with pv_ops domU. Signed-off-by: Akio Takebe <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- Documentation/ia64/xen.txt | 183 1 files changed, 183 insertions(+), 0 deletions(-) create

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

2008-07-02 Thread Isaku Yamahata
introduce CONFIG_PARAVIRT_GUEST, CONFIG_PARAVIRT for paravirtualized guest. introduce CONFIG_XEN, CONFIG_IA64_XEN_GUEST for xen. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED

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

2008-07-02 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] ia64/xen: preliminary support for save/restore.

2008-07-02 Thread Isaku Yamahata
preliminary support for save/restore. Although Save/restore isn't fully working yet, this patch is necessary to compile. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/{time.h => sus

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

2008-07-02 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] ia64/xen: define xen machine vector for domU.

2008-07-02 Thread Isaku Yamahata
define xen machine vector for domU. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- arch/ia64/Makefile |2 ++ arch/ia64/kernel/acpi.c|5 + arch/ia64/xen/Makefile |2 ++ arch/ia64/xen/m

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

2008-07-02 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] ia64/xen: define helper functions for xen hypercalls.

2008-07-02 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] ia64/pv_ops/xen: implement xen pv_time_ops.

2008-07-02 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] ia64/pv_ops/xen: define xen paravirtualized instructions for hand written assembly code

2008-07-02 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 | 450 +++ 1 files changed, 45

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

2008-07-02 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] ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.

2008-07-02 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 | 134 +++ 2 f

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

2008-07-02 Thread Isaku Yamahata
Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile|2 +- arch/ia64/xen/hypervisor.c| 96 arch/ia64/xen/xen_pv_ops.c| 110 +++

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

2008-07-02 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] ia64/pv_ops/xen: paravirtualize ivt.S for xen.

2008-07-02 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 | 52 +++ include/asm-ia64/xen/inst.h |1 + 3 files chang

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

2008-07-02 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 00/29] ia64/xen domU take 8

2008-07-02 Thread Isaku Yamahata
Hi. This patchset is ia64/xen domU patch take 8 which was updated following Tony's review. (Thank you very much, Tony.) This patchset implements ia64/xen domU support based on ia64/pv_ops frame work which was sent as another patchest. This patchset is for linux ia64 test branch and depends on some

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

2008-07-02 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] ia64/xen: introduce sync bitops which is necessary for ia64/xen support.

2008-07-02 Thread Isaku Yamahata
rdinge <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- include/asm-ia64/sync_bitops.h | 51 1 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 in

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

2008-07-02 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] ia64: move function declaration, ia64_cpu_local_tick() from .c to .h

2008-07-02 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] ia64/xen: define several constants for ia64/xen.

2008-07-02 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] ia64/xen: add a neccessary header file to copmle include/xen/interface/xen.h

2008-07-02 Thread Isaku Yamahata
Create include/asm-ia64/xen/pvclock-abi.h to compile. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/xen/pvclock-abi.h | 44 1 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 include/asm-ia64/xen/pvclock

[Xen-ia64-devel] [PATCH] ia64/xen: reserve "break" numbers used for xen hypercalls.

2008-07-02 Thread Isaku Yamahata
reserve "break" numbers used for xen hypercalls to avoid reuse for something else. Cc: "Luck, Tony" <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- include/asm-ia64/break.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-

Re: [Xen-devel] RE: [Xen-ia64-devel] MSI-X problems compiling Xen-ia64-unstable

2008-07-02 Thread Isaku Yamahata
Hi Haitao. Thanks for quick reply. Guilherme, could you try the patch? On Thu, Jul 03, 2008 at 10:52:56AM +0800, Shan, Haitao wrote: > Hi, Isaku, > > Can the attached patch solve your header problem? > Thanks! > > Best Regards > Shan Haitao > > -Original Message-

Re: [Xen-ia64-devel] MSI-X problems compiling Xen-ia64-unstable

2008-07-02 Thread Isaku Yamahata
added To: Shan Haitao <[EMAIL PROTECTED]>, Cc: xen-devel I think this is not ia64 specific, but generic issue. It looks like msi-x related definitions are missing. Greping under /usr/include tells me the followings. The c/s 17605:4afc6023e8ec seems to assume that those definitions are defined in u

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-02 Thread Isaku Yamahata
On Wed, Jul 02, 2008 at 04:20:33PM +1000, Simon Horman wrote: > I have done some more investigations and it does really > seem that calling ia64_sal_get_state_info() via ia64_log_queue() > in ia64_mca_cpe_int_caller() causes the hypervisor to lock > up when my EFI RR patches are applied. > > As y

[Xen-ia64-devel] Please pull ia64 trees

2008-07-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 updates of acpi related files, save/restore update for pv_ops and bug fixes from Akio, and mini-os update from Samuel Thibault.

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-01 Thread Isaku Yamahata
On Tue, Jul 01, 2008 at 09:20:27PM +1000, Simon Horman wrote: > On Tue, Jul 01, 2008 at 08:04:16PM +0900, Isaku Yamahata wrote: > > On Tue, Jul 01, 2008 at 05:34:42PM +1000, Simon Horman wrote: > > > On Tue, Jul 01, 2008 at 04:07:53PM +0900, Isaku Yamahata wrote: > > > &

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-01 Thread Isaku Yamahata
On Tue, Jul 01, 2008 at 05:34:42PM +1000, Simon Horman wrote: > On Tue, Jul 01, 2008 at 04:07:53PM +0900, Isaku Yamahata wrote: > > On Tue, Jul 01, 2008 at 11:03:28AM +1000, Simon Horman wrote: > > > Hi, > > > > > > I'm a bit hesitant to jump the gun, but

Re: [Xen-ia64-devel] EFI Mapping Windows Install Crash Bug

2008-07-01 Thread Isaku Yamahata
On Tue, Jul 01, 2008 at 11:03:28AM +1000, Simon Horman wrote: > Hi, > > I'm a bit hesitant to jump the gun, but I think that I might have > isolated the cause of win2k3-sp2 crashing during install when my EFI > Mapping patches are applied. Well, perhaps not the cause, but I think I > know where it

[Xen-ia64-devel] Re: Dom0 (built by GCC4.1.2) can not be booted up

2008-06-22 Thread Isaku Yamahata
Hi Zhang. Just as unreliable suggestions. Do you enablied CONFIG_PCI_MSI=y for the kernel? My config disables it. I guess that the Makefiles that generates .config for Liux was changed so that xen/ia64 has to catch it up. Probably xen-unstable.hg/buildconfigs/enable-xen-config has to be updated, b

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

2008-06-19 Thread Isaku Yamahata
On Thu, Jun 19, 2008 at 10:15:09AM -0700, Luck, Tony wrote: > >> +#define is_kernel_addr(x) \ > >> + ((PAGE_OFFSET <= (x) && \ > >> + (x) < (PAGE_OFFSET + (1UL << IA64_MAX_PHYS_BITS))) || \ > >> +(KERNEL_STAR

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

2008-06-19 Thread Isaku Yamahata
o rename CONFIG_IA64_XEN to be > CONFIG_IA64_XEN_GUEST? The comments you add to > arch/ia64/Kconfig say that this is what it means. Sounds reasonable. >From 0ab56a68e392c4d0fcf244cb91538e9645af5929 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Thu, 19 Jun 2008 20:01:

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

2008-06-19 Thread Isaku Yamahata
egion > 5 that is mapped by itr[0]/dtr[0]. Preferebly pick a better name > or add a comment here saying what this is testing for. How about xencomm_is_phys_contiguous()? Renaming it requires patches to drivers/xen/xencomm.c. If okay, I'll also send the patch to common files. >From

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

2008-06-19 Thread Isaku Yamahata
ou can still > define all the HYPERPRIVOP_* defines in a separate file). > > -Tony Here is the patch to reserve those numbers. >From 1c9b394c025bb9dcb29dc8240bda68117f577c9d Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Thu, 19 Jun 2008 19:07:37 +0900 Su

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

2008-06-19 Thread Isaku Yamahata
+ * End: > + */ > > > and I hate to be a trend setter. > > -Tony Lindented and add copyright holders. I determined the copyrigth holders by grepping Signed-off-by commit log. >From 48ee02185361f771e89da5936f3a7f713232240f Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[E

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

2008-06-19 Thread Isaku Yamahata
work when you just mean this? Yes. >From 45188e8d0d45b12ac7293098bf115874caf7bb5f Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Thu, 19 Jun 2008 18:31:07 +0900 Subject: [PATCH] ia64/xen: introduce synch bitops which is necessary for ia64/xen support. de

[Xen-ia64-devel] [PATCH] remove some #ifndef XEN using empty headerfiles.

2008-06-12 Thread Isaku Yamahata
[IA64] remove some #ifndef XEN using empty headerfiles. move mm_numa.c from linux-xen to linux because now mm_numa.c is identical to linux files. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 59f30d78b596 xen/arch/ia64/linux-xen/Makefile --- a/xen/arch/ia64/linux-xen/Makefil

[Xen-ia64-devel] [PATCH] remove unnecessary ia64_ksyms.c.

2008-06-12 Thread Isaku Yamahata
[IA64] remove unnecessary ia64_ksyms.c. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 316b6ed85f04 xen/arch/ia64/linux/Makefile --- a/xen/arch/ia64/linux/Makefile Thu Jun 12 12:30:31 2008 +0900 +++ b/xen/arch/ia64/linux/Makefile Thu Jun 12 18:31:49 2008 +0900 @@ -9,

[Xen-ia64-devel] [PATCH 5/5] remove unused old acpi.c

2008-06-12 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213177655 -32400 # Node ID b477fb2022639b1e7d9832d6433e234176d5fb6f # Parent 89ab2cb0bf28b8f1b0205eafaae6c3785a330b44 [IA64] remove unused old acpi.c. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --gi

[Xen-ia64-devel] [PATCH 1/5] efi: update struct efi

2008-06-12 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213171062 -32400 # Node ID 69f1c456d2f04f63f82362b2bdade89ec67aa0a9 # Parent e358ef6cbd41309f794b6bfa68375311d904d65e [IA64] efi: remove old efi code to copmile newer linux acpi code. Signed-off-by: Isaku Yamahata &

[Xen-ia64-devel] [PATCH 4/5] make acpi related files compile.

2008-06-12 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213177513 -32400 # Node ID c918cf266e853ede979136b5993d889244c3da4f # Parent 471049ae911966d1eebeb78a5c5cee975379c5eb [IA64] make acpi related files compilable. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>

[Xen-ia64-devel] [PATCH 0/5] acpi updates patches

2008-06-12 Thread Isaku Yamahata
This patch set is for updating acpi related files. By c/s 17814:9af7a535225f, xen acpi driver was updated to linux 2.6.25-rc4 based. That broke ia64 compilation. So ia64 port should catch it up and this patch series fixes the breakage. This patch set depends on the 2 patches which I'm going to po

[Xen-ia64-devel] [PATCH 2/5] remove an unused header file.

2008-06-12 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213166280 -32400 # Node ID 91d1e9603110f50e46f39cc24dbac8340b0f4b76 # Parent 6aed5cd65ae0efb5d4bc0478c97363a26fa3ff7a [IA64] removed an unused header file. removed an unused header file and MAX_NUMNODES were defined

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

2008-06-10 Thread Isaku Yamahata
I published the new branch ia64-pv-ops-2008june10-xen-ia64 which is available from http://people.valinux.co.jp/~yamahata/xen-ia64/for_eagl/linux-2.6-ia64-pv-ops.git/ The above repository is based on git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 test git://git.kernel.org/pub/scm/lin

Re: [Xen-ia64-devel] [PATCH 0/3] pv_ops save/restore support

2008-06-10 Thread Isaku Yamahata
42 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Tue, 10 Jun 2008 11:22:47 +0900 Subject: [PATCH] ia64/xen: working around for save/restore working around for save/restore. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/time.c |

[Xen-ia64-devel] [PATCH 1/3] pv_ops save/restore xen part

2008-06-10 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213080887 -32400 # Node ID 4af5059f4e0d8072a1dfd6740496af8d055d4443 # Parent 1feb98eb64eff4c97bf185047790f80e67501b3d [IA64] add VGCF_online flag for XEN_DOMCTL_setvcpucontext to make vcpu online. Exte

[Xen-ia64-devel] [PATCH 2/3] pv_ops save/restore restore part

2008-06-10 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213081089 -32400 # Node ID fc89fb719214218c6245f632720f5105261539bd # Parent 4af5059f4e0d8072a1dfd6740496af8d055d4443 [IA64] ia64 save/restore new formart. restore part. Introduce ia64 save/restore new formart. restor

[Xen-ia64-devel] [PATCH 3/3] pv_ops save/restore save part

2008-06-10 Thread Isaku Yamahata
# HG changeset patch # User Isaku Yamahata <[EMAIL PROTECTED]> # Date 1213081233 -32400 # Node ID 1201c765783217371166062621e8926cb7643cfd # Parent fc89fb719214218c6245f632720f5105261539bd [IA64] ia64 save/restore new formart. save part. Introduce ia64 save/restore new formart. save par

[Xen-ia64-devel] [PATCH 0/3] pv_ops save/restore support

2008-06-10 Thread Isaku Yamahata
This patch series introduce new ia64 save/restore format to support pv_ops linux guest. Currently Linux kernel makes vcpus offline except a boot processor (vcpu = 0) when saving so that only vcpu = 0 is made online by the tools stack when restoring. Then Linux kernel itself makes other vcpus up.

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

2008-06-10 Thread Isaku Yamahata
On Tue, Jun 10, 2008 at 05:41:39PM +1000, Nick Piggin wrote: > On Tuesday 10 June 2008 17:35, Isaku Yamahata wrote: > > 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 a

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

2008-06-10 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 25/27] ia64/xen: preliminary support for save/restore.

2008-06-10 Thread Isaku Yamahata
preliminary support for save/restore. Although Save/restore isn't fully working yet, this patch is necessary to compile. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile |2 +- arch/ia64/xen/{time.h => sus

[Xen-ia64-devel] [PATCH 27/27] ia64/xen: a recipe for using xen/ia64 with pv_ops.

2008-06-10 Thread Isaku Yamahata
Recipe for useing xen/ia64 with pv_ops domU. Signed-off-by: Akio Takebe <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- Documentation/ia64/xen.txt | 183 1 files changed, 183 insertions(+), 0 deletions(-) create

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

2008-06-10 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 24/27] ia64/xen: define xen machine vector for domU.

2008-06-10 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 20/27] ia64/pv_ops/xen: implement xen pv_iosapic_ops.

2008-06-10 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 19/27] ia64/pv_ops/xen: paravirtualize entry.S for ia64/xen.

2008-06-10 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 21/27] ia64/pv_ops/xen: define the nubmer of irqs which xen needs.

2008-06-10 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 17/27] ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.

2008-06-10 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 | 134 +++ 2 f

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

2008-06-10 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 | 52 +++ include/asm-ia64/xen/inst.h |1 + 3 files chang

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

2008-06-10 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 | 450 +++ 1 files changed, 45

[Xen-ia64-devel] [PATCH 15/27] ia64/pv_ops/xen: define xen pv_cpu_ops.

2008-06-10 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 14/27] ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.

2008-06-10 Thread Isaku Yamahata
ed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Makefile|2 +- arch/ia64/xen/hypervisor.c| 96 ar

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

2008-06-10 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 10/27] ia64/xen: xencomm conversion functions for hypercalls

2008-06-10 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| 441 + arch/ia64/xen/xencomm.c | 11 + include/asm-ia6

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

2008-06-10 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

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