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

[Xen-devel] [PATCH v2 1/6] xen/arm: add THUNDERX kconfig



Add a kconfig option for Cavium ThunderX platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
CC: mjaggi@xxxxxxxxxxxxxxxxxx
CC: Zi.Lim@xxxxxxxxxx
---
Changes in v2:
- remove HAS_SMMU
---
 xen/arch/arm/platforms/Kconfig  | 13 +++++++++++++
 xen/arch/arm/platforms/Makefile |  1 +
 2 files changed, 14 insertions(+)

diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index 409d3f8..b9c0b7f 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -36,6 +36,16 @@ config MPSOC
        ---help---
        Enable all the required drivers for Xilinx Ultrascale+ MPSoC
 
+config THUNDERX
+       bool "Cavium ThunderX"
+       depends on ARM_64
+       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
@@ -50,3 +60,6 @@ config MPSOC_PLATFORM
        bool
        default (ALL64_PLAT || MPSOC)
 
+config THUNDERX_PLATFORM
+       bool
+       default (ALL64_PLAT || THUNDERX)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index a79bdb9..f352a29 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -7,5 +7,6 @@ obj-$(CONFIG_ARM_32) += rcar2.o
 obj-$(CONFIG_ARM_64) += seattle.o
 obj-y += sunxi.o
 obj-$(CONFIG_ARM_64) += thunderx.o
+obj-$(CONFIG_THUNDERX_PLATFORM) += thunderx.o
 obj-$(CONFIG_ARM_64) += xgene-storm.o
 obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp.o
-- 
1.9.1


_______________________________________________
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®.