qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] target: Provide target-specific Kconfig
@ 2021-01-31 11:13 Philippe Mathieu-Daudé
  2021-01-31 11:13 ` [PATCH 01/10] hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS Philippe Mathieu-Daudé
                   ` (10 more replies)
  0 siblings, 11 replies; 27+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-31 11:13 UTC (permalink / raw)
  To: qemu-devel, Paolo Bonzini, Alex Bennée
  Cc: Sarah Harris, Max Filippov, qemu-block, Michael S. Tsirkin,
	Eduardo Habkost, Laurent Vivier, Yoshinori Sato, qemu-s390x,
	Richard Henderson, Philippe Mathieu-Daudé, Anthony Green,
	Kevin Wolf, Max Reitz, Chris Wulff, Guan Xuetao, qemu-riscv,
	David Hildenbrand, qemu-arm, Marcel Apfelbaum, Mark Cave-Ayland,
	Michael Walle, Greg Kurz, qemu-ppc, Peter Maydell, Stafford Horne,
	Cornelia Huck, Marek Vasut, Aleksandar Rikalo, Sagar Karandikar,
	Bastian Koppelmann, Jiaxun Yang, Edgar E. Iglesias, Thomas Huth,
	Artyom Tarasenko, Marc-André Lureau, Palmer Dabbelt,
	Michael Rolnik, Aurelien Jarno, Alistair Francis, David Gibson

Hi,

This series add a Kconfig file to each target, allowing
to select target-specific features there, instead of from
the hardware Kconfig.

This simplifies managing multi-arch features such semihosting.

Series organization:

1/ Some targets use the architecture symbol to select boards and
peripherals (SH4 and LM32), we need to clean that first.

2/ Introduce empty target Kconfig, update meson.

3/ Move architectural features out of hardware:
   - x86 SEV
   - ARM v7m
   - generic semihosting

[following only important to patchew, unrelated to this series]
Based-on: <20210131105918.228787-1-f4bug@amsat.org>

Philippe Mathieu-Daudé (10):
  hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS
  hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards
  hw/sh4/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_PERIPHERALS
  hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS
  meson: Introduce target-specific Kconfig
  target/i386: Move SEV feature to target Kconfig
  target/arm: Move V7M feature to target Kconfig
  default-configs: Remove unnecessary SEMIHOSTING selection
  target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig
  target: Move SEMIHOSTING feature to target Kconfig

 default-configs/devices/arm-softmmu.mak       |  2 --
 default-configs/devices/lm32-softmmu.mak      |  4 +---
 default-configs/devices/m68k-softmmu.mak      |  2 --
 .../devices/mips-softmmu-common.mak           |  3 ---
 default-configs/devices/nios2-softmmu.mak     |  2 --
 default-configs/devices/riscv32-softmmu.mak   |  2 --
 default-configs/devices/riscv64-softmmu.mak   |  2 --
 default-configs/devices/unicore32-softmmu.mak |  1 -
 default-configs/devices/xtensa-softmmu.mak    |  2 --
 meson.build                                   |  3 ++-
 Kconfig                                       |  1 +
 hw/arm/Kconfig                                |  4 ----
 hw/block/meson.build                          |  2 +-
 hw/char/meson.build                           |  6 ++---
 hw/i386/Kconfig                               |  4 ----
 hw/intc/meson.build                           |  4 ++--
 hw/lm32/Kconfig                               | 10 +++++---
 hw/lm32/meson.build                           |  2 +-
 hw/sh4/Kconfig                                |  6 ++---
 hw/timer/meson.build                          |  4 ++--
 target/Kconfig                                | 23 +++++++++++++++++++
 target/alpha/Kconfig                          |  2 ++
 target/arm/Kconfig                            | 11 +++++++++
 target/avr/Kconfig                            |  2 ++
 target/cris/Kconfig                           |  2 ++
 target/hppa/Kconfig                           |  2 ++
 target/i386/Kconfig                           |  9 ++++++++
 target/lm32/Kconfig                           |  3 +++
 target/m68k/Kconfig                           |  3 +++
 target/microblaze/Kconfig                     |  2 ++
 target/mips/Kconfig                           |  7 ++++++
 target/moxie/Kconfig                          |  2 ++
 target/nios2/Kconfig                          |  3 +++
 target/openrisc/Kconfig                       |  2 ++
 target/ppc/Kconfig                            |  5 ++++
 target/riscv/Kconfig                          |  7 ++++++
 target/rx/Kconfig                             |  2 ++
 target/s390x/Kconfig                          |  2 ++
 target/sh4/Kconfig                            |  2 ++
 target/sparc/Kconfig                          |  5 ++++
 target/tilegx/Kconfig                         |  2 ++
 target/tricore/Kconfig                        |  2 ++
 target/unicore32/Kconfig                      |  3 +++
 target/xtensa/Kconfig                         |  3 +++
 44 files changed, 129 insertions(+), 43 deletions(-)
 create mode 100644 target/Kconfig
 create mode 100644 target/alpha/Kconfig
 create mode 100644 target/arm/Kconfig
 create mode 100644 target/avr/Kconfig
 create mode 100644 target/cris/Kconfig
 create mode 100644 target/hppa/Kconfig
 create mode 100644 target/i386/Kconfig
 create mode 100644 target/lm32/Kconfig
 create mode 100644 target/m68k/Kconfig
 create mode 100644 target/microblaze/Kconfig
 create mode 100644 target/mips/Kconfig
 create mode 100644 target/moxie/Kconfig
 create mode 100644 target/nios2/Kconfig
 create mode 100644 target/openrisc/Kconfig
 create mode 100644 target/ppc/Kconfig
 create mode 100644 target/riscv/Kconfig
 create mode 100644 target/rx/Kconfig
 create mode 100644 target/s390x/Kconfig
 create mode 100644 target/sh4/Kconfig
 create mode 100644 target/sparc/Kconfig
 create mode 100644 target/tilegx/Kconfig
 create mode 100644 target/tricore/Kconfig
 create mode 100644 target/unicore32/Kconfig
 create mode 100644 target/xtensa/Kconfig

-- 
2.26.2


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2021-03-10 13:30 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-31 11:13 [PATCH 00/10] target: Provide target-specific Kconfig Philippe Mathieu-Daudé
2021-01-31 11:13 ` [PATCH 01/10] hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS Philippe Mathieu-Daudé
2021-02-01 10:24   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 02/10] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards Philippe Mathieu-Daudé
2021-02-01 10:28   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 03/10] hw/sh4/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_PERIPHERALS Philippe Mathieu-Daudé
2021-02-01 10:29   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS Philippe Mathieu-Daudé
2021-02-01 11:11   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 05/10] meson: Introduce target-specific Kconfig Philippe Mathieu-Daudé
2021-01-31 11:40   ` Artyom Tarasenko
2021-01-31 12:36   ` Philippe Mathieu-Daudé
2021-01-31 15:34     ` Philippe Mathieu-Daudé
2021-02-01 11:23   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 06/10] target/i386: Move SEV feature to target Kconfig Philippe Mathieu-Daudé
2021-02-01 11:20   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 07/10] target/arm: Move V7M " Philippe Mathieu-Daudé
2021-02-01 11:25   ` Alex Bennée
2021-01-31 11:13 ` [PATCH 08/10] default-configs: Remove unnecessary SEMIHOSTING selection Philippe Mathieu-Daudé
2021-02-01 11:53   ` Alex Bennée
2021-02-01 19:58   ` Alistair Francis
2021-01-31 11:13 ` [PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig Philippe Mathieu-Daudé
2021-02-01 11:54   ` Alex Bennée
2021-02-01 19:59   ` Alistair Francis
2021-01-31 11:13 ` [PATCH 10/10] target: Move SEMIHOSTING " Philippe Mathieu-Daudé
2021-02-01 11:56   ` Alex Bennée
2021-03-10 13:30 ` [PATCH 00/10] target: Provide target-specific Kconfig Claudio Fontana

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).