From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
qemu-arm@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: [Qemu-devel] [PATCH v2 3/5] hw/arm: Restrict pre-ARMv7 cpus to TCG
Date: Tue, 3 Sep 2019 13:47:27 +0200 [thread overview]
Message-ID: <20190903114729.3400-4-philmd@redhat.com> (raw)
In-Reply-To: <20190903114729.3400-1-philmd@redhat.com>
A KVM-only build won't be able to run pre-ARMv7 cpus, disable them.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
v2: - "depends on !KVM" -> "depends on TCG" (rth)
- do not modify default-configs/arm-softmmu.mak (thuth)
---
hw/arm/Kconfig | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 76a2a6bcbf..1c359a6f47 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -1,3 +1,15 @@
+config ARM_V4
+ depends on TCG
+ bool
+
+config ARM_V5
+ depends on TCG
+ bool
+
+config ARM_V6
+ depends on TCG
+ bool
+
config ARM_VIRT
bool
imply PCI_DEVICES
@@ -23,6 +35,7 @@ config ARM_VIRT
config CHEETAH
bool
+ select ARM_V4
select OMAP
select TSC210X
@@ -32,6 +45,7 @@ config CUBIEBOARD
config DIGIC
bool
+ select ARM_V5
select PTIMER
select PFLASH_CFI02
@@ -61,6 +75,7 @@ config HIGHBANK
config INTEGRATOR
bool
+ select ARM_V5
select ARM_TIMER
select INTEGRATOR_DEBUG
select PL011 # UART
@@ -86,6 +101,7 @@ config MUSCA
config MUSICPAL
bool
+ select ARM_V5
select BITBANG_I2C
select MARVELL_88W8618
select PTIMER
@@ -99,6 +115,7 @@ config NETDUINO2
config NSERIES
bool
+ select ARM_V6
select OMAP
select TMP105 # tempature sensor
select BLIZZARD # LCD/TV controller
@@ -121,6 +138,7 @@ config OMAP
config PXA2XX
bool
+ select ARM_V5
select FRAMEBUFFER
select I2C
select SERIAL
@@ -232,10 +250,12 @@ config COLLIE
config SX1
bool
+ select ARM_V4
select OMAP
config VERSATILE
bool
+ select ARM_V5
select ARM_TIMER # sp804
select PFLASH_CFI01
select LSI_SCSI_PCI
@@ -327,6 +347,7 @@ config XLNX_VERSAL
config FSL_IMX25
bool
+ select ARM_V5
select IMX
select IMX_FEC
select IMX_I2C
@@ -334,6 +355,7 @@ config FSL_IMX25
config FSL_IMX31
bool
+ select ARM_V6
select SERIAL
select IMX
select IMX_I2C
@@ -349,6 +371,7 @@ config FSL_IMX6
config ASPEED_SOC
bool
+ select ARM_V5
select DS1338
select FTGMAC100
select I2C
--
2.20.1
next prev parent reply other threads:[~2019-09-03 11:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 11:47 [Qemu-devel] [PATCH v2 0/5] Support disabling TCG on ARM (part 2) Philippe Mathieu-Daudé
2019-09-03 11:47 ` [Qemu-devel] [PATCH v2 1/5] Kconfig: Expose CONFIG_TCG to minikconf.py Philippe Mathieu-Daudé
2019-09-03 11:57 ` Thomas Huth
2019-09-03 11:47 ` [Qemu-devel] [PATCH v2 2/5] target/arm: Restrict pre-ARMv7 cpus to TCG Philippe Mathieu-Daudé
2019-09-03 12:10 ` Thomas Huth
2019-09-03 13:37 ` Philippe Mathieu-Daudé
2019-09-03 14:16 ` Thomas Huth
2019-09-03 11:47 ` Philippe Mathieu-Daudé [this message]
2019-09-03 22:54 ` [Qemu-devel] [PATCH v2 3/5] hw/arm: " Alistair Francis
2019-09-03 11:47 ` [Qemu-devel] [PATCH v2 4/5] target/arm: Restrict R and M profiles " Philippe Mathieu-Daudé
2019-09-03 11:47 ` [Qemu-devel] [PATCH v2 5/5] hw/arm: " Philippe Mathieu-Daudé
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=20190903114729.3400-4-philmd@redhat.com \
--to=philmd@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
/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).