Re: [PATCH RFC 6/6] arm64/xen: introduce CONFIG_XEN and hypercall.Son ARM64

From: Catalin Marinas
Date: Fri May 31 2013 - 07:03:14 EST


On Thu, May 30, 2013 at 05:18:33PM +0100, Stefano Stabellini wrote:
> Introduce CONFIG_XEN and the implementation of hypercall.S (that is
> the only ARMv8 specific code in Xen support for ARM).
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> ---
> arch/arm64/Kconfig | 11 +++++
> arch/arm64/Makefile | 1 +
> arch/arm64/xen/Makefile | 1 +
> arch/arm64/xen/hypercall.S | 105 ++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 118 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm64/xen/Makefile
> create mode 100644 arch/arm64/xen/hypercall.S
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 56b3f6d..f35751f 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -182,6 +182,17 @@ config HW_PERF_EVENTS
>
> source "mm/Kconfig"
>
> +config XEN_DOM0
> + def_bool y
> + depends on XEN
> +
> +config XEN
> + bool "Xen guest support on ARM64 (EXPERIMENTAL)"
> + depends on ARM64 && OF
> + depends on !GENERIC_ATOMIC64

I don't think we need this depends on !GENERIC_ATOMIC64, we don't enable
it on arm64.

--
Catalin
--
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/