[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 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 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 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 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 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 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 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 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 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 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 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 33/33] ia64/pv_ops: paravirtualized istruction checker.

2008-10-16 Thread Isaku Yamahata
codes. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/pvchk_inst.h | 263 + arch/ia64/kernel/Makefile | 18 ++ arch/ia64/kernel/paravirt_inst.h |

[Xen-ia64-devel] [PATCH 28/33] ia64/pv_ops/xen: implement xen pv_time_ops.

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

2008-10-16 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 27/33] ia64/pv_ops/xen: implement xen pv_irq_ops.

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

2008-10-16 Thread Isaku Yamahata
Thank you for the review. Here is the updated one. I also found one more typo with a spell checker. >From 922c22bf141059f9ad99686d5682d80fac413341 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <[EMAIL PROTECTED]> Date: Wed, 28 May 2008 17:13:53 +0900 Subject: [PATCH] ia64/xen: a recipe

Re: [Xen-ia64-devel][PATCH] add one page attribute to indicate this page is physical IO page

2008-10-16 Thread Isaku Yamahata
ct such cases. thanks, On Thu, Oct 16, 2008 at 06:23:01PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > Hi Anthony. > > > > I guess you are working on VT-d support for IA64. > > You've sent out those patches independently which seem to > > be preparat

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

2008-10-16 Thread Isaku Yamahata
On Thu, Oct 16, 2008 at 06:59:33PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > 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 < [EM

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-16 Thread Isaku Yamahata
On Thu, Oct 16, 2008 at 07:37:51PM +0800, Xu, Anthony wrote: > use VTD to assing device, guest port may not be equal to host port. > Change ioports_permit_access interface > add deassign_domain_mmio_page interface > > Signed-off-by; Anthony Xu < [EMAIL PROTECTED] > Some comments. - ioports_permi

Re: [Xen-ia64-devel][PATCH] add one page attribute to indicate this page is physical IO page

2008-10-17 Thread Isaku Yamahata
On Fri, Oct 17, 2008 at 02:41:59PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > Thanks for the explanation. > > I took a look at your big patch which you send privately. > > Please correct me if I'm wrong because I haven't reviewed > > it lin

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

2008-10-17 Thread Isaku Yamahata
applied, thanks. On Thu, Oct 16, 2008 at 06:02:28PM +0800, Xu, Anthony wrote: > Putting IA64_MAX_PHYS_BITS to pgtable.h is to avoid compilation error. > > Anthony > > Isaku Yamahata wrote: > > Yes, IA64_MAX_PHYS_BITS makes sense. > > It seems better that the comment i

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-17 Thread Isaku Yamahata
On Fri, Oct 17, 2008 at 03:22:18PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Thu, Oct 16, 2008 at 07:37:51PM +0800, Xu, Anthony wrote: > >> use VTD to assing device, guest port may not be equal to host port. > >> Change ioports_permi

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-17 Thread Isaku Yamahata
em(old_pte)) > return; > > // domain might map IO space or acpi table pages. check it. > mfn = pte_pfn(old_pte); > if (!mfn_valid(mfn)) > return; > page = mfn_to_page(mfn); > BUG_ON(page_get_owner(page) == NULL); > > > &g

Re: [PATCH]RE: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-17 Thread Isaku Yamahata
Applied, thanks. On Fri, Oct 17, 2008 at 04:17:08PM +0800, Xu, Anthony wrote: > use VTD to assing device, guest port may not be equal to host port. > Change ioports_permit_access interface > > Signed-off-by; Anthony Xu < [EMAIL PROTECTED] > > > > > Isaku Yama

[Xen-ia64-devel] [PATCH]clean up ioports_{permit, deny}_access()

2008-10-17 Thread Isaku Yamahata
[IA64] clean up ioports_{permit, deny}_access() eliminate code duplication in those functions by introducing helper functions. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r f27787b9f8d7 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.cFri Oct 17 17:40:15 2008 +0900 +++

[Xen-ia64-devel] [PATCH] clean up of xenpage.h

2008-10-17 Thread Isaku Yamahata
[IA64] clean up of xenpage.h remove nasty undefs in xenpage.h. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 07558e1876e4 xen/include/asm-ia64/linux-xen/asm/page.h --- a/xen/include/asm-ia64/linux-xen/asm/page.h Fri Oct 17 18:16:05 2008 +0900 +++ b/xen/include/asm-ia64/linux-x

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-17 Thread Isaku Yamahata
On Fri, Oct 17, 2008 at 05:58:45PM +0900, Isaku Yamahata wrote: > On Fri, Oct 17, 2008 at 04:45:09PM +0800, Xu, Anthony wrote: > > Hi isaku, > > > > If I remembered correctly, last time I encountered issue at line page = > > mfn_to_page(mfn); > > Page retur

[Xen-ia64-devel] [PATCH] paravirtualize itc and support save/restore.

2008-10-19 Thread Isaku Yamahata
guest OS, save/restore needs hypervisor support. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff -r 48db4eee7d58 tools/libxc/ia64/xc_ia64_linux_restore.c --- a/tools/libxc/ia64/xc_ia64_linux_restore.c Mon Aug 25 19:04:37 2008 +0900 +++ b/tools/libxc/ia64/xc_ia64_linux_restore.c Fr

[Xen-ia64-devel] [PATCH 08/13] ia64/pv_ops/xen/pv_time_ops: implement sched_clock.

2008-10-19 Thread Isaku Yamahata
paravirtualize sched_clock. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/Kconfig |1 + arch/ia64/xen/time.c | 48 2 files changed, 49 insertions(+), 0 deletions(-) diff --git a/arch/ia64/xen/Kconfig b/arch/ia

[Xen-ia64-devel] [PATCH 07/13] ia64/pv_ops/pv_time_ops: add sched_clock hook.

2008-10-19 Thread Isaku Yamahata
add sched_clock() hook to paravirtualize sched_clock(). ia64 sched_clock() is based on ar.itc which isn't stable on virtualized environment because vcpu may move around on pcpus. So it needs paravirtualization. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/

[Xen-ia64-devel] [PATCH 06/13] ia64/pv_ops: paravirtualize mov = ar.itc.

2008-10-19 Thread Isaku Yamahata
paravirtualize mov reg = ar.itc. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/inst.h |5 + arch/ia64/kernel/entry.S|4 ++-- arch/ia64/kernel/fsys.S |4 ++-- arch/ia64/kernel/ivt.S |2 +- 4

[Xen-ia64-devel] [PATCH 10/13] ia64/pv_ops/xen: define xen specific gate page.

2008-10-19 Thread Isaku Yamahata
define xen specific gate page. At this phase bits in the gate page is same to native. At the next phase, it will be paravirtualized. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/patchlist.h | 38 + arch/ia64/

[Xen-ia64-devel] [PATCH 13/13] ia64/pv_ops/xen/gate.S: xen gate page paravirtualization

2008-10-19 Thread Isaku Yamahata
xen gate page paravirtualization Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/inst.h |4 arch/ia64/xen/Makefile |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/ia64/include/asm/xen/inst.h b/arch/ia64/inclu

[Xen-ia64-devel] [PATCH 12/13] ia64/pv_ops: paravirtualize gate.S.

2008-10-19 Thread Isaku Yamahata
paravirtualize gate.S. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/inst.h |5 + arch/ia64/include/asm/native/pvchk_inst.h |3 +++ arch/ia64/kernel/gate.S | 17 + 3 files changed, 21 insertions

[Xen-ia64-devel] [PATCH 11/13] ia64/pv_ops: move down __kernel_syscall_via_epc.

2008-10-19 Thread Isaku Yamahata
alues and sizes. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/gate.S | 162 +++--- 1 files changed, 81 insertions(+), 81 deletions(-) diff --git a/arch/ia64/kernel/gate.S b/arch/ia64/kernel/gate.S index 74b1ccc..c957228 100644

[Xen-ia64-devel] [PATCH 04/13] ia64/pv_ops/pvchecker: support mov = ar.itc paravirtualization

2008-10-19 Thread Isaku Yamahata
add suport for mov = ar.itc to pvchecker. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/pvchk_inst.h |5 + arch/ia64/scripts/pvcheck.sed |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/ia64/include/asm/

[Xen-ia64-devel] [PATCH 03/13] ia64/pv_ops: paravirtualize fsys.S.

2008-10-19 Thread Isaku Yamahata
paravirtualize fsys.S. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/fsys.S | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S index 788319f..3544d75 100644 --- a/arch/ia64/kernel/

[Xen-ia64-devel] [PATCH 00/13] ia64/pv_ops, xen: more paravirtualization.

2008-10-19 Thread Isaku Yamahata
This patchset is for more paravirtualization on ia64/pv_ops. - paravirtualize fsys call (fsys.S) by multi compile - paravirtualize gate page (gate.S) by multi compile - support save/restore For this purpose, the followings needs to be paravirtualized - ar.itc instruction - sched_clock() T

[Xen-ia64-devel] [PATCH 09/13] ia64/pv_ops: gate page paravirtualization.

2008-10-19 Thread Isaku Yamahata
paravirtualize gate page by allowing each pv_ops instances to define its own gate page. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/patchlist.h | 38 ++ arch/ia64/include/asm/paravirt.h | 35 + arch/ia64/kernel/Ma

[Xen-ia64-devel] [PATCH 02/13] ia64/pv_ops/xen: preliminary to paravirtualizing fsys.S for xen.

2008-10-19 Thread Isaku Yamahata
This is a preliminary patch to paravirtualizing fsys.S. compile fsys.S twice one for native and one for xen, and switch them at run tine. Later fsys.S will be paravirtualized. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/inst.h |3 +++ arch/ia

[Xen-ia64-devel] [PATCH 01/13] ia64/pv_ops: add hooks to paravirtualize fsyscall implementation.

2008-10-19 Thread Isaku Yamahata
Add two hooks, paravirt_get_fsyscall_table() and paravirt_get_fsys_bubble_doen() to paravirtualize fsyscall implementation. This patch just add the hooks fsyscall and don't paravirtualize it. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/in

[Xen-ia64-devel] [PATCH 05/13] ia64/pv_ops/xen: paravirtualize read/write ar.itc and ar.itm

2008-10-19 Thread Isaku Yamahata
paravirtualize ar.itc and ar.itm in order to support save/restore. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/inst.h | 21 + arch/ia64/include/asm/xen/interface.h |9 arch/ia64/include/asm/xen/minstate.h | 11 - arc

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-19 Thread Isaku Yamahata
On Fri, Oct 17, 2008 at 05:36:58PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Fri, Oct 17, 2008 at 05:58:45PM +0900, Isaku Yamahata wrote: > >> On Fri, Oct 17, 2008 at 04:45:09PM +0800, Xu, Anthony wrote: > >>> Hi isaku, > >>> > >>&

Re: [Xen-ia64-devel][PATCH][VTD]change ioports_permit_access interface

2008-10-20 Thread Isaku Yamahata
On Mon, Oct 20, 2008 at 02:49:57PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Fri, Oct 17, 2008 at 05:36:58PM +0800, Xu, Anthony wrote: > > > > It's correct that xen VMM doesn't fully understand io area. > > However the VMM know all about RAM. >

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18633, Linux#701, ioemu#629adb3f... Status --- no new issue

2008-10-20 Thread Isaku Yamahata
On Mon, Oct 20, 2008 at 03:28:37PM +0800, Zhang, Jingke wrote: > Hi all, > There is no new regression found in Cset#18633. > > Two old issue were fixed in remote-ioemu by KUWAMURA: > [FIXED] 1. With 4096M, VTI can not boot up emulated rtl8139 network-card > [FIXED] 2. With 4095M, q

Re: [Xen-ia64-devel][PATCH][VTD] add hypercalls needed for VTD

2008-10-21 Thread Isaku Yamahata
On Tue, Oct 21, 2008 at 05:05:51PM +0800, Xu, Anthony wrote: > Add hypercalls needed for VTD > > Signed-off-by; Anthony Xu < [EMAIL PROTECTED] > > diff -r 3b1ff707d130 -r 55251ad3e262 xen/arch/ia64/xen/hypercall.c > --- a/xen/arch/ia64/xen/hypercall.c Tue Oct 21 10:41:54 2008 +0800 > +++ b/xen

Re: [Xen-ia64-devel] RHEL5 2.6.18-53.12 IA64 xen kernel memory allocation problem

2008-10-21 Thread Isaku Yamahata
On Tue, Oct 21, 2008 at 05:26:30PM +0800, RuoMu Hu wrote: > Hi! > > I'm running RHEL5 2.6.18-53.1.21 xen IA64 kernel on an IA64 machine with 8GB > memory . I can only allocate about 400M memory to dom0. Then I applied this > patch to the kernel: http://lists.xensource.com/archives/html/xen-ia64-

Re: [Xen-ia64-devel][PATCH][VTD] add head files and helper functions for VTD/ia64

2008-10-21 Thread Isaku Yamahata
On Tue, Oct 21, 2008 at 11:02:08AM +0800, Xu, Anthony wrote: > Add head files and helper functions for VTD/ia64. > > Signed-off-by; Anthony Xu < [EMAIL PROTECTED] > > > > #Cset 18649 -- 18653 in xen-devel tree are needed. > So you may need to pull from xen-devel, then apply this patch. > > Than

Re: [Xen-ia64-devel][PATCH][VTD] add hypercalls needed for VTD

2008-10-21 Thread Isaku Yamahata
shed on cpu#5: (XEN) d 0xf4770080 domid 0 (XEN) vcpu 0xf002f65d vcpu 0 (XEN) On Tue, Oct 21, 2008 at 06:36:35PM +0800, Xu, Anthony wrote: > Updated one per your comments > > Thanks, > Anthony > > Isaku Yamahata wrote: > > On Tue, Oct 21, 2008 at 05:05:51PM +0800, Xu, Ant

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-21 Thread Isaku Yamahata
[I added Kyouya and Akio to CC for comments on the hunk in vtlb.c] On Tue, Oct 21, 2008 at 07:38:21PM +0800, Xu, Anthony wrote: > other small patches for VTD > > Signed-off-by: Anthony Xu <[EMAIL PROTECTED]> > > > This patch is based on #Cset 18673 of xen-devel > > Thanks, > Anthony The pat

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-21 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 01:56:05PM +0800, Xu, Anthony wrote: > >> diff -r e1ed3e5cd001 xen/arch/ia64/xen/mm.c > >> --- a/xen/arch/ia64/xen/mm.c Tue Oct 21 18:55:22 2008 +0800 > >> +++ b/xen/arch/ia64/xen/mm.c Tue Oct 21 19:13:45 2008 +0800 @@ > >> -189,6 +189,10 @@ > >> > >> static void __xencom

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-21 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 02:11:52PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Wed, Oct 22, 2008 at 01:56:05PM +0800, Xu, Anthony wrote: > >> Yes, it is not SMP-safe there is lock for p2m. > >> Modifying p2m is not a frequent operation, why not add a

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-21 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 02:30:50PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Wed, Oct 22, 2008 at 02:11:52PM +0800, Xu, Anthony wrote: > >> Isaku Yamahata wrote: > >>> On Wed, Oct 22, 2008 at 01:56:05PM +0800, Xu, Anthony wrote: > >>>>

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-22 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 02:50:40PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Wed, Oct 22, 2008 at 02:30:50PM +0800, Xu, Anthony wrote: > >> Isaku Yamahata wrote: > >>> On Wed, Oct 22, 2008 at 02:11:52PM +0800, Xu, Anthony wrote: > >>>>

Re: [Xen-ia64-devel][PATCH][VTD] add head files and helper functions for VTD/ia64

2008-10-22 Thread Isaku Yamahata
Applied, thanks. On Tue, Oct 21, 2008 at 06:17:00PM +0800, Xu, Anthony wrote: > Updated one per your comments > > Thanks, > Anthony > > Isaku Yamahata wrote: > > On Tue, Oct 21, 2008 at 11:02:08AM +0800, Xu, Anthony wrote: > >> Add head files and helper functio

Re: [Xen-ia64-devel][PATCH] IA64: update ia64 px info transfer corresponding to x86 px info update.

2008-10-22 Thread Isaku Yamahata
Applied, thanks. On Tue, Oct 21, 2008 at 10:49:27AM +0800, Liu, Jinsong wrote: > IA64: update ia64 px info transfer corresponding to x86 px info update. > > In x86 side, there is a new patch to solve platform hypercall compatible > issue result from px info transfer. > This patch update ia64 px i

Re: [Xen-ia64-devel][PATCH][VTD] add hypercalls needed for VTD

2008-10-22 Thread Isaku Yamahata
out other patches soon. > > Thanks > Anthony > > > > > > Isaku Yamahata wrote: > > Hi Anthony. > > With the following 3 patches applied, xen panics. > > > > 0 A hypercall_for_vtd2.patch > > 1 A ia64-px-xen-setpxinfo-update.patch >

[Xen-ia64-devel] Please pull ia64 trees

2008-10-22 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 the ones which fixes compilation breakage and VT-d preliminary patches from Anthony Xu. Thanks, -- yamahata ___

Re: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch

2008-10-22 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 05:43:13PM +0800, Xu, Anthony wrote: > dom0/ia64/vtd patch > > Signed-off-by: Anthony Xu <[EMAIL PROTECTED]> In XEN_DOMCTL_get_device_group case. struct xen_domctl_get_device_group { uint32_t machine_bdf; /* IN */ uint32_t max_sdevs;/* IN */ u

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-22 Thread Isaku Yamahata
On Wed, Oct 22, 2008 at 05:35:36PM +0800, Xu, Anthony wrote: > The new one, > > > >> -if (phy_pte.ma != VA_MATTR_NATPAGE) > >> +/* if a device is assigned to a domain through VTD, the MMIO > >> for this + * device needs to retain to UC attribute > >> + */ > >> +if (phy_pte.ma

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-22 Thread Isaku Yamahata
On Thu, Oct 23, 2008 at 10:03:55AM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Wed, Oct 22, 2008 at 05:35:36PM +0800, Xu, Anthony wrote: > >> The new one, > >> > >> > >>>> -if (phy_pte.ma != VA_MATTR_NATPAGE) > >>>>

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-22 Thread Isaku Yamahata
On Thu, Oct 23, 2008 at 10:31:20AM +0800, Xu, Anthony wrote: > Iommu_un/map_page does nothing for PV domain. > Why is there a race? Oh sorry. I'm not very familiar with iommu code (yet). My understanding is iommu_domain_init() is called unconditionaly by arch_domain_create() so that platform_o

[Xen-ia64-devel] Re: How about stub-domain in IPF-Xen now?

2008-10-22 Thread Isaku Yamahata
On Thu, Oct 23, 2008 at 10:59:51AM +0800, Zhang, Jingke wrote: > Hi Isaku, > We checked the stub-domain in x86 side, basically it works well for > booting, smp, and memory (only some issues on save-restore). > I remember we did not support stub-domain for resource limit. Do you have > new

Re: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch

2008-10-23 Thread Isaku Yamahata
On Thu, Oct 23, 2008 at 02:14:52PM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Wed, Oct 22, 2008 at 05:43:13PM +0800, Xu, Anthony wrote: > >> dom0/ia64/vtd patch > >> > >> Signed-off-by: Anthony Xu <[EMAIL PROTECTED]> > > > > >

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-23 Thread Isaku Yamahata
On Thu, Oct 23, 2008 at 03:10:55PM +0800, Xu, Anthony wrote: > The new one, It looks almost okay. The last one. > diff -r 02c8733e2d91 xen/arch/ia64/vmx/viosapic.c > --- a/xen/arch/ia64/vmx/viosapic.cWed Oct 22 17:20:15 2008 +0900 > +++ b/xen/arch/ia64/vmx/viosapic.cThu Oct 23 14:48:09 2

Re: [Xen-ia64-devel][PATCH][VTD]P2M entry may change from _PAGE_IO to real MMIO page

2008-10-23 Thread Isaku Yamahata
Applied with a small modification, thanks. On Thu, Oct 23, 2008 at 11:22:31AM +0800, Xu, Anthony wrote: > P2M entry may change from _PAGE_IO to real MMIO page > > Signed-off-by: Anthony Xu <[EMAIL PROTECTED]> > ___ > Xen-ia64-devel mailing list > Xen-

Re: [Xen-ia64-devel][PATCH][VTD] a small fix in mm.c

2008-10-23 Thread Isaku Yamahata
Applied, thanks. On Thu, Oct 23, 2008 at 01:52:02PM +0800, Xu, Anthony wrote: > A small fix in mm.c > > mfn_valid makes sure it is a normal page > > Signed-off-by: Anthony Xu <[EMAIL PROTECTED]> > > ___ > Xen-ia64-devel mailing list > Xen-ia64-devel

Re: [Xen-ia64-devel][PATCH][VTD] small patches for VTD

2008-10-23 Thread Isaku Yamahata
Applied, thanks. On Fri, Oct 24, 2008 at 11:02:21AM +0800, Xu, Anthony wrote: > Isaku Yamahata wrote: > > On Thu, Oct 23, 2008 at 03:10:55PM +0800, Xu, Anthony wrote: > >> The new one, > > > > It looks almost okay. The last one. > > > > > >>

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18688, Linux#705, ioemu#629adb3f... Status --- no new issue, report 3 old bugs

2008-10-24 Thread Isaku Yamahata
On Fri, Oct 24, 2008 at 09:59:58AM +0800, Zhang, Jingke wrote: > 3. IPF-Xen can not boot up domain with dom_id > 62 (not regression, > should be there for a long time) Long ago, I posted the patch to address this issue. Probably there are two ways. (Is there other better way?) a.) abandon t

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18688, Linux#705, ioemu#629adb3f... Status --- no new issue, report 3 old bugs

2008-10-27 Thread Isaku Yamahata
On Mon, Oct 27, 2008 at 04:36:38PM +0800, Zhang, Xiantao wrote: > Isaku Yamahata wrote: > > On Fri, Oct 24, 2008 at 09:59:58AM +0800, Zhang, Jingke wrote: > >> 3. IPF-Xen can not boot up domain with dom_id > 62 (not > >> regression, should be there for a long time

Re: [Xen-devel] [Xen-ia64-devel][PATCH] IA64: Fix an ia64 cpufreq driver bug

2008-10-27 Thread Isaku Yamahata
Applied to the ia64 tree, thanks. On Mon, Oct 27, 2008 at 10:08:25AM +0800, Liu, Jinsong wrote: > IA64: Fix an ia64 cpufreq driver bug > > Add record current cpu freq whenever cpufreq logic change cpu freq so that > cpufreq can make correct freq transfer decision next time. > > Signed-off-by: L

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18688, Linux#705, ioemu#629adb3f... Status --- no new issue, report 3 old bugs

2008-10-27 Thread Isaku Yamahata
On Tue, Oct 28, 2008 at 12:12:45PM +0900, Isaku Yamahata wrote: > > I thought Jingke isn't saying this topic. What he found maybe he failed to > > create the domain when the domain is created and destoryed continuously for > > more 62 times. Seems the issue is from

[Xen-ia64-devel] [PATCH] protect ridblock_owner.

2008-10-27 Thread Isaku Yamahata
probably xend serializes creating domains, so it hasn't been caused issues. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/arch/ia64/xen/regionreg.c b/xen/arch/ia64/xen/regionreg.c --- a/xen/arch/ia64/xen/regionreg.c +++ b/xen/arch/ia64/xen/regionreg.c @@ -100,6 +100,

Re: [Xen-ia64-devel] PATCH: Fix an memory attribute issue.

2008-10-29 Thread Isaku Yamahata
Applied, thanks. On Wed, Oct 29, 2008 at 05:21:18PM +0800, Zhang, Xiantao wrote: > PATCH: Fix an memory attribute issue. > > We should ensure Qemu and Guest use same attribute for accessing > the VGA ram, otherwise, host may hang. > Signed-off-by: Xiantao Zhang <[EMAIL PROTECTED]> > > diff -r a

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18694, Linux#706, ioemu#b4d410a1.. Status --- 1 new

2008-10-29 Thread Isaku Yamahata
On Wed, Oct 29, 2008 at 04:10:50PM +0800, Zhang, Jingke wrote: > Hi all, > There is one new regression in Cset#18691. With latest Cset#18694, all > the case can pass! > > One regression between Cset#18688 and Cset#18691: > == > 1. Qemu graphic mode display abnormally w

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18694, Linux#706, ioemu#b4d410a1.. Status --- 1 new

2008-10-30 Thread Isaku Yamahata
_domain(d) && (pte_val(ret_pte) & _PAGE_IO) && > + !mfn_valid(physaddr >> PAGE_SHIFT)) { > old_pte = ret_pte; > goto again_hvm_page_io; > } > > > > Zhang, Xiantao wrote: > > Isaku Yamahata wrote: > >> On Wed, Oc

[Xen-ia64-devel] [PATCH] use pte_pfn() where possible

2008-11-03 Thread Isaku Yamahata
[IA64] use pte_pfn() where possible use pte_pfn() to get mfn from pte. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/arch/ia64/vmx/sioemu.c b/xen/arch/ia64/vmx/sioemu.c --- a/xen/arch/ia64/vmx/sioemu.c +++ b/xen/arch/ia64/vmx/sioemu.c @@ -148,7 +148,7 @@ sioemu_set_ca

Re: [Xen-ia64-devel] Xen/IPF Unstable CS#18694, Linux#706, ioemu#b4d410a1.. Status --- 1 new

2008-11-03 Thread Isaku Yamahata
) && (pte_val(ret_pte) & _PAGE_IO)) { > +if(is_hvm_domain(d) && (pte_val(ret_pte) & _PAGE_IO) && > + !mfn_valid(physaddr >> PAGE_SHIFT)) { > old_pte = ret_pte; > goto again_hvm_page_io; > } > > -Original Message--

[Xen-ia64-devel] [PATCH] make ia64 dump_execution_state() print stack trace for debugging.

2008-11-03 Thread Isaku Yamahata
[IA64] make ia64 dump_execution_state() print stack trace for debugging. make ia64 dump_execution_state() print stack trace for debugging. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/include/asm-ia64/bug.h b/xen/include/asm-ia64/bug.h --- a/xen/include/asm-ia64

Re: [Xen-ia64-devel] [PATCH] Fix vti guests broken issue.

2008-11-06 Thread Isaku Yamahata
Oh, my bad. Thank you for debugging. I applied and pushed out. Does this fixed the issue you repoted? thanks, On Fri, Nov 07, 2008 at 10:42:57AM +0800, Zhang, Xiantao wrote: > PATCH : Fix vti guests broken issue. > mfn_valid should use machine physical pfn, not guest physical pfn. > > Sign-off

Re: [Xen-ia64-devel] [PATCH] Fix vti guests broken issue.

2008-11-06 Thread Isaku Yamahata
n_valid() I haven't aware of the issue. thanks, > Thanks > Xiantao > > Zhang, Xiantao wrote: > > Yes. Should be addressed. > > > > -Original Message- > > From: Isaku Yamahata [mailto:[EMAIL PROTECTED] > > Sent: Friday, Novemb

Re: [Xen-ia64-devel] [PATCH] Fix vti guests broken issue.

2008-11-07 Thread Isaku Yamahata
0// assumes that 'probe.r' uses r8 > - dep r21=-1,r21,IA64_PSR_RI_BIT+1,1 // return to next instruction in > + dep r29=-1,r29,IA64_PSR_RI_BIT+1,1 // return to next instruction in > // bundle 2 > ;; > -(p6)

Re: [Xen-ia64-devel] [PATCH] Fix vti guests broken issue.

2008-11-07 Thread Isaku Yamahata
// is faulting addrress ia64_frametable_probe? > mov r8=0// assumes that 'probe.r' uses r8 > - dep r21=-1,r21,IA64_PSR_RI_BIT+1,1 // return to next instruction in > + dep r29=-1,r29,IA64_PSR_RI_BIT+1,1 // return to next instruction in >

Re: [Xen-ia64-devel] [Patch] Fix typo. (PALL -> PAL)

2008-11-16 Thread Isaku Yamahata
applied, thanks. On Fri, Nov 14, 2008 at 03:55:50PM +0900, Akio Takebe wrote: Content-Description: Mail message body > Hi, > > Fix typo. (PALL -> PAL) > > Signed-off-by: Akio Takebe <[EMAIL PROTECTED]> > > Best Regards, > > Akio Takebe > ___ > Xen-i

Re: [Xen-ia64-devel] [PATCH] Fix a bug for XEN_VIRT_UC_BIT use.

2008-11-16 Thread Isaku Yamahata
Hi. This patch itself looks okay. Just for confirming. This patch doesn't affect the result because the following line sees only the lsb 0 bit of r18. Correct? extr.u r18=r16,XEN_VIRT_UC_BIT, 15// extract UC bit ... dep r19=r18,r19,4,1 // set bit 4 (uncached) if the access was to UC r

Re: [Xen-ia64-devel] [PATCH] Fix a bug for XEN_VIRT_UC_BIT use.

2008-11-17 Thread Isaku Yamahata
applied, thanks. On Mon, Nov 17, 2008 at 11:20:49AM +0800, Zhang, Xiantao wrote: > Fix a bug for XEN_VIRT_UC_BIT use. > > Signed-off-by : Zhang Xiantao <[EMAIL PROTECTED]> > > diff -r 9bc00e9716cd xen/arch/ia64/vmx/vmx_ivt.S > --- a/xen/arch/ia64/vmx/vmx_ivt.S Fri Nov 07 19:34:59 2008 +0900

Re: [Xen-ia64-devel] [PATCH]minios: reworking and clean up

2008-11-17 Thread Isaku Yamahata
Applied, thanks. On Mon, Nov 17, 2008 at 10:00:15AM +0100, Dietmar Hahn wrote: > Hi, > > I did some reworking of mini-os code to get it compile fine again. > Further needed is the patch discussed last weak with Samuel Thibault on the > list. > The attached patch cleans up the hypervisor calls. >

Re: [Xen-ia64-devel] [PATCH]minios: Fixed ctor and dtor linker warning

2008-11-17 Thread Isaku Yamahata
Applied, thanks. On Mon, Nov 17, 2008 at 10:07:00AM +0100, Dietmar Hahn wrote: > Hi, > > the atteched patch fixes linker warnings. > Thanks. > > Dietmar. > # HG changeset patch > # User [EMAIL PROTECTED] > # Date 1226910422 -3600 > # Node ID 43f8fa6c7fd99b26c0c6ec9b237f2d98a774fc1d > # Parent

[Xen-ia64-devel] [PATCH] ia64/pv_ops/pv_cpu_ops: fix _IA64_REG_IP case.

2008-11-18 Thread Isaku Yamahata
pv_cpu_ops.getreg(_IA64_REG_IP) returned constant. But the returned ip valued should be the one in the caller, not of the callee. This patch fixes that. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/intrinsics.h |2 +- arch/ia64/inclu

[Xen-ia64-devel] [PATCH] ia64/xen: fix xen_get_eflags.

2008-11-18 Thread Isaku Yamahata
fix xen_get_eflags. It doesn't take any argument. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/xen/hypercall.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/ia64/xen/hypercall.S b/arch/ia64/xen/hypercall.S index d4ff0b9..45e02bb 1

Re: [Xen-ia64-devel] [PATCH]minios: remove big endian stuff

2008-11-18 Thread Isaku Yamahata
On Tue, Nov 18, 2008 at 10:49:01AM +0100, Dietmar Hahn wrote: > Hi, > > this patch removes all the useless big endian stuff from the minios. > Thanks. Hi. IIRC, you are the one who wanted big endian support for PV-guest. What is the point to remove it from the minios? > # HG changeset patch > #

Re: [Xen-ia64-devel] [PATCH]minios: remove big endian stuff

2008-11-24 Thread Isaku Yamahata
Applied, thanks. On Tue, Nov 18, 2008 at 10:49:01AM +0100, Dietmar Hahn wrote: > Hi, > > this patch removes all the useless big endian stuff from the minios. > Thanks. > > Dietmar. > # HG changeset patch > # User [EMAIL PROTECTED] > # Date 1227002151 -3600 > # Node ID 56ecdf7c49e7d86caf476da711

[Xen-ia64-devel] [PATCH] compilation fix of drivers/balloon/sysfs.c

2008-11-24 Thread Isaku Yamahata
s.c:162: error: expected '=', > ',', ';', 'asm' or '__attribute__' before 'balloon_sysfs_init' > /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:167: error: expected '=', > ',', ';', 'asm'

[Xen-ia64-devel] [PATCH] ia64: remove warnings.

2008-11-25 Thread Isaku Yamahata
h/ia64/kernel/patch.c: In function 'patch_brl_fsys_bubble_down': > /linux-2.6/arch/ia64/kernel/patch.c:220: warning: passing argument 1 of > 'paravirt_fc' makes integer from pointer without a cast Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/p

[Xen-ia64-devel] [PATCH 04/13] ia64/pv_ops/pvchecker: support mov = ar.itc paravirtualization

2008-11-25 Thread Isaku Yamahata
add suport for mov = ar.itc to pvchecker. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/pvchk_inst.h |5 + arch/ia64/scripts/pvcheck.sed |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/ia64/include/asm/

[Xen-ia64-devel] [PATCH 03/13] ia64/pv_ops: paravirtualize fsys.S.

2008-11-25 Thread Isaku Yamahata
paravirtualize fsys.S. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/kernel/fsys.S | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S index 788319f..3544d75 100644 --- a/arch/ia64/kernel/

[Xen-ia64-devel] [PATCH 05/13] ia64/pv_ops: paravirtualize mov = ar.itc.

2008-11-25 Thread Isaku Yamahata
paravirtualize mov reg = ar.itc. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/inst.h |5 + arch/ia64/kernel/entry.S|4 ++-- arch/ia64/kernel/fsys.S |4 ++-- arch/ia64/kernel/ivt.S |2 +- 4

[Xen-ia64-devel] [PATCH 13/13] ia64/pv_ops/xen/gate.S: xen gate page paravirtualization

2008-11-25 Thread Isaku Yamahata
xen gate page paravirtualization Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/xen/inst.h |4 arch/ia64/xen/Makefile |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/ia64/include/asm/xen/inst.h b/arch/ia64/inclu

[Xen-ia64-devel] [PATCH 01/13] ia64/pv_ops: add hooks to paravirtualize fsyscall implementation.

2008-11-25 Thread Isaku Yamahata
Add two hooks, paravirt_get_fsyscall_table() and paravirt_get_fsys_bubble_doen() to paravirtualize fsyscall implementation. This patch just add the hooks fsyscall and don't paravirtualize it. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> --- arch/ia64/include/asm/native/in

<    5   6   7   8   9   10   11   12   13   14   >