[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 16/22] riscv: switch boards to "default y"
From: |
Alistair Francis |
Subject: |
Re: [PATCH 16/22] riscv: switch boards to "default y" |
Date: |
Wed, 24 Apr 2024 10:05:44 +1000 |
On Tue, Apr 23, 2024 at 11:20 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> Some targets use "default y" for boards to filter out those that require
> TCG. For consistency we are switching all other targets to do the same.
> Continue with RISC-V.
>
> No changes to generated config-devices.mak file.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> configs/devices/riscv32-softmmu/default.mak | 13 ++++++-------
> configs/devices/riscv64-softmmu/default.mak | 15 +++++++--------
> hw/riscv/Kconfig | 14 ++++++++++++++
> 3 files changed, 27 insertions(+), 15 deletions(-)
>
> diff --git a/configs/devices/riscv32-softmmu/default.mak
> b/configs/devices/riscv32-softmmu/default.mak
> index 07e4fd26df3..c2cd86ce05f 100644
> --- a/configs/devices/riscv32-softmmu/default.mak
> +++ b/configs/devices/riscv32-softmmu/default.mak
> @@ -4,10 +4,9 @@
> # CONFIG_PCI_DEVICES=n
> # CONFIG_TEST_DEVICES=n
>
> -# Boards:
> -#
> -CONFIG_SPIKE=y
> -CONFIG_SIFIVE_E=y
> -CONFIG_SIFIVE_U=y
> -CONFIG_RISCV_VIRT=y
> -CONFIG_OPENTITAN=y
> +# Boards are selected by default, uncomment to keep out of the build.
> +# CONFIG_SPIKE=n
> +# CONFIG_SIFIVE_E=n
> +# CONFIG_SIFIVE_U=n
> +# CONFIG_RISCV_VIRT=n
> +# CONFIG_OPENTITAN=n
> diff --git a/configs/devices/riscv64-softmmu/default.mak
> b/configs/devices/riscv64-softmmu/default.mak
> index 221963d4c5c..39ed3a0061a 100644
> --- a/configs/devices/riscv64-softmmu/default.mak
> +++ b/configs/devices/riscv64-softmmu/default.mak
> @@ -4,11 +4,10 @@
> # CONFIG_PCI_DEVICES=n
> # CONFIG_TEST_DEVICES=n
>
> -# Boards:
> -#
> -CONFIG_SPIKE=y
> -CONFIG_SIFIVE_E=y
> -CONFIG_SIFIVE_U=y
> -CONFIG_RISCV_VIRT=y
> -CONFIG_MICROCHIP_PFSOC=y
> -CONFIG_SHAKTI_C=y
> +# Boards are selected by default, uncomment to keep out of the build.
> +# CONFIG_SPIKE=n
> +# CONFIG_SIFIVE_E=n
> +# CONFIG_SIFIVE_U=n
> +# CONFIG_RISCV_VIRT=n
> +# CONFIG_MICROCHIP_PFSOC=n
> +# CONFIG_SHAKTI_C=n
> diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
> index 5d644eb7b16..b2955a8ae77 100644
> --- a/hw/riscv/Kconfig
> +++ b/hw/riscv/Kconfig
> @@ -8,6 +8,8 @@ config IBEX
>
> config MICROCHIP_PFSOC
> bool
> + default y
> + depends on RISCV64
> select CADENCE_SDHCI
> select MCHP_PFSOC_DMC
> select MCHP_PFSOC_IOSCB
> @@ -20,12 +22,16 @@ config MICROCHIP_PFSOC
>
> config OPENTITAN
> bool
> + default y
> + depends on RISCV32
> select IBEX
> select SIFIVE_PLIC
> select UNIMP
>
> config RISCV_VIRT
> bool
> + default y
> + depends on RISCV32 || RISCV64
> imply PCI_DEVICES
> imply VIRTIO_VGA
> imply TEST_DEVICES
> @@ -50,6 +56,8 @@ config RISCV_VIRT
>
> config SHAKTI_C
> bool
> + default y
> + depends on RISCV64
> select RISCV_ACLINT
> select SHAKTI_UART
> select SIFIVE_PLIC
> @@ -57,6 +65,8 @@ config SHAKTI_C
>
> config SIFIVE_E
> bool
> + default y
> + depends on RISCV32 || RISCV64
> select RISCV_ACLINT
> select SIFIVE_GPIO
> select SIFIVE_PLIC
> @@ -67,6 +77,8 @@ config SIFIVE_E
>
> config SIFIVE_U
> bool
> + default y
> + depends on RISCV32 || RISCV64
> select CADENCE
> select RISCV_ACLINT
> select SIFIVE_GPIO
> @@ -83,6 +95,8 @@ config SIFIVE_U
>
> config SPIKE
> bool
> + default y
> + depends on RISCV32 || RISCV64
> select RISCV_NUMA
> select HTIF
> select RISCV_ACLINT
> --
> 2.44.0
>
>
- Re: [PATCH 11/22] meson: make target endianneess available to Kconfig, (continued)
- [PATCH 12/22] mips: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 13/22] nios2: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 14/22] openrisc: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 15/22] ppc: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 17/22] rx: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 16/22] riscv: switch boards to "default y", Paolo Bonzini, 2024/04/23
- Re: [PATCH 16/22] riscv: switch boards to "default y",
Alistair Francis <=
- [PATCH 18/22] s390x: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 19/22] sh4: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 20/22] sparc: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 22/22] xtensa: switch boards to "default y", Paolo Bonzini, 2024/04/23
- [PATCH 21/22] tricore: switch boards to "default y", Paolo Bonzini, 2024/04/23
- Re: [PATCH 00/22] configs: switch boards to "default y", Fabiano Rosas, 2024/04/23