qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Serial device cleanup
@ 2024-08-14 18:15 Bernhard Beschow
  2024-08-14 18:15 ` [PATCH 1/5] hw: Remove unused inclusion of hw/char/serial.h Bernhard Beschow
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Bernhard Beschow @ 2024-08-14 18:15 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jiaxun Yang, Niek Linnenbank, Bin Meng, Paul Burton,
	Stafford Horne, qemu-ppc, Tyrone Ting, Joel Stanley,
	Eduardo Habkost, Sergio Lopez, Andrew Jeffery, Edgar E. Iglesias,
	Paolo Bonzini, Hao Wu, Alistair Francis, BALATON Zoltan,
	Jan Kiszka, Beniamino Galvani, Peter Maydell, Michael S. Tsirkin,
	Aurelien Jarno, Palmer Dabbelt, Alistair Francis,
	Artyom Tarasenko, Jia Liu, Helge Deller, Max Filippov,
	Subbaraya Sundeep, Weiwei Li, Marc-André Lureau,
	Nicholas Piggin, Mark Cave-Ayland, Daniel Henrique Barboza,
	Steven Lee, Philippe Mathieu-Daudé, Huacai Chen,
	Richard Henderson, Strahinja Jankovic, qemu-arm,
	Aleksandar Rikalo, Troy Lee, Jamin Lin, Liu Zhiwei,
	Frédéric Barrat, Cédric Le Goater,
	Hervé Poussineau, qemu-riscv, Marcel Apfelbaum, Song Gao,
	Bernhard Beschow

This series extracts TYPE_SERIAL_MM into its own module and introduces a
dedicated header for TYPE_SERIAL_ISA. The result is that no board directly
depends on CONFIG_SERIAL or includes hw/char/serial.h any more.

Bernhard Beschow (5):
  hw: Remove unused inclusion of hw/char/serial.h
  hw/char/serial: Remove unused funtion
  hw/ppc/Kconfig: Add missing SERIAL_ISA dependency to POWERNV machine
  hw/char/serial.h: Extract serial-isa.h
  hw/char: Extract serial-mm

 include/hw/arm/aspeed_soc.h         |   2 +-
 include/hw/char/mchp_pfsoc_mmuart.h |   2 +-
 include/hw/char/serial-isa.h        |  38 +++++++
 include/hw/char/serial-mm.h         |  52 +++++++++
 include/hw/char/serial.h            |  30 ------
 hw/arm/allwinner-a10.c              |   2 +-
 hw/arm/allwinner-h3.c               |   2 +-
 hw/arm/allwinner-r40.c              |   2 +-
 hw/arm/aspeed_ast2400.c             |   2 +-
 hw/arm/aspeed_soc_common.c          |   2 +-
 hw/arm/kzm.c                        |   2 +-
 hw/arm/msf2-soc.c                   |   2 +-
 hw/arm/musicpal.c                   |   2 +-
 hw/arm/npcm7xx.c                    |   2 +-
 hw/arm/pxa2xx.c                     |   2 +-
 hw/char/omap_uart.c                 |   2 +-
 hw/char/riscv_htif.c                |   1 -
 hw/char/serial-isa.c                |   1 +
 hw/char/serial-mm.c                 | 157 ++++++++++++++++++++++++++++
 hw/char/serial.c                    | 133 -----------------------
 hw/display/sm501.c                  |   2 +-
 hw/hppa/machine.c                   |   2 +-
 hw/i386/microvm-dt.c                |   2 +-
 hw/i386/microvm.c                   |   2 +-
 hw/i386/pc.c                        |   2 +-
 hw/isa/isa-superio.c                |   2 +-
 hw/isa/vt82c686.c                   |   2 +-
 hw/loongarch/virt.c                 |   2 +-
 hw/microblaze/petalogix_ml605_mmu.c |   2 +-
 hw/mips/boston.c                    |   2 +-
 hw/mips/jazz.c                      |   2 +-
 hw/mips/loongson3_virt.c            |   2 +-
 hw/mips/malta.c                     |   2 +-
 hw/mips/mipssim.c                   |   2 +-
 hw/openrisc/openrisc_sim.c          |   2 +-
 hw/openrisc/virt.c                  |   2 +-
 hw/ppc/e500.c                       |   2 +-
 hw/ppc/pnv.c                        |   2 +-
 hw/ppc/ppc405_uc.c                  |   2 +-
 hw/ppc/ppc440_bamboo.c              |   2 +-
 hw/ppc/prep.c                       |   1 -
 hw/ppc/sam460ex.c                   |   2 +-
 hw/ppc/virtex_ml507.c               |   2 +-
 hw/riscv/sifive_e.c                 |   1 -
 hw/riscv/sifive_u.c                 |   1 -
 hw/riscv/virt.c                     |   2 +-
 hw/sparc64/niagara.c                |   2 +-
 hw/sparc64/sun4u.c                  |   3 +-
 hw/xtensa/xtfpga.c                  |   2 +-
 hw/arm/Kconfig                      |  20 ++--
 hw/char/Kconfig                     |   4 +
 hw/char/meson.build                 |   1 +
 hw/display/Kconfig                  |   2 +-
 hw/hppa/Kconfig                     |   2 +-
 hw/loongarch/Kconfig                |   2 +-
 hw/microblaze/Kconfig               |   2 +-
 hw/mips/Kconfig                     |  10 +-
 hw/openrisc/Kconfig                 |   4 +-
 hw/ppc/Kconfig                      |  11 +-
 hw/riscv/Kconfig                    |   2 +-
 hw/sparc64/Kconfig                  |   1 +
 hw/xtensa/Kconfig                   |   2 +-
 62 files changed, 323 insertions(+), 234 deletions(-)
 create mode 100644 include/hw/char/serial-isa.h
 create mode 100644 include/hw/char/serial-mm.h
 create mode 100644 hw/char/serial-mm.c

-- 
2.46.0



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

end of thread, other threads:[~2024-08-21 14:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 18:15 [PATCH 0/5] Serial device cleanup Bernhard Beschow
2024-08-14 18:15 ` [PATCH 1/5] hw: Remove unused inclusion of hw/char/serial.h Bernhard Beschow
2024-08-21 14:39   ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 2/5] hw/char/serial: Remove unused funtion Bernhard Beschow
2024-08-14 21:38   ` BALATON Zoltan
2024-08-15  8:24     ` Mark Cave-Ayland
2024-08-15  9:26       ` Philippe Mathieu-Daudé
2024-08-15 18:00         ` Bernhard Beschow
2024-08-14 18:15 ` [PATCH 3/5] hw/ppc/Kconfig: Add missing SERIAL_ISA dependency to POWERNV machine Bernhard Beschow
2024-08-16  9:18   ` Philippe Mathieu-Daudé
2024-08-21 14:42   ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 4/5] hw/char/serial.h: Extract serial-isa.h Bernhard Beschow
2024-08-21 14:44   ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 5/5] hw/char: Extract serial-mm Bernhard Beschow
2024-08-15  0:35   ` Andrew Jeffery
2024-08-21 14:48   ` Mark Cave-Ayland

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