[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 02/10] xen/arm: add THUNDERX kconfig



Hello Stefano,


On 21.08.18 02:59, Stefano Stabellini wrote:
Add a kconfig option for Cavium ThunderX platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
CC: mjaggi@xxxxxxxxxxxxxxxxxx
CC: Zi.Lim@xxxxxxxxxx
---
  xen/arch/arm/platforms/Kconfig  | 14 ++++++++++++++
  xen/arch/arm/platforms/Makefile |  6 +++---
  2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index e229f8f..62b528b 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -44,6 +44,17 @@ config XGENE
        Enable all the required drivers for AppliedMicro X-Gene (Mustang
        and Storm)
+config THUNDERX
+       bool "Cavium ThunderX"
+       depends on ARM_64
+       select ARM_SMMU
I'm doubt ARM_SMMU should be here. E.g. because of [1]
+       select GICV3
+       select HAS_ITS
+       select HAS_PL011
+       select ACPI if EXPERT = "y"
+       ---help---
+       Enable all the required drivers for Cavium ThunderX
+
  endchoice
config ALL64_PLAT
@@ -62,3 +73,6 @@ config XGENE_PLATFORM
        bool
        default (ALL64_PLAT || XGENE)
+config THUNDERX_PLATFORM
+       bool
+       default (ALL64_PLAT || THUNDERX)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index 2de0c6a..bc35640 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -6,6 +6,6 @@ obj-$(CONFIG_ARM_32) += omap5.o
  obj-$(CONFIG_ARM_32) += rcar2.o
  obj-$(CONFIG_ARM_64) += seattle.o
  obj-y += sunxi.o
-obj-$(CONFIG_ARM_64) += thunderx.o
-obj-$(CONFIG_XGENE_PLATFORM)  += xgene-storm.o
-obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp.o
+obj-$(CONFIG_THUNDERX_PLATFORM) += thunderx.o
+obj-$(CONFIG_XGENE_PLATFORM)    += xgene-storm.o
+obj-$(CONFIG_MPSOC_PLATFORM)    += xilinx-zynqmp.o

[1] https://lists.xenproject.org/archives/html/xen-devel/2018-02/msg00537.html

--

*Andrii Anisov*



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.