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

2008-10-16 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/include/asm/machvec.h |2 ++ arch/ia64/include/asm/machvec_xen.h | 22 ++

[Xen-ia64-devel] [PATCH 17/33] ia64/xen: introduce helper function to identify domain mode.

2008-10-16 Thread Isaku Yamahata
There are four operating modes Xen code may find itself running in: - native - hvm domain - pv dom0 - pv domU Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/hypervisor.h | 75 1 files changed, 75 insertions(+), 0 del

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

2008-10-16 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]> Cc: Akio Takebe <[EMAIL PROTECTED]> --- arch/ia64/include/asm

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

2008-10-16 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 30/33] ia64/xen: preliminary support for save/restore.

2008-10-16 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 32/33] ia64/xen: a recipe for using xen/ia64 with pv_ops.

2008-10-16 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 09/33] ia64/xen: define several constants for ia64/xen.

2008-10-16 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 22/33] ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.

2008-10-16 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]> --- arch/ia64/include/asm/xen/inst.h |2 + arch/ia64/include/asm/xen/minstate.h | 134 +++

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

2008-10-16 Thread Isaku Yamahata
Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/hypervisor.h | 14 arch/ia64/xen/Makefile |2 +- arch/ia64/xen/hypervisor.c | 96 arch/ia64/xen/xen_pv_

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

2008-10-16 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 10/33] ia64/xen: add a necessary header file to compile include/xen/interface/xen.h

2008-10-16 Thread Isaku Yamahata
-abi.h from include/asm-ia64/pvclock-abi.h. But this would break if x86 header files are moved under arch/x86. So for now, same definitions are duplicated as suggested by Tony. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- arch/ia64/inc

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

2008-10-16 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 12/33] ia64/xen: define helper functions for xen hypercalls.

2008-10-16 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/include/asm/xen/hypercall.h | 265 + arch/ia64/include/asm/

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

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

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

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

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

2008-10-16 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 23/33] ia64/pv_ops/xen: paravirtualize ivt.S for xen.

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

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

2008-10-16 Thread Isaku Yamahata
tian Limpach <[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]

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

2008-10-16 Thread Isaku Yamahata
. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> Cc: Akio Takebe <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/xencomm.h | 41 +++ arch/ia64/xen/Makefile

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

2008-10-16 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]> --- arch/ia64/include/asm/xen/events.h | 50 1 files changed, 50 insertions(+), 0 del

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

2008-10-16 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 18/33] ia64/pv_ops/xen: elf note based xen startup.

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

[Xen-ia64-devel] [PATCH 00/33] ia64/xen domU take 12

2008-10-16 Thread Isaku Yamahata
This patchset is ia64/xen domU patch take 12. Tony, please commit those patches. They are ready to commit because all the issues which were pointed out had been addressed and got enough reviews. This patchset does the followings. - Some preparation work. Mainly importing header files to define

[Xen-ia64-devel] [PATCH 06/33] ia64/xen: introduce sync bitops which is necessary for ia64/xen support.

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

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

2008-10-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]> --- arch/ia64/include/asm/meminit.h |3 ++- 1 files changed,

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

2008-10-16 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]> --- arch/ia64/include/asm/break.h |9 + 1 files changed, 9 insertions(+), 0 dele

[Xen-ia64-devel] [PATCH 02/33] ia64/pv_ops: avoid name conflict of get_irq_chip().

2008-10-16 Thread Isaku Yamahata
The macro get_irq_chip() is defined in linux/include/linux/irq.h which cause name conflict with one in linux/arch/ia64/include/asm/paravirt.h. rename the latter to __get_irq_chip(). Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/paravirt.h |4 ++-- arc

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

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

[Xen-ia64-devel] [PATCH 01/33] ia64/pv_ops: fix paraviatualization of ivt.S with CONFIG_SMP=n

2008-10-16 Thread Isaku Yamahata
When CONFIG_SMP=n, three instruction in ivt.S were missed to paravirtualize. paravirtualize them. Cc: "Luck, Tony" <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/ivt.S |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

[Xen-ia64-devel] [PATCH 03/33] ia64/pv_ops: update native/inst.h to clobber predicate.

2008-10-16 Thread Isaku Yamahata
add CLOBBER_PRED() to clobber predicate register. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/inst.h | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/ia64/include/asm/native/inst.h b/arch/ia64/include/asm/native/

Re: [Xen-ia64-devel][PATCH][VTD] add structure and helper function for interrupt sharing

2008-10-16 Thread Isaku Yamahata
On Wed, Oct 15, 2008 at 05:44:41PM +0800, Xu, Anthony wrote: > add structure and helper function for interrupt sharing > > Sign-off-by; Anthony Xu < [EMAIL PROTECTED] > > > > Anthony Hi. Some comments below. > add structure and helper function for interrupt sharing > > Sign-off-by; Anthony X

Re: [Xen-ia64-devel][PATCH]a virt_to_maddr fix

2008-10-15 Thread Isaku Yamahata
/xenpage.h:31: error: (Each undeclared identifier is reported only once /xen-unstable.hg/xen/include/asm/xenpage.h:31: error: for each function it appears in.) thanks, On Thu, Oct 16, 2008 at 01:16:48PM +0800, Xu, Anthony wrote: > Updated one per your comments > > Anthony > > >

Re: [Xen-ia64-devel][PATCH][VTD] share vioapic_redir_entry structure name with ia32

2008-10-15 Thread Isaku Yamahata
Applied, thanks. On Wed, Oct 15, 2008 at 06:13:38PM +0800, Xu, Anthony wrote: > VTD code uses vioapic_redir_entry structure, > This patch lets viosapci.h use the same structure name and some fields. > That IA64 can use the same VTD code with ia32 > > Signed-off-by; Anthony xu < [EMAIL PROTECTED]

Re: [Xen-ia64-devel][PATCH] change pci_dev structure name

2008-10-15 Thread Isaku Yamahata
Applied, thanks. On Tue, Oct 14, 2008 at 11:18:04AM +0800, Xu, Anthony wrote: > VTD introduces a new pci_dev structure which is conflict with that defined in > xen/include/asm-ia64/linux-xen/linux/linux-pci.h. > > the pci_dev defined in linux-pci.h is only used by sn platform. > So change pci_dev

Re: [Xen-ia64-devel][PATCH]a virt_to_maddr fix

2008-10-15 Thread Isaku Yamahata
On Mon, Oct 13, 2008 at 03:29:54PM +0800, Xu, Anthony wrote: > virt_to_maddr fix > The significant 8 bits of va are used by Xen, > such as 0xf2 is used as uncache mapping. > > In function ioports_permit_access, > mach_start = mmio_start | __pa(space->mmio_base); > Mach_start gets wrong physical a

[Xen-ia64-devel] Re: [PATCH 32/32] ia64/pv_ops: paravirtualized istruction checker.

2008-10-14 Thread Isaku Yamahata
; -Tony > Here is the patch to fix the CONFIG_SMP=n case. BTW with CONFIG_SMP=n, I got the following error so that I had to disable kvm. arch/ia64/kvm/vmm.c: In function 'vmm_spin_unlock': arch/ia64/kvm/vmm.c:63: error: 'raw_spinlock_t' has no member named 'lock' &g

[Xen-ia64-devel] Re: [PATCH 32/32] ia64/pv_ops: paravirtualized istruction checker.

2008-10-14 Thread Isaku Yamahata
> is fixed. Here is the updated pv checker patch. sed script is updated such that the trailing strings are eliminated. >From f1a1171e10f2c9229a284152f9b7e71e1cebf9cb Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Thu, 3 Jul 2008 14:58:58 +0900 Subject: [PATCH] ia64/pv_ops: paravirtualiz

[Xen-ia64-devel] Re: [PATCH 09/32] ia64/xen: add a necessary header file to compile include/xen/interface/xen.h

2008-10-14 Thread Isaku Yamahata
oved under arch/x86. So for now, same definitions are duplicated as suggested by Tony. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- arch/ia64/include/asm/pvclock-abi.h | 48 +++ 1 files changed,

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

2008-10-13 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 32/32] ia64/pv_ops: paravirtualized istruction checker.

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

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

2008-10-13 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 27/32] ia64/pv_ops/xen: implement xen pv_time_ops.

2008-10-13 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 21/32] ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.

2008-10-13 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]> --- arch/ia64/include/asm/xen/inst.h |2 + arch/ia64/include/asm/xen/minstate.h | 134 +++

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

2008-10-13 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/include/asm/machvec.h |2 ++ arch/ia64/include/asm/machvec_xen.h | 22 ++

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

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

[Xen-ia64-devel] [PATCH 16/32] ia64/xen: introduce helper function to identify domain mode.

2008-10-13 Thread Isaku Yamahata
There are four operating modes Xen code may find itself running in: - native - hvm domain - pv dom0 - pv domU Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/hypervisor.h | 75 1 files changed, 75 insertions(+), 0 del

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

2008-10-13 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 24/32] ia64/pv_ops/xen: implement xen pv_iosapic_ops.

2008-10-13 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 08/32] ia64/xen: define several constants for ia64/xen.

2008-10-13 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 20/32] ia64/pv_ops/xen: define xen paravirtualized instructions for hand written assembly code

2008-10-13 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]> Cc: Akio Takebe <[EMAIL PROTECTED]> --- arch/ia64/include/asm

[Xen-ia64-devel] [PATCH 09/32] ia64/xen: add a necessary header file to compile include/xen/interface/xen.h

2008-10-13 Thread Isaku Yamahata
Create include/asm-ia64/pvclock-abi.h to compile which includes include/asm-x86/pvclock-abi.h because ia64/xen uses same structure. Hopefully include/asm-x86/pvclock-abi.h would be moved to somewhere more generic. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/inclu

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

2008-10-13 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]> --- arch/ia64/include/asm/meminit.h |3 ++- 1 files changed,

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

2008-10-13 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/32] ia64/xen: reserve "break" numbers used for xen hypercalls.

2008-10-13 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]> --- arch/ia64/include/asm/break.h |9 + 1 files changed, 9 insertions(+), 0 dele

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

2008-10-13 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 18/32] ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.

2008-10-13 Thread Isaku Yamahata
Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/hypervisor.h | 14 arch/ia64/xen/Makefile |2 +- arch/ia64/xen/hypervisor.c | 96 arch/ia64/xen/xen_pv_

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

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

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

2008-10-13 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/include/asm/xen/hypercall.h | 265 + arch/ia64/include/asm/

[Xen-ia64-devel] [PATCH 13/32] ia64/xen: xencomm conversion functions for hypercalls

2008-10-13 Thread Isaku Yamahata
off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/xcom_hcall.h | 51 arch/ia64/include/asm/xen/xencomm.h|1 + arch/ia64/xen/Makefile |2 +- arch/ia64/xen/xcom_hcall.c

[Xen-ia64-devel] [PATCH 29/32] ia64/xen: preliminary support for save/restore.

2008-10-13 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 22/32] ia64/pv_ops/xen: paravirtualize ivt.S for xen.

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

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

2008-10-13 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 00/32] ia64/xen domU take 11

2008-10-13 Thread Isaku Yamahata
This patchset is ia64/xen domU patch take 11. Tony, please commit those patches. They are ready to commit because all the issues which were pointed out had been addressed and got enough reviews. This patchset does the followings. - Some preparation work. Mainly importing header files to define

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

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

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

2008-10-13 Thread Isaku Yamahata
tian Limpach <[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]

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

2008-10-13 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]> --- arch/ia64/include/asm/xen/events.h | 50 1 files changed, 50 insertions(+), 0 del

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

2008-10-13 Thread Isaku Yamahata
. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> Cc: Akio Takebe <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/xencomm.h | 41 +++ arch/ia64/xen/Makefile

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

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

[Xen-ia64-devel] [PATCH 01/32] ia64/pv_ops: avoid name conflict of get_irq_chip().

2008-10-13 Thread Isaku Yamahata
The macro get_irq_chip() is defined in linux/include/linux/irq.h which cause name conflict with one in linux/arch/ia64/include/asm/paravirt.h. rename the latter to __get_irq_chip(). Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/paravirt.h |4 ++-- arc

[Xen-ia64-devel] [PATCH 02/32] ia64/pv_ops: update native/inst.h to clobber predicate.

2008-10-13 Thread Isaku Yamahata
add CLOBBER_PRED() to clobber predicate register. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/inst.h | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/ia64/include/asm/native/inst.h b/arch/ia64/include/asm/native/

[Xen-ia64-devel] [PATCH 05/32] ia64/xen: introduce sync bitops which is necessary for ia64/xen support.

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

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

2008-10-10 Thread Isaku Yamahata
(struct sys_device *sysdev); + +/* + * Protects atomic reservation decrease/increase against concurrent increases. + * Also protects non-atomic updates of current_pages and driver_pages, and + * balloon lists. + */ +DEFINE_SPINLOCK(xen_reservation_lock); static struct balloon_stats balloon_stats;

[Xen-ia64-devel] Re: [PATCH] xen: make events.c compile for ia64.

2008-10-09 Thread Isaku Yamahata
handle_irq(). They are too generic name to be defined in arch xen specific code. - move #include from events.c to include/asm-x86/xen/event.h only x86 has it. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 9e8842013b3b drivers/xen/events.c --- a/drivers/xen/events.c Mon Oc

[Xen-ia64-devel] Please pull ia64 trees

2008-10-09 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 cpufreq support by Yu Ke and Liu Jinsong, some preliminary patches for VT-d support by Anthony Xu and severla bug fixes. Note: Th

Re: [Xen-ia64-devel] add pci configuration code, which is needed by VTD

2008-10-09 Thread Isaku Yamahata
On Thu, Oct 09, 2008 at 05:36:57PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Sat, Sep 27, 2008 at 01:40:49PM +0800, Xu, Anthony wrote: > >> Add pci configuration code, which is needed by VTD > >> > >> Signed-off-by; Anthony Xu < [EMAIL PROTECT

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-09 Thread Isaku Yamahata
On Thu, Oct 09, 2008 at 05:26:04PM +0800, Yu, Ke wrote: > Isaku Yamahata wrote: > > On Thu, Oct 09, 2008 at 11:37:23AM +0800, Yu, Ke wrote: > >> Oh, looks like the BIOS is broken. From the _PSS object , only the > >> P0 state is valid, other two P states P1 and P2 are

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-09 Thread Isaku Yamahata
On Thu, Oct 09, 2008 at 11:37:23AM +0800, Yu, Ke wrote: > Oh, looks like the BIOS is broken. From the _PSS object , only the P0 state > is valid, other two P states P1 and P2 are all zeros. This is not correct. > > Can you try another machine? Not only DSDT, but also MADE was broken, I confir

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-08 Thread Isaku Yamahata
On Thu, Oct 09, 2008 at 11:54:56AM +0900, Isaku Yamahata wrote: > > > - From the boot message, ondemand governor fails to load. > > > I'm not sure this error is expected because of my hardware. > > > I guess this error case haven't been tested and t

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-08 Thread Isaku Yamahata
0x000F, 0x000F, 0x000F } }) Method (_PPC, 0, NotSerialized) { Return (0x00) } } } ... On Thu, Oct 09, 2008 at 11:54:56AM +0900, Isaku Yamahata wrote: > On Thu, Oct 09

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-08 Thread Isaku Yamahata
On Thu, Oct 09, 2008 at 10:34:00AM +0800, Yu, Ke wrote: > Hi Isaku, > > Thanks for tesing. Please see my comments below. > > Isaku Yamahata wrote: > > Hi Yu. I tested it and have some comments. > > > > - When I run xenpm, xen panics > > It panics at 0xf

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-07 Thread Isaku Yamahata
n BIOS, thus xen can not get enough Px information > >to initialize cpufreq driver. You can double confirm by: > - check BIOS to see if DBS is enabled. > - or try the native linux (e.g. RHEL5), to see if the cpufreq works. > > Also, it will be helpful if you can attach the xe

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue

2008-10-07 Thread Isaku Yamahata
Hi. I modified ia64 hvm domain builder to calculate more precisely. So not only MMIO hole (1GB), but also VGA io hole (VGA_IO_SIZE) should be taken into consideration. thanks, On Tue, Oct 07, 2008 at 04:50:26PM +0900, KUWAMURA Shin'ya wrote: > Hi Zhang, > > > On Mon, 6 Oct 2008 09:54:13 +08

[Xen-ia64-devel] [PATCH] xen: make events.c compile for ia64.

2008-10-06 Thread Isaku Yamahata
st compile for ia64 for now. xen: make events.c compile for ia64. xen_do_irq() is x86 specific because it calls exit_idle(), handle_irq(). Move it to arch specific file for ia64 support. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 4f7cc06552f8 drivers/xen/events.c --- a/driv

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

2008-10-06 Thread Isaku Yamahata
In function `decrease_reservation': > /linux-2.6/drivers/xen/balloon.c:308: undefined reference to > `reservation_lock' > drivers/built-in.o:/linux-2.6/drivers/xen/balloon.c:308: more undefined > references to `reservation_lock' follow Signed-off-by: Isaku Yamahata <[EM

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue

2008-10-06 Thread Isaku Yamahata
On Mon, Oct 06, 2008 at 04:25:50PM +0800, Zhang, Jingke wrote: > Isaku Yamahata wrote: > ... > >>> Ah, I'm using patched GFW. I sent out two patches as > >>> > >>> http://lists.xensource.com/archives/html/xen-ia64-devel/2008-09/msg00067.html > >

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue

2008-10-05 Thread Isaku Yamahata
On Mon, Oct 06, 2008 at 11:56:44AM +0800, Zhang, Jingke wrote: > Isaku Yamahata wrote: > > On Mon, Oct 06, 2008 at 11:16:02AM +0800, Zhang, Jingke wrote: > >> Isaku Yamahata wrote: > >>> On Mon, Oct 06, 2008 at 09:54:13AM +0800, Zhang, Jingke wrote: > >&g

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue

2008-10-05 Thread Isaku Yamahata
On Mon, Oct 06, 2008 at 11:16:02AM +0800, Zhang, Jingke wrote: > Isaku Yamahata wrote: > > On Mon, Oct 06, 2008 at 09:54:13AM +0800, Zhang, Jingke wrote: > >> Hi all, > >> There is no new regression found in Cset#18580. Three old issues > >> still

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue

2008-10-05 Thread Isaku Yamahata
On Mon, Oct 06, 2008 at 09:54:13AM +0800, Zhang, Jingke wrote: > Hi all, > There is no new regression found in Cset#18580. Three old issues still > existed. > > Old issue (3): > 1. Qemu will disappear and VTI hangs when we do 'xm restore' and 'xm > migrate' Hi. Does this still exist

[Xen-ia64-devel] [PATCH] make use of rcu_lock_target_domain_by_id()

2008-10-02 Thread Isaku Yamahata
This is the ia64 counter part of xen-unstable.hg 18566:9a7b46546e05. [IA64] make use of rcu_lock_target_domain_by_id() reduce code duplication by using rcu_lock_target_domain_by_id() Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 9b1545b22c9e xen/arch/ia64/vmx/vmx_hypercall.c

[Xen-ia64-devel] [PATCH 1/7] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn

2008-10-02 Thread Isaku Yamahata
lock which prevents this race. Even if the tools stack can get the memmap by foreign domain page mapping, it should get memmap by the newly added hypercall which will be added later. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r e9ce2303bd80 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia

[Xen-ia64-devel] [PATCH 7/7] introduce add_memdesc hypercall.

2008-10-02 Thread Isaku Yamahata
[IA64] add IA64_dom0VP_add_memdesc hypercall. This hypercall is necessary for pv_ops balloon driver which uses Linux memory hot plug in order to tell the region which will be populated. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r e912134782e0 xen/arch/ia64/xen/dom0_ops.c ---

[Xen-ia64-devel] [PATCH 5/7] linux, xencomm: support IA64_DOM0VP_get_memmap

2008-10-02 Thread Isaku Yamahata
diff -r 4c6040a8b621 arch/ia64/xen/xcom_privcmd.c --- a/arch/ia64/xen/xcom_privcmd.c Thu Oct 02 13:57:05 2008 +0900 +++ b/arch/ia64/xen/xcom_privcmd.c Thu Oct 02 14:52:38 2008 +0900 @@ -799,6 +799,23 @@ } static int +xencomm_privcmd_dom0vp_get_memmap(domid_t domid, +

[Xen-ia64-devel] [PATCH 4/7] linux: update linux arch-ia64.h

2008-10-02 Thread Isaku Yamahata
diff -r 3161879fdf22 include/xen/interface/arch-ia64.h --- a/include/xen/interface/arch-ia64.h Tue Sep 16 21:26:15 2008 +0900 +++ b/include/xen/interface/arch-ia64.h Thu Oct 02 13:57:05 2008 +0900 @@ -453,6 +453,11 @@ /* unexpose the foreign domain's p2m table into privileged domain */ #define IA

[Xen-ia64-devel] [PATCH 6/7] libxc: make xc_ia64_copy_memmap() use get_memmap hypercall

2008-10-02 Thread Isaku Yamahata
[IA64] libxc: make xc_ia64_copy_memmap use DOM0VP_get_memmap. Guest domain's memory map may be updated concurrently so that it is protected sequence lock. This patch makes xc_ia64_copy_memmap() use DOM0VP_get_memmap hypercall to avoid the race. Signed-off-by: Isaku Yamahata <[EMAIL P

[Xen-ia64-devel] [PATCH 3/7] introduce get_memmap hypercall to avoid race

2008-10-02 Thread Isaku Yamahata
[IA64] introduce DOM0VP_get_memmap hypercall. introduce new dom0vp hypercall, DOM0VP_get_memmap, to get memmap of a given domain without race. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 088bc049f889 xen/arch/ia64/xen/dom0_ops.c --- a/xen/arch/ia64/xen/dom0_ops.c Thu

[Xen-ia64-devel] [PATCH 2/7] introduce rcu_lock_target_domain_by_id() for later use

2008-10-02 Thread Isaku Yamahata
[IA64] add helper function rcu_lock_target_domain_by_id() Introduce helper function, rcu_lock_target_domain_by_id(). Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 4a2b1b8dc9c2 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.cThu Oct 02 15:23:26 2008 +0900 +++ b/xen/arc

[Xen-ia64-devel] [PATCH 0/7] memory map info take 2

2008-10-02 Thread Isaku Yamahata
Hi. This patch serires take 2 is mainly for fixing HVM domain save/restore which Zhang reported. The patch 7, add IA64_dom0VP_add_memdesc hypercall, is not for commit yet because pv_ops balloon driver isn't supported on ia64 yet. Changes: The previsous one used sequence lock which is in shared pa

Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support

2008-10-02 Thread Isaku Yamahata
Hi, Yu. Thnaks for updating the patches while you're off. I applied your patch with some style fixes and tried xenpm. (I attached the fixed patch. Please confirm I didn't breake them.) Then I got the followings. (NOTE: I added cpufreq=xen to xen boot option) Doesn't xenpm work on ia64? Or is there

Re: [Xen-ia64-devel] ia64 builds broken in xen-unstable mainline

2008-09-30 Thread Isaku Yamahata
Sorry for that. This should be fixed by Yu's patches. I've been waiting for Yu to respin the patches. Yu? If it would take a while, I could create a band aid patch to define those symbols. thanks, On Tue, Sep 30, 2008 at 12:08:04PM +0100, Ian Jackson wrote: > Currently the automatic patch forwar

[Xen-ia64-devel] [PATCH 5/7] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn

2008-09-29 Thread Isaku Yamahata
y map information is protected by sequence lock. The reader is tools stack. They will be updated the following patch. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r df56aa8b2e34 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.cMon Sep 29 21:12:54 2008 +0900 +++ b/xen/arch/ia64/xen/

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