On Wed, Apr 23, 2008 at 01:54:29PM +0900, Akio Takebe wrote:
Content-Description: Mail message body
Hi,
Hi Akio.
This log show that domain_put_page is called 2 times for the same mfn.
But the mfn has different mpaddrs.
I guess the follwing case is occured:
1. at 1st time, domain_put_page
On Tue, Apr 22, 2008 at 03:43:18PM +0900, Masaki Kanno wrote:
I'm not sure that the check is required, though, I think that the
message is noisy. So, I make a proposal that replaces the printk()
by gdprintk(XENLOG_DEBUG, ...). What do you think?
Sounds reasonable.
But looking around
Hi Simon-san.
VHPT_ENABLED is directly defined in xen/include/asm-ia64/vhpt.h
as #define VHPT_ENABLED 1
Thus your patch causes compilation error like the followings.
I guess you need this options for debugging kexec/kdump and
that this option is efficient for vhpt related debugging.
So it's
On Wed, Apr 23, 2008 at 04:03:58PM +0200, Jes Sorensen wrote:
Isaku Yamahata wrote:
I'd rather have PARAVIRT_NR_IRQ set from Kconfig if possible given that
all of these are constants anyway. If we cannot do that, then it would
be better to do the #if FOO_NR_IRQ PARAVIRT_NR_IRQ in the various
On Thu, Mar 20, 2008 at 05:52:49PM +1100, Simon Horman wrote:
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
2008-04-21
make kernel paravirtualization friendly by introducing
ia64_set_rr0_to_rr4().
ia64/Xen will replace setting rr[0-4] with single hypercall later.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/intrinsics.h |9 +
include/asm-ia64/mmu_context.h |6 +-
2
remove extern declaration of handle_IPI() in irq_ia64.c.
Instead, declare it in asm-ia64/smp.h.
Later handle_IPI() will be referenced from another file.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/irq_ia64.c |1 -
include/asm-ia64/smp.h |2 ++
2 files
Hi. This patchset is preparation patches for ia64/pv_ops support.
They are almost trivial and mainly make kernel paravirtualization friendly.
thanks,
Diffstat:
arch/ia64/kernel/irq_ia64.c|1 -
include/asm-ia64/intrinsics.h | 11 +++
include/asm-ia64/mmu_context.h |6
__local_irq_save() and local_save_flags() are used to mask interruptions.
They read all psr bits that requres whole bit emulation.
On the other hand, reading only psr.i, the single bit, can be virtualized
cheaply.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/intrinsics.h
Hi Jeremy.
Here are the 3 patches for ia64/xen support.
The first one is just to move manage.c under drivers/xen.
This is trivial.
The second and third ones are for compilation fix on ia64.
You may want to postpone those 2 patches to make your merge task
easy as you said before.
thanks,
move arch/x86/xen/manage.c under drivers/xen/to share codes
with x86 and ia64.
ia64/xen also uses manage.c
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/x86/xen/Makefile |2 +-
drivers/xen/Makefile |2 +-
{arch/x86 = drivers}/xen/manage.c |0
3
represents such arguments.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/xen/interface/memory.h | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h
index da76846..af36ead 100644
--- a/include/xen
'alloc_empty_pages_and_pagevec':
linux-2.6-x86/drivers/xen/balloon.c:522: error: incompatible types in assignment
make[2]: *** [drivers/xen/balloon.o] Error 1
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
drivers/xen/balloon.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff
The pv_ops development branch is switched to
xen-ia64-domu-minimal-2008apr21 which is based
on linux 2.6.25 + ia64 pull + some.
Please make sure your working repository is uptodate.
If you have already patches for the old branch,
you can send ones for the old branch. But it would be applyed to
On Tue, Apr 22, 2008 at 05:16:41AM -0400, Jes Sorensen wrote:
Isaku == Isaku Yamahata [EMAIL PROTECTED] writes:
Isaku introduce pv_info which describes some randome info about
Isaku underlying execution environment.
Hi Isaku,
Hi. I'm very glad to get reply.
I am missing some
On Tue, Apr 22, 2008 at 05:08:22AM -0400, Jes Sorensen wrote:
Make NR_IRQ overridable by each pv instances.
Pv instance may need each own number of irqs so that
NR_IRQS should be the maximum number of nr_irqs each
pv instances need.
This really looks dodgy.
+#ifdef CONFIG_PARAVIRT
On Tue, Apr 22, 2008 at 12:37:06PM +0200, Jes Sorensen wrote:
- pv_ops covers some performance critical part (e.g. ia64 intrinsics)
so that in the future they should be optimized with binary patch like
x86.
We had the experimental patch to do that, but they are dropped for
the merge.
On Tue, Apr 22, 2008 at 02:05:59PM +0200, Jes Sorensen wrote:
Isaku Yamahata wrote:
I'm willing to introduce something like PARAVIRT_NR_IRQS,
but I don't see how PARAVIRT_NR_IRQS solves the issues.
What I want here is to define by cpp
#define PARAVIRT_NR_IRQS
On Wed, Apr 09, 2008 at 12:09:51AM -0500, Jeremy Fitzhardinge wrote:
+#define sync_cmpxchgia64_cmpxchg4_acq
Please always use arguments with function-like macros, to prevent
accidental namespace clashes.
Will fix.
+#define sync_cmpxchg_subword sync_cmpxchg
Ditto.
It
Applied with slight fix.
Thanks,
On Tue, Apr 08, 2008 at 01:09:44PM +0800, Dong, Eddie wrote:
Use generic getreg/setreg pv_cpu_ops instead of
specific ones that may vary per hypervisor.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
diff --git
The pv_ops development branch is switch to
xen-ia64-domu-minimal-2008apr08.
Please make sure your working repository is uptodate.
The patch set is rebased to v2.6.25-rc8 + some change sets
and heavily reorganized for review.
This is done for upstream post to linux-ia64.
I'm planning to post them
make kernel paravirtualization friendly by introducing
ia64_set_rr0_to_rr4().
ia64/Xen will replace setting rr[0-4] with single hypercall later.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/intrinsics.h | 10 ++
include/asm-ia64/mmu_context.h |6 +-
2
__local_irq_save() and local_save_flags() are used to mask interruptions.
They read all psr bits that requres whole bit emulation.
On the other hand, reading only psr.i, the single bit, can be virtualized
cheaply.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/intrinsics.h
introduce pv_info which describes some randome info about
underlying execution environment.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/Makefile |2 +
arch/ia64/kernel/paravirt.c | 41
include/asm-ia64/paravirt.h | 62
Hi. This patchset implements ia64/pv_ops support which is the
framework for virtualization support.
Please review and comments.
On x86 various ways to support virtualization were proposed, and
eventually pv_ops won. So on ia64 the pv_ops strategy is appropriate too.
Later I'll post the patchset
remove extern declaration of handle_IPI() in irq_ia64.c.
Instead, declare it in asm-ia64/smp.h.
Later handle_IPI() will be referenced from another file.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/irq_ia64.c |1 -
include/asm-ia64/smp.h |2 ++
2 files
Preparation for paravirtualization of hand written assembly code.
They are paravirtualized by single source code and compiled multi times.
To tell those files for target (including native), add one defines.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/Makefile |9
introduce pv_cpu_ops to paravirtualize privleged instructions
which are defined by ia64 intrinsics.
make them indirect C function calls by introducing function
tables, pv_cpu_ops.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64
paravirtualize minstate.h which are hand written assembly code.
They include sensitive or performance critical privileged
instructions. So that they are appropriate for paravirtualization.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED
Make NR_IRQ overridable by each pv instances.
Pv instance may need each own number of irqs so that
NR_IRQS should be the maximum number of nr_irqs each
pv instances need.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/irq.h | 10 ++-
include/asm-ia64
Introduce pv_time_ops which adds hook to steal time accounting.
On virtualized environment, cpus are shared by many guests and
steal time is the time which is used for other guests.
On virtualized environtment, streal time should be accounted.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED
define pv_init_ops hooks which represents various initialization
hooks for paravirtualized environment. and add hooks.
Signed-off-by: Alex Williamson [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/paravirt.c |7
arch/ia64/kernel/setup.c| 10
pv_cpu_asm_ops: define paravirtualized introduce for native execution
environment.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/native/inst.h | 170
1 files changed, 170
add hooks to paravirtualize iosapic which is a real hardware resource.
On virtualized environment it may be replaced something virtualized
friendly.
Define pv_iosapic_ops and add the hooks.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/iosapic.c | 45
instances.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/Makefile |2 +-
arch/ia64/kernel/entry.S | 107 +++-
arch/ia64/kernel/paravirt.c| 19 ++
arch/ia64/kernel/paravirtentry.S | 60
define sync bitops which is necessary for ia64/xen.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/sync_bitops.h | 59
1 files changed, 59 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/sync_bitops.h
diff --git
Hi. This patchset implements ia64/xen domU support based on
ia64/pv_ops frame work which was sent as another patchest.
Please review and comments.
This patchset does the followings.
- Some preparation work. Mainly importing header files to define
related structures.
- Then, define functions
import include/asm-ia64/xen/interface.h to introduce introduce
definitions necessary for ia64/xen hypercalls.
They are basic structures to communicate with xen hypervisor.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/asm-ia64/xen/interface.h | 320
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 +
include/asm-ia64/xen
-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen/Makefile|2 +-
arch/ia64/xen/xcom_hcall.c| 424 +
include/asm-ia64/xen/xcom_hcall.h | 51 +
3 files changed, 476 insertions(+), 1
.
Signed-off-by: Alex Williamson [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/xencomm.c| 95
include/asm-ia64/xen/xencomm.h | 33 ++
3 files changed, 129
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 deletions
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]
---
arch
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 | 131 +++
2 files changed, 133
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 deletions
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 b/arch/ia64
This patch implements xen version of pv_init_ops to do various
xen initialization.
Signed-off-by: Akio Takebe [EMAIL PROTECTED]
Signed-off-by: Alex Williamson [EMAIL PROTECTED]
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen
implement xen pv_irq_ops to paravirtualize irq handling
with xen event channel.
Signed-off-by: Akio Takebe [EMAIL PROTECTED]
Signed-off-by: Alex Williamson [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/irq_xen.c
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/machvec.h
implement xen pv_time_ops to account steal time.
Signed-off-by: Alex Williamson [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/time.c | 165
arch/ia64/xen/time.h
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 | 31 +++
arch/ia64
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 | 493 +++
1 files changed, 493 insertions(+), 0
paravirtualize ivt.S for xen by multi compile.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/xen/Makefile | 16 +++-
arch/ia64/xen/xenivt.S | 57 +++
include/asm-ia64/xen/inst.h |1 +
3 files changed, 73 insertions
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 changed, 114
On Mon, Apr 07, 2008 at 05:06:36PM +0800, Dong, Eddie wrote:
It looks like you still prefer to use intermediate symbol
paravirt_/ia64_native_xxx to wrap ia64_xxx. In some sense, when
I saw many similar and bulk code in the patch, I feel dirty. I prefer
we don't touch
those
On Mon, Apr 07, 2008 at 05:25:54PM +0800, Dong, Eddie wrote:
In current approach, we have cpu ops like eoi/set_tpr/get_tpr,/set_itm
/set_kr0/set_kr2.../set_kr7 etc.
I think there is another simple alternative is to simply export
setreg/getreg
for cpu ops.
The benefit of this could be:
On Mon, Apr 07, 2008 at 05:47:38PM +0800, Dong, Eddie wrote:
Tony all:
Recently we have completed the IVT.s pv_ops by using dual
compile, and also many cleanups to simplify the changes to upstream
code. All the C code touching privilege instruction is replaced with
indirect function
On Tue, Apr 08, 2008 at 10:31:20AM +0800, Dong, Eddie wrote:
Now we have 2 choices:
Alt1: Dual compile entry.S like IVT.s (dual compile all ASM
files if it needs virtualization)
pros: Same policy with iVT, use same MACRO to
replacement.
cons: There are
On Sat, Apr 05, 2008 at 04:33:12PM +0200, [EMAIL PROTECTED] wrote:
Selon Isaku Yamahata [EMAIL PROTECTED]:
diff -r bb2f8ba47833 include/asm-ia64/xen/privop.h
--- a/include/asm-ia64/xen/privop.h Tue Mar 25 12:37:54 2008 -0600
+++ b/include/asm-ia64/xen/privop.h Sat Apr 05 07:27:30 2008
diff -r bb2f8ba47833 include/asm-ia64/xen/privop.h
--- a/include/asm-ia64/xen/privop.h Tue Mar 25 12:37:54 2008 -0600
+++ b/include/asm-ia64/xen/privop.h Sat Apr 05 07:27:30 2008 +0900
@@ -67,7 +67,7 @@
#endif
#ifndef __ASSEMBLY__
-#defineXEN_HYPER_SSM_I asm(break %0 :
.
The same discussin applies to ia64. This patch is ia64 counter part of it.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
diff --git a/arch/ia64/xen/xen_dma.c b/arch/ia64/xen/xen_dma.c
--- a/arch/ia64/xen/xen_dma.c
+++ b/arch/ia64/xen/xen_dma.c
@@ -37,6 +37,41 @@ do
..6ce4f60 100644
--- a/arch/ia64/kernel/paravirt.c
+++ b/arch/ia64/kernel/paravirt.c
@@ -3,6 +3,7 @@
*
* Copyright (c) 2008 Isaku Yamahata yamahata at valinux co jp
*VA Linux Systems Japan K.K.
+ * Yaozu (Eddie) Dong [EMAIL PROTECTED]
*
* This program is free
I agree with you.
For the minimal domU, binary patch isn't needed anymore now
so that I removed paravirt_(core|entry).(c|h) completely.
After merging up minimal domU stuff to the upstream,
let's readd those files with consistent file names
(probably into paravirt.c).
I also found that the file
On Fri, Mar 28, 2008 at 01:09:48PM -0700, Jeremy Fitzhardinge wrote:
Isaku Yamahata wrote:
On xen/ia64 and xen/powerpc hypercall arguments are passed by pseudo
physical address (guest physical address) so that it's necessary to
convert from virtual address into pseudo physical address
From: Isaku Yamahata [EMAIL PROTECTED]
Date: Mon, 31 Mar 2008 19:03:43 -0700
Subject: [PATCH 010/113] xen: replace callers of alloc_vm_area()/free_vm_area()
with xen_ prefixed one.
Don't use alloc_vm_area()/free_vm_area() directly, instead define
xen_alloc_vm_area()/xen_free_vm_area() and use them
On Fri, Mar 28, 2008 at 01:43:23PM +0800, Dong, Eddie wrote:
Eventually those running_on_xen checks should be removed somehow.
Are you just thinking that the multi compile with binary patching
should be introduced after the first merge?
Or do you have any idea other than the multi compile
Hi Jeremy.
According to your suggestion, I recreated patches for Ingo's x86.git tree.
And this patch series includes Eddie's modification.
Please review and forward them. (or push back to respin.)
Recently the xen-ia64 community started to make efforts to merge
xen/ia64 Linux to upstream. The
represents such arguments.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/xen/interface/vcpu.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/xen/interface/vcpu.h b/include/xen/interface/vcpu.h
index b05d8a6..87e6f8a 100644
--- a/include/xen/interface
Add xen hypercall numbers defined for arch specific use.
ia64/xen domU uses __HYPERVISOR_arch_1 to manipulate paravirtualized
IOSAPIC. Although all those constants aren't used yet by IA64 at this
moment, add all arch specific hypercall numbers.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED
Add xen VIRQ numbers defined for arch specific use.
ia64/xen domU uses VIRQ_ARCH_0 for virtual itc timer.
Although all those constants aren't used yet by ia64
at this moment, add all arch specific VIRQ numbers.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/xen/interface/xen.h
hypercall.
The xen guest handle represents such arguments.
Define necessary handles and helper functions.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
drivers/xen/grant-table.c |2 +-
include/asm-x86/xen/interface.h | 24
include/xen/interface
ia64/xen also uses it too. Move it into common place so that
ia64/xen can share the code.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/x86/xen/Makefile|2 +-
drivers/xen/Makefile |2 +-
{arch/x86 = drivers}/xen/features.c |0
3 files
move arch/x86/xen/events.c undedr drivers/xen to share codes
with x86 and ia64. And minor adjustment to compile.
ia64/xen also uses events.c
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/x86/xen/Makefile |2 +-
arch
Remove x86 dependency in drivers/xen/events.c for ia64/xen support.
Introduce xen_irqs_disabled() to hide regs-flags
Introduce xen_do_IRQ() to hide regs-orig_ax.
Add one rmb() because on ia64 xchg() isn't barrier.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
drivers/xen/events.c
On xen/ia64 and xen/powerpc hypercall arguments are passed by pseudo
physical address (guest physical address) so that it's necessary to
convert from virtual address into pseudo physical address. The frame
work is called xencomm.
Import arch generic part of xencomm.
Signed-off-by: Isaku Yamahata
Define resend_irq_on_evtchn() which ia64/xen uses.
Although it isn't used by current x86/xen code, it's arch generic
so that put it into common code.
make ipi_to_irq[] visible removing static because
ia64/xen needs to access the variable from ia64 specific code
Signed-off-by: Isaku Yamahata
The definitions in include/asm/xen/page.h are arch specific.
ia64/xen wants to define its own version. So move them to arch specific
directory and keep include/xen/page.h in order not to break compilation.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/{ = asm-x86}/xen/page.h |0
allocate vm area
contradictory to those names.
Now vanilla Linux already has its definitions so that it's impossible
to have IA64 definitions of allocate_vm_area()/free_vm_area().
Instead introduce xen_allocate_vm_area()/xen_free_vm_area() and use them.
Signed-off-by: Isaku Yamahata [EMAIL
is necessary.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/x86/xen/Makefile |2 +-
arch/x86/xen/grant-table.c | 91
drivers/xen/grant-table.c | 35 +---
include/xen/grant_table.h |6 +++
4 files changed, 101
It is mentioned as move some instructions to make bundle compact.
I understand. Seems reasonable.
On Thu, Mar 27, 2008 at 02:40:52PM +0900, Isaku Yamahata wrote:
On Thu, Mar 27, 2008 at 12:20:37PM +0800, Dong, Eddie wrote:
- shuffle instructions of XEN_BSW_1 and xen DO_XEN_MIN
Hi Eddie.
I looked into entry.S closely.
Unfortunately I found that ia64_leave_syscall() and
ia64_leave_kernel() includes invirtualizable instructions,
cover instruction with psr.ic = 0 so that those paravirtualization
is inevitable. (ia64_switch_to() doesn't need paravirtualization though.)
/Makefile can be simpler than before.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
arch/ia64/kernel/Makefile | 22 +-
arch/ia64/xen/Makefile| 13 -
arch/ia64/xen/xenivt.S|1 -
3 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/arch
Hi Eddie.
Now I've catched up your patches/comments.
I applied most of your patches and published it.
Please check them.
I didn't apply entry.S simplification patch so that it caused
modifications to following patches.
Especially I split up the minstate.h simiplification patch into some
patches.
I guess you just followed x86 way, but delaying until check_bug()
is too late for IA64 case because of at least ia64_get_cpuid().
At this moment I'm not sure how late binary patching can
be delayed, though.
Presumably it is necessary to revise boot protocol.
Renaming xen_paravirt_patch() to
compile with binary patching?
Anyway it's linux-ia64 people that finally determines what way is
better. To be honest I'm not sure which way is more acceptable.
So let's discuss with linux-ia64.
On Thu, Mar 27, 2008 at 05:04:21PM +0800, Dong, Eddie wrote:
Isaku Yamahata wrote:
Hi Eddie.
I
Hi Akio. The issues should be resolved now. Could you check it?
http://wiki.xensource.com/xenwiki/XenIA64/UpstreamMerge
is helpful for those who want to give pv_ops a try.
Notes for others.
Please use gitorious rep unless you have problems accessing it.
Hi Akio.
http://wiki.xensource.com/xenwiki/XenIA64/UpstreamMerge
would be helpful.
The branch xen-ia64-domu-minimal-2008mar06 should be used.
The config xen_domu_wip_defconfig should be used.
It should work. You should be aware of hvc_xen, xen-blockfront
and xen-netfront.
thanks,
On Wed, Mar
Hi Eddie.
The attached patches does many things. Could you explain?
- convert cover argument in SAVE_MIN_WITH_COVER(_R19) into COVER.
This seems correct. I'll take this part.
- convert __COVER argument into COVER.
Using conflicting argument is a bad practice.
- shuffle instructions of
On Thu, Mar 27, 2008 at 12:20:37PM +0800, Dong, Eddie wrote:
- shuffle instructions of XEN_BSW_1 and xen DO_XEN_MIN().
Is this for producing better bundles? Please ellaborate on this.
If so, I'll take as another patch.
??? Which code are u talking for?
The following hunks. The
On Mon, Mar 17, 2008 at 11:45:37PM -0600, Alex Williamson wrote:
But sal_emulator() only allows sal_get/clear_state_info from dom0,
otherwise we return without dereferencing the buffer. So I think it's
safe to drop this for domU-only support. Thanks,
Yes, I missed that. Applied.
thanks,
Hi Eddie.
Thank you for the patches.
ia64_vector is for iosapic redirect vector which is 8bit width, isn't it?
So just unconditionally replacing u8 with u16 seems unreasonable.
How about the following?
#ifndef CONFIG_PARAVIRT
typedef u8 ia64_vector;
#else
typedef u16 ia64_vector;
#endif
On
, Dong, Eddie wrote:
Isaku Yamahata wrote:
Hi Eddie.
Thank you for your patch.
the change is already isolated as the commit of
d81f732b0d57371bfc220b1a1027ab18ea9a5265.
So what we need to do is just dropping the change set.
The same would apply to the gate page paravirtualization change
On Mon, Mar 17, 2008 at 11:39:45AM +0800, Dong, Eddie wrote:
Isaku/Alex:
There is a new file called kernel/inst_native.h to define those
pv MACROs for native. I would suggest we do following changes:
1: Move it to public head files such as include/asm-ia64 at
least since some
Hi Alex.
Thank you very much for those unexpected patches.
I'm very glad to see those and applied your other patches.
Yes, MCA is for dom0. however cat /proc/sal/*/data triggers
those code paths.
So presumably we have to replace some functions with nop operations
for domU. Or domU issues a sal
On Fri, Mar 14, 2008 at 03:39:15PM +0800, Dong, Eddie wrote:
Isaku:
Targeting the patchset or git tree
http://people.valinux.co.jp/~yamahata/xen-ia64/linux-2.6-xen-ia64.git/,
I got some questions:
Thank you for comments.
1:I saw some config options such as:
CONFIG_PARAVIRT
Hi Eddie.
Thank you for your patch.
the change is already isolated as the commit of
d81f732b0d57371bfc220b1a1027ab18ea9a5265.
So what we need to do is just dropping the change set.
The same would apply to the gate page paravirtualization change set.
I'll take care of it.
Do you have any other
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/xen/interface/xen.h | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 87ad143..9b018da 100644
--- a/include/xen/interface/xen.h
+++ b
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
include/xen/interface/xen.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 518a5bf..87ad143 100644
--- a/include/xen/interface/xen.h
+++ b
Hi. This patchset implements xen/ia64 domU support.
Qing He and Eddie Dong also has been woring on pv_ops so that
I want to discuss before going further and avoid duplicated work.
I suppose that Eddie will also post his own patch. So reviewing both
patches, we can reach to better pv_ops interface.
Signed-off-by: Isaku Yamahata [EMAIL PROTECTED]
---
drivers/xen/grant-table.c |2 +-
include/asm-x86/xen/interface.h | 24
include/xen/interface/grant_table.h | 11 ---
3 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/drivers
801 - 900 of 1853 matches
Mail list logo