ia64/xen domU take 4
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | ia64/xen: introduce synch bitops which is necessary for ia64/xen support.include/ | +59 | 4 replies | |
| 1/23 | ia64/xen: introduce synch bitops which is necessary for ia64/xen support.include/ | +59 | 0 replies | |
| 1/23 | ia64/xen: introduce synch bitops which is necessary for ia64/xen support.include/ | +57 | 0 replies | |
| 1/23 | ia64/xen: introduce synch bitops which is necessary for ia64/xen support.include/ | +57 | 0 replies | |
| 2/23 | ia64/xen: increase IA64_MAX_RSVD_REGIONS.include/ | +2 | 0 replies | |
| 3/23 | ia64/xen: introduce definitions necessary for ia64/xen hypercalls.include/ | +320 | 0 replies | |
| 4/23 | ia64/xen: define several constants for ia64/xen.arch/ | +27 | 0 replies | |
| 5/23 | ia64/xen: define helper functions for xen related address conversion.include/ | +65 | 0 replies | |
| 6/23 | ia64/xen: define helper functions for xen hypercalls.arch/ arch/ include/ +1 more | +488 | 0 replies | |
| 7/23 | ia64/xen: implement the arch specific part of xencomm.arch/ arch/ include/ | +129 | 0 replies | |
| 8/23 | ia64/xen: xencomm conversion functions for hypercallsarch/ arch/ include/ | +476 | 0 replies | |
| 9/23 | ia64/xen: implement arch specific part of xen grant table.arch/ arch/ include/ | +185 | 0 replies | |
| 10/23 | ia64/xen: add definitions necessary for xen event channel.include/ | +50 | 0 replies | |
| 11/23 | ia64/xen: detect xen environment and do minimal initialization.arch/ arch/ arch/ +1 more | +122 | 0 replies | |
| 12/23 | ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.arch/ arch/ arch/ +1 more | +277 | 0 replies | |
| 13/23 | ia64/pv_ops/xen: define xen pv_cpu_ops.arch/ | +114 | 0 replies | |
| 14/23 | ia64/pv_ops/xen: define xen paravirtualized instructions for hand written assembly codeinclude/ | +493 | 0 replies | |
| 15/23 | ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.include/ include/ | +133 | 0 replies | |
| 16/23 | ia64/pv_ops/xen: paravirtualize ivt.S for xen.arch/ arch/ include/ | +73 | 0 replies | |
| 17/23 | ia64/pv_ops/xen: paravirtualize entry.S for ia64/xen.arch/ arch/ include/ | +27 | 0 replies | |
| 18/23 | ia64/pv_ops/xen: implement xen pv_iosapic_ops.arch/ | +52 | 0 replies | |
| 19/23 | ia64/pv_ops/xen: define the nubmer of irqs which xen needs.include/ | +44 | 0 replies | |
| 20/23 | ia64/pv_ops/xen: implement xen pv_irq_ops.arch/ arch/ arch/ +1 more | +460 | 0 replies | |
| 21/23 | ia64/pv_ops/xen: implement xen pv_time_ops.arch/ arch/ arch/ +1 more | +191 | 0 replies | |
| 22/23 | ia64/xen: define xen machine vector for domU.arch/ arch/ arch/ +3 more | +37 | 0 replies | |
| 23/23 | ia64/pv_ops: update Kconfig for paravirtualized guest and xen.arch/ arch/ | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/23] ia64/xen domU take 4
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 related to hypercall which is the way to communicate with Xen hypervisor.
- Add some helper functions which is necessary to utilize xen arch generic portion.
- Next implements the xen instance of pv_ops introducing pv_info, pv_init_ops, pv_cpu_ops and its assembler counter part, pv_iosapic_ops, pv_irq_ops and, pv_time_ops step by step.
- Introduce xen machine vector to describe xen platform. By using machine vector, xen domU implementation can be simplified.
- Lastly update Kconfig to allow paravirtualization support and xen domU support to compile.
The working full source is available from
http://people.valinux.co.jp/~yamahata/xen-ia64/linux-2.6-xen-ia64.git/
branch: xen-ia64-2008apr08
At this phase, we don't address the following issues. Those will be addressed after the first merge.
- optimization by binary patch
In fact, we had the patch to do that, but we intentionally dropped for patch size/readability/cleanness.
- freeing the unused pages, i.e. pages for unused ivt.S.
Changes from take 3:
- split the patch set into pv_op part and xen domU part.
- many clean ups.
- introduced pv_ops: pv_cpu_ops and pv_time_ops.
Changes from take 2:
- many clean ups following to comments.
- clean up:assembly instruction macro.
- introduced pv_ops: pv_info, pv_init_ops, pv_iosapic_ops, pv_irq_ops.
Changes from take 1:
Single IVT source code. compile multitimes using assembler macros.
thanks,
Diffstat:
arch/ia64/Kconfig | 31 +++ arch/ia64/Makefile | 2 + arch/ia64/kernel/acpi.c | 5 + arch/ia64/kernel/asm-offsets.c | 27 ++ arch/ia64/kernel/head.S | 6 + arch/ia64/xen/Kconfig | 21 ++ arch/ia64/xen/Makefile | 22 ++ arch/ia64/xen/grant-table.c | 155 +++++++++++ arch/ia64/xen/hypercall.S | 91 +++++++ arch/ia64/xen/hypervisor.c | 96 +++++++ arch/ia64/xen/irq_xen.c | 422 ++++++++++++++++++++++++++++++ arch/ia64/xen/irq_xen.h | 34 +++ arch/ia64/xen/machvec.c | 4 + arch/ia64/xen/time.c | 165 ++++++++++++ arch/ia64/xen/time.h | 23 ++ arch/ia64/xen/xcom_hcall.c | 424 ++++++++++++++++++++++++++++++ arch/ia64/xen/xen_pv_ops.c | 362 ++++++++++++++++++++++++++ arch/ia64/xen/xencomm.c | 95 +++++++ arch/ia64/xen/xenivt.S | 57 ++++ arch/ia64/xen/xensetup.S | 49 ++++ include/asm-ia64/machvec.h | 2 + include/asm-ia64/machvec_xen.h | 22 ++ include/asm-ia64/meminit.h | 3 +- include/asm-ia64/sync_bitops.h | 59 +++++ include/asm-ia64/xen/events.h | 50 ++++ include/asm-ia64/xen/grant_table.h | 29 ++ include/asm-ia64/xen/hypercall.h | 263 +++++++++++++++++++ include/asm-ia64/xen/hypervisor.h | 72 +++++ include/asm-ia64/xen/inst.h | 504 ++++++++++++++++++++++++++++++++++++ include/asm-ia64/xen/interface.h | 320 +++++++++++++++++++++++ include/asm-ia64/xen/irq.h | 44 +++ include/asm-ia64/xen/minstate.h | 131 ++++++++++ include/asm-ia64/xen/page.h | 65 +++++ include/asm-ia64/xen/privop.h | 129 +++++++++ include/asm-ia64/xen/xcom_hcall.h | 51 ++++ include/asm-ia64/xen/xencomm.h | 33 +++ 36 files changed, 3867 insertions(+), 1 deletions(-)