[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH v2 3/5] hw/arm: Restrict pre-ARMv7 cp
From: |
Alistair Francis |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH v2 3/5] hw/arm: Restrict pre-ARMv7 cpus to TCG |
Date: |
Tue, 3 Sep 2019 15:54:54 -0700 |
On Tue, Sep 3, 2019 at 4:48 AM Philippe Mathieu-Daudé <address@hidden> wrote:
>
> A KVM-only build won't be able to run pre-ARMv7 cpus, disable them.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Alistair
> ---
> 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
>
>