paravirtualize entry.S for ia64/xen by multi compile.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/xen_pv_ops.c | 18 ++
include/asm-ia64/xen/inst.h |8
3 files changed, 27 insertions(+), 1 del
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 f
truct ia64_boot_param)
or multi entry points depending on hypervisor would be necessary.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/head.S|6
arch/ia64/xen/Makefile |3 +-
arch/ia64/xen/xen_pv_ops.c | 65
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]>
---
define include/asm-ia64/xen/irq.h to define the number of
irqs which xen needs.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/irq.h | 44
1 files changed, 44 insertions(+), 0 deletions(-)
create mode 100644 inclu
Xen paravirtualizes interrupt as event channel.
This patch defines arch specific part of xen event channel.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/events.h | 50 +
1 files changed, 50 insertions(+), 0 del
.
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
off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile|2 +-
arch/ia64/xen/xcom_hcall.c| 424 +
include/asm-ia64/xen/xcom_hcall.h | 51 +
3 files chang
introduce helper functions for xen hypercalls which
traps to hypervisor.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |5 +
arch/ia64/xen/hypercall.S| 91 +
incl
Xen 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.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/
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
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
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 rela
Xenlinux/ia64 needs to reserve one more region passed from xen hypervisor
as start info.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/meminit.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/asm-ia64/meminit.h b/include/as
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
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
paravirtualize ivt.S which implements fault handler in hand written
assembly code.
They includes sensitive or performance critical privileged instructions.
So they need paravirtualization.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL
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
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
define pv_init_ops hooks which represents various initialization
hooks for paravirtualized environment. and add hooks.
Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/paravirt.c |7
arch/ia64/ke
Introduce pv_time_ops which adds hook to steal time accounting.
On virtualized environment, cpus are shared by many guests and
steal time is the time which is used for other guests.
On virtualized environtment, streal time should be accounted.
Signed-off-by: Isaku Yamahata <[EMAIL PROTEC
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/as
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
related operations.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/irq_ia64.c | 18 +++
arch/ia64/kernel/paravirt.c | 15 +
include/asm-ia64/hw_irq.h | 23 +---
incl
introduce pv_cpu_ops to paravirtualize privleged instructions
which are defined by ia64 intrinsics.
make them indirect C function calls by introducing function
tables, pv_cpu_ops.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]&g
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
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
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 wh
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
__local_irq_save() and local_save_flags() are used to mask interruptions.
They read all psr bits that requres whole bit emulation.
On the other hand, reading only psr.i, the single bit, can be virtualized
cheaply.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/as
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 +--
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 to
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 a/arch/ia64/ker
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.
> >>con
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 functi
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 b
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 gcc_int
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
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" :
On Wed, Apr 02, 2008 at 05:36:35PM +0800, Dong, Eddie wrote:
> The question is we actually don't have xen_itci in the whole
> patch, should
> we remove the indirect reference of "new
> ia64_itci-->ia64_native_itci->old_ia64_itci".
> It is just identical and the change is redunadnt at le
Hi Eddie.
I commited some clean ups based on your patch.
Could you please review it?
On Wed, Apr 02, 2008 at 05:10:13PM +0800, Dong, Eddie wrote:
> Isaku Yamahata wrote:
> > On Wed, Apr 02, 2008 at 01:51:28PM +0800, Dong, Eddie wrote:
> >> Current definition of intrinsic AP
t.c b/arch/ia64/kernel/paravirt.c
> index 4b01c44..6ce4f60 100644
> --- a/arch/ia64/kernel/paravirt.c
> +++ b/arch/ia64/kernel/paravirt.c
> @@ -3,6 +3,7 @@
> *
> * Copyright (c) 2008 Isaku Yamahata
> *VA Linux Systems Japan K.K.
> + * Yaozu (Eddie) D
.
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
> --- a/include/asm-ia64/xen/hypervisor.h
> +++ b/include/asm-ia64/xen/hypervisor.h
> @@ -56,6 +56,11 @@ extern const int running_on_xen;
> extern struct shared_info *HYPERVISOR_shared_info;
> extern struct start_info *xen_start_info;
>
> +extern char xen_switch_to;
> +extern char xen_leave_sys
No patch. But I fixed it myself.
thanks,
On Mon, Mar 31, 2008 at 11:41:24PM +0900, Akio Takebe wrote:
> Hi,
>
> This patch is for cleanup of arch/ia64/xen/irq_xen.c
>
> The below is OK/NG list of checkpatch.pl under arch/ia64/xen.
>
> [NG]
> arch/ia64/xen/machvec.c
> arch/ia64/xen/paravirt_xen
17 00:00:00 2001
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(
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 in
On Fri, Mar 28, 2008 at 01:29:54PM -0700, Jeremy Fitzhardinge wrote:
> Isaku Yamahata wrote:
> >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
On Fri, Mar 28, 2008 at 01:27:58PM -0700, Jeremy Fitzhardinge wrote:
> Isaku Yamahata wrote:
> >+/* macro to avoid header inclusion dependncy hell */
> >+#define xen_irqs_disabled(regs) (!((regs)->flags & X86_EFLAGS_IF))
> >
>
> This seems pretty gener
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 nam
on 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 c
don't 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 Y
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}/x
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: Isak
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 Yam
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]>
---
dri
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
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
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/int
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/inte
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 P
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/int
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 fir
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
other than the multi 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:
&
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 xen_pa
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.
/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 -
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.)
Doe
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
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. Th
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 XEN_BS
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 26
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.
git://gitorious.org/linux-2-6-xen-ia64-pv-op
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 Tue,
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 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 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 so
+0800, 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.
>
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 chan
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
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/hypercall.S | 124 ++
include/asm-ia64/xen/privop.h | 512 +
2 files changed, 636 insertions(+), 0 deletions(-)
create mode 100644 arch/ia64/xen/hypercall.S
diff -
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/ivt.S | 153 ---
1 files changed, 78 insertions(+), 75 deletions(-)
diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S
index 34f44d8..d1cebe5 100644
--- a/arc
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +
arch/ia64/xen/xen_pv_ops.c | 69
arch/ia64/xen/xensetup.S | 10 ++
3 files changed, 81 insertions(+), 0 deletions(-)
create mode 100644 arch/ia
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/Makefile | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index 7849bc3..a80dd3f 100644
--- a/arch/ia64/kernel/Makefile
+++
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/xenminstate.h | 137 +++
1 files changed, 137 insertions(+), 0 deletions(-)
create mode 100644 arch/ia64/xen/xenminstate.h
diff --git a/arch/ia64/xen/xenminstate.h b/arch/ia
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/asm-offsets.c | 25 ++
include/asm-ia64/xen/privop.h | 73
2 files changed, 98 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/xen/privop.h
With binary patching, make intrinsics paravirtualization hypervisor neutral.
So far xen intrinsics doesn't allow another hypervisor.
Binary patch marked privileged operations which needs paravirtualization
if running on xen at early boot time.
Signed-off-by: Isaku Yamahata <[EMAIL P
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/irq_ia64.c | 21 ++
arch/ia64/kernel/paravirt.c | 22 +++
include/asm-ia64/hw_irq.h | 20 ++---
include/asm-ia64/paravirt.h | 63 +++
4
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/interface.h | 585 ++
1 files changed, 585 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/xen/interface.h
diff --git a/include/asm-ia64/xen/interface.h b/i
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/Makefile |2 +
arch/ia64/kernel/paravirt.c | 34
include/asm-ia64/paravirt.h | 61 +++
3 files changed, 97 insertions(+), 0 deletions(-)
creat
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/page.h |8
include/asm-ia64/xen/page.h | 41 +
2 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/xen/page.h
diff --git a/i
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/xen_pv_ops.c | 194
1 files changed, 194 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/xen/xen_pv_ops.c b/arch/ia64/xen/xen_pv_ops.c
index 18aa2f6..a2a7493 100644
---
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/hypercall.S | 10 +
arch/ia64/xen/irq_xen.c| 435
arch/ia64/xen/irq_xen.h|8 +
arch/ia64/xen/xen_pv_ops.c |3 +
inclu
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/hypercall.S|7 +
include/asm-ia64/xen/hypercall.h | 426 ++
2 files changed, 433 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/xen/hypercall.h
diff -
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/util.c | 101 ++
1 files changed, 101 insertions(+), 0 deletions(-)
create mode 100644 arch/ia64/xen/util.c
diff --git a/arch/ia64/xen/util.c b/arch/ia64/xen/util.c
new fil
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/hypervisor.c| 235 +
include/asm-ia64/xen/hypervisor.h | 194 ++
2 files changed, 429 insertions(+), 0 deletions(-)
create mode 100644 arch/ia
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/inst_xen.h | 503 ++
1 files changed, 503 insertions(+), 0 deletions(-)
create mode 100644 arch/ia64/xen/inst_xen.h
diff --git a/arch/ia64/xen/inst_xen.h b/arch/ia64/xen/inst
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/switch_leave.S | 80 +-
1 files changed, 44 insertions(+), 36 deletions(-)
diff --git a/arch/ia64/kernel/switch_leave.S b/arch/ia64/kernel/switch_leave.S
index 9918160..d6d0f08
import ia64 specific part of xencomm which converts hypercall argument in
virtual address into pseudo physical address (guest physical address).
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/xcom_asm.S | 27 +++
arch/ia64/xen/xcom_hcall.c
901 - 1000 of 2205 matches
Mail list logo