xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: xen-devel@lists.xenproject.org
Cc: Stefano Stabellini <stefanos@xilinx.com>,
	sstabellini@kernel.org, andrii_anisov@epam.com,
	mjaggi@caviumnetworks.com, julien.grall@linaro.org,
	Zi.Lim@cavium.com
Subject: [PATCH v2 1/6] xen/arm: add THUNDERX kconfig
Date: Thu, 23 Aug 2018 16:33:35 -0700	[thread overview]
Message-ID: <1535067220-16825-1-git-send-email-sstabellini@kernel.org> (raw)
In-Reply-To: <alpine.DEB.2.10.1808231631270.14449@sstabellini-ThinkPad-X260>

Add a kconfig option for Cavium ThunderX platforms.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
CC: mjaggi@caviumnetworks.com
CC: Zi.Lim@cavium.com
---
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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-08-23 23:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-23 23:33 [PATCH v2 00/10] arm: add one kconfig option per platform Stefano Stabellini
2018-08-23 23:33 ` Stefano Stabellini [this message]
2018-08-24  8:33   ` [PATCH v2 1/6] xen/arm: add THUNDERX kconfig Julien Grall
2018-08-23 23:33 ` [PATCH v2 2/6] xen/arm: add SUNXI kconfig Stefano Stabellini
2018-08-23 23:33 ` [PATCH v2 3/6] xen/arm: add RCAR2 kconfig Stefano Stabellini
2018-08-24  8:38   ` Julien Grall
2018-08-24 19:31     ` Stefano Stabellini
2018-08-28 14:45       ` Julien Grall
2018-08-30 19:06         ` Stefano Stabellini
2018-08-23 23:33 ` [PATCH v2 4/6] xen/arm: add OMAP5 kconfig Stefano Stabellini
2018-08-23 23:33 ` [PATCH v2 5/6] xen/arm: make platform specific code dependent on ALL32_PLAT or ALL64_PLAT Stefano Stabellini
2018-08-23 23:33 ` [PATCH v2 6/6] xen/arm: introduce NO_PLAT Stefano Stabellini
2018-08-24  8:35   ` Julien Grall
2018-08-24 19:33     ` Stefano Stabellini
2018-08-24  8:22 ` [PATCH v2 00/10] arm: add one kconfig option per platform Julien Grall
2018-08-24 19:38   ` Stefano Stabellini
2018-08-28 16:44     ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535067220-16825-1-git-send-email-sstabellini@kernel.org \
    --to=sstabellini@kernel.org \
    --cc=Zi.Lim@cavium.com \
    --cc=andrii_anisov@epam.com \
    --cc=julien.grall@linaro.org \
    --cc=mjaggi@caviumnetworks.com \
    --cc=stefanos@xilinx.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).