[PATCH RFC 0/6] Introduce Xen support to ARM64

From: Stefano Stabellini
Date: Thu May 30 2013 - 12:18:52 EST


Hi all,
this patch series introduces Xen support to arch/arm64.

As you can see from the following patches, there is very little arm64
specific code here, basically only one assembly file
(arch/arm64/xen/hypercall.S).

Everything else is common with Xen for ARMv7, in particular the code
under arch/arm/xen (enlighten.c and the stubs in grant-table.c) and all
the header files under arch/arm/include/asm/xen (events.h, hypercall.h,
hypervisor.h, interface.h, page.h) can be reused (almost) as-is.

Not knowning what is the best way forward I have just created symlinks
to the original files under arch/arm, see the first patch.

Please advice on what you think is the best way forward.



Stefano Stabellini (6):
[HACK!] arm64/xen: create links to arch/arm include files and Xen code
arm64/xen: arm header changes to compile on arm64
arm64/xen: use XEN_IO_PROTO_ABI_ARM on ARM64
arm64/xen: introduce asm/hypervisor.h and sys_bitops.h
arm64/xen: implement xen_remap on arm64
arm64/xen: introduce CONFIG_XEN and hypercall.S on ARM64

arch/arm/include/asm/xen/events.h | 4 +
arch/arm/include/asm/xen/page.h | 6 ++
arch/arm64/Kconfig | 11 ++++
arch/arm64/Makefile | 1 +
arch/arm64/include/asm/hypervisor.h | 6 ++
arch/arm64/include/asm/io.h | 1 +
arch/arm64/include/asm/sync_bitops.h | 26 ++++++++
arch/arm64/include/asm/xen | 1 +
arch/arm64/xen/Makefile | 1 +
arch/arm64/xen/enlighten.c | 1 +
arch/arm64/xen/grant-table.c | 1 +
arch/arm64/xen/hypercall.S | 105 ++++++++++++++++++++++++++++++++++
include/xen/interface/io/protocols.h | 2 +-
13 files changed, 165 insertions(+), 1 deletions(-)
create mode 100644 arch/arm64/include/asm/hypervisor.h
create mode 100644 arch/arm64/include/asm/sync_bitops.h
create mode 120000 arch/arm64/include/asm/xen
create mode 100644 arch/arm64/xen/Makefile
create mode 120000 arch/arm64/xen/enlighten.c
create mode 120000 arch/arm64/xen/grant-table.c
create mode 100644 arch/arm64/xen/hypercall.S

- Stefano
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/