diff mbox

[Xen-devel,v2,40/41] xen: arm64: Add ACPI support

Message ID 1431893048-5214-41-git-send-email-parth.dixit@linaro.org
State New
Headers show

Commit Message

Parth Dixit May 17, 2015, 8:04 p.m. UTC
From: Naresh Bhat <naresh.bhat@linaro.org>

Add ACPI support on arm64 xen hypervisor.

Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>
---
 config/arm64.mk              | 1 +
 xen/include/asm-arm/config.h | 5 +++++
 2 files changed, 6 insertions(+)

Comments

Parth Dixit July 5, 2015, 1:37 p.m. UTC | #1
+shannon

On 18 May 2015 at 01:34, Parth Dixit <parth.dixit@linaro.org> wrote:
> From: Naresh Bhat <naresh.bhat@linaro.org>
>
> Add ACPI support on arm64 xen hypervisor.
>
> Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>
> ---
>  config/arm64.mk              | 1 +
>  xen/include/asm-arm/config.h | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/config/arm64.mk b/config/arm64.mk
> index e24c1d1..bce9107 100644
> --- a/config/arm64.mk
> +++ b/config/arm64.mk
> @@ -10,6 +10,7 @@ HAS_PL011 := y
>  HAS_CADENCE_UART := y
>  HAS_NS16550 := y
>  HAS_MEM_ACCESS := y
> +HAS_ACPI := y
>
>  # Use only if calling $(LD) directly.
>  LDFLAGS_DIRECT += -EL
> diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
> index 3b23e05..0170925 100644
> --- a/xen/include/asm-arm/config.h
> +++ b/xen/include/asm-arm/config.h
> @@ -33,6 +33,11 @@
>
>  #define CONFIG_ARM_L1_CACHE_SHIFT 7 /* XXX */
>
> +#if defined(CONFIG_ARM_64)
> +#define CONFIG_ACPI 1
> +#define CONFIG_ACPI_BOOT 1
> +#endif
> +
>  #define CONFIG_SMP 1
>
>  #define CONFIG_VIDEO 1
> --
> 1.9.1
>
diff mbox

Patch

diff --git a/config/arm64.mk b/config/arm64.mk
index e24c1d1..bce9107 100644
--- a/config/arm64.mk
+++ b/config/arm64.mk
@@ -10,6 +10,7 @@  HAS_PL011 := y
 HAS_CADENCE_UART := y
 HAS_NS16550 := y
 HAS_MEM_ACCESS := y
+HAS_ACPI := y
 
 # Use only if calling $(LD) directly.
 LDFLAGS_DIRECT += -EL
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 3b23e05..0170925 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -33,6 +33,11 @@ 
 
 #define CONFIG_ARM_L1_CACHE_SHIFT 7 /* XXX */
 
+#if defined(CONFIG_ARM_64)
+#define CONFIG_ACPI 1
+#define CONFIG_ACPI_BOOT 1
+#endif
+
 #define CONFIG_SMP 1
 
 #define CONFIG_VIDEO 1