qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] mips: do not list individual devices from configs/
@ 2024-02-07 11:14 Paolo Bonzini
  2024-02-07 11:14 ` [PATCH v2 1/8] usb: inline device creation functions Paolo Bonzini
                   ` (7 more replies)
  0 siblings, 8 replies; 28+ messages in thread
From: Paolo Bonzini @ 2024-02-07 11:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: shentey, philmd

Back when Kconfig was introduced, the individual dependencies for MIPS
boards were never added to hw/mips/Kconfig.  Do it now.

To simplify the task, include a couple cleanups to the SuperIO chip
configuration symbols, as well as a change that makes USB device
creation available even when building without default devices.

Tested by comparing old and new kconfigs; and also by building each of
the boards one by one, with default devices disabled, and checking that
the board can be started.

Paolo

Based-on: <20240129115809.1039924-1-pbonzini@redhat.com>

v1->v2:
- more cleanup to hw/isa
- include "mips: allow compiling out CONFIG_MIPS_ITU"
- split out patch 3, previously submitted by Bernard
- new patches 4-5 further cleaning up ISA_SUPERIO
- clean up new fdc37m81x-superio.c file
- do not select IDE_ISA for FDC37M81X

Bernhard Beschow (1):
  hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board

Paolo Bonzini (8):
  usb: inline device creation functions
  isa: clean up Kconfig selections for ISA_SUPERIO
  isa: fix ISA_SUPERIO dependencies
  isa: specify instance_size in isa_superio_type_info
  isa: extract FDC37M81X to a separate file
  mips: allow compiling out CONFIG_MIPS_ITU
  mips: do not list individual devices from configs/

 configs/devices/mips-softmmu/common.mak      | 26 ++---------------
 configs/devices/mips64el-softmmu/default.mak |  3 --
 include/hw/usb.h                             | 27 +++++++++++++++--
 hw/isa/fdc37m81x-superio.c                   | 32 ++++++++++++++++++++
 hw/isa/isa-superio.c                         | 18 -----------
 hw/isa/smc37c669-superio.c                   |  1 -
 hw/mips/loongson3_virt.c                     |  5 +--
 hw/mips/mips_itu-stub.c                      | 26 ++++++++++++++++
 hw/mips/mipssim.c                            |  1 -
 hw/usb/bus.c                                 | 23 --------------
 hw/display/Kconfig                           |  2 +-
 hw/isa/Kconfig                               | 20 ++++++------
 hw/isa/meson.build                           |  1 +
 hw/mips/Kconfig                              | 25 ++++++++++++---
 hw/mips/meson.build                          |  1 +
 15 files changed, 122 insertions(+), 89 deletions(-)
 create mode 100644 hw/isa/fdc37m81x-superio.c
 create mode 100644 hw/mips/mips_itu-stub.c

-- 
2.43.0



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

end of thread, other threads:[~2024-02-09 12:43 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07 11:14 [PATCH v2 0/8] mips: do not list individual devices from configs/ Paolo Bonzini
2024-02-07 11:14 ` [PATCH v2 1/8] usb: inline device creation functions Paolo Bonzini
2024-02-07 11:14 ` [PATCH v2 2/8] isa: clean up Kconfig selections for ISA_SUPERIO Paolo Bonzini
2024-02-07 11:14 ` [PATCH v2 3/8] hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board Paolo Bonzini
2024-02-07 18:58   ` Philippe Mathieu-Daudé
2024-02-08  8:11     ` Paolo Bonzini
2024-02-09 12:43       ` Philippe Mathieu-Daudé
2024-02-07 11:14 ` [PATCH v2 4/8] isa: fix ISA_SUPERIO dependencies Paolo Bonzini
2024-02-07 13:09   ` BALATON Zoltan
2024-02-07 19:01   ` Philippe Mathieu-Daudé
2024-02-08 16:18   ` Bernhard Beschow
2024-02-07 11:14 ` [PATCH v2 5/8] isa: specify instance_size in isa_superio_type_info Paolo Bonzini
2024-02-07 19:03   ` Philippe Mathieu-Daudé
2024-02-08 16:10     ` Bernhard Beschow
2024-02-07 11:14 ` [PATCH v2 6/8] isa: extract FDC37M81X to a separate file Paolo Bonzini
2024-02-07 13:13   ` BALATON Zoltan
2024-02-08 16:14   ` Bernhard Beschow
2024-02-07 11:14 ` [PATCH v2 7/8] mips: allow compiling out CONFIG_MIPS_ITU Paolo Bonzini
2024-02-07 13:15   ` BALATON Zoltan
2024-02-07 13:56     ` Paolo Bonzini
2024-02-07 19:12   ` Philippe Mathieu-Daudé
2024-02-08  8:26     ` Paolo Bonzini
2024-02-09  7:22       ` Philippe Mathieu-Daudé
2024-02-09  9:15         ` Philippe Mathieu-Daudé
2024-02-07 11:14 ` [PATCH v2 8/8] mips: do not list individual devices from configs/ Paolo Bonzini
2024-02-07 13:18   ` BALATON Zoltan
2024-02-07 13:55     ` Paolo Bonzini
2024-02-08 16:16       ` Bernhard Beschow

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